Steps

This is the Steps class, a macro class for the basketViewHelper.

The purpose of this class is to encapsulate the logic that calculates the view parameters for the basket's steps.

Tags
see
Steps::getViewParameters()

Table of Contents

STEP_BASKET  = 'basket'
STEP_CONFIRM_ORDER  = 'confirmOrder'
STEP_CUSTOMER  = 'customer'
STEP_PAYMENT_AND_ASHIPPING  = 'paymentAndShipping'
$routeType  : string
$showNumbers  : bool
$steps  : array<string|int, mixed>
__construct() Constructor method for Property class.  : mixed
getViewParameters() This method returns all calculated arguments and new parameters for ProductViewHelper.php  : array<string|int, mixed>
getProperties() Return macro use properties  : array<string|int, mixed>

Constants

STEP_BASKET

public mixed STEP_BASKET = 'basket'

STEP_CONFIRM_ORDER

public mixed STEP_CONFIRM_ORDER = 'confirmOrder'

STEP_CUSTOMER

public mixed STEP_CUSTOMER = 'customer'

STEP_PAYMENT_AND_ASHIPPING

public mixed STEP_PAYMENT_AND_ASHIPPING = 'paymentAndShipping'

Properties

$routeType

public string $routeType = ''

$showNumbers

public bool $showNumbers = false

$steps

public array<string|int, mixed> $steps = [self::STEP_BASKET, self::STEP_CUSTOMER, self::STEP_PAYMENT_AND_ASHIPPING, self::STEP_CONFIRM_ORDER]

Methods

__construct()

Constructor method for Property class.

public __construct(array<string|int, mixed> $arguments, Language $languageSheet) : mixed
Parameters
$arguments : array<string|int, mixed>
$languageSheet : Language
Tags
see
Steps
Return values
mixed

getViewParameters()

This method returns all calculated arguments and new parameters for ProductViewHelper.php

public getViewParameters() : array<string|int, mixed>
Return values
array<string|int, mixed>

getProperties()

Return macro use properties

protected getProperties() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results