PHP Класс SteppedCheckout, silvershop-core

Наследование: extends Extension
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$owner CheckoutPage_Controller

Открытые методы

Метод Описание
IsCurrentStep ( $name ) Check if passed action is the same as the current step
IsFutureStep ( $name ) Check if passed action is for a step after current
IsPastStep ( $name ) Check if passed action is for a step before current
StepExists ( $name )
getSteps ( )
index ( ) Get first step from stored steps
onAfterInit ( ) Redirect back to start of checkout if no cart started
setupSteps ( $steps = null ) Set up CheckoutPage_Controller decorators for managing steps

Приватные методы

Метод Описание
actionPos ( $incoming ) Get the numerical position of a step
compareActions ( $action1, $action2 ) Check if one step comes before or after the another

Описание методов

IsCurrentStep() публичный Метод

Check if passed action is the same as the current step
public IsCurrentStep ( $name )

IsFutureStep() публичный Метод

Check if passed action is for a step after current
public IsFutureStep ( $name )

IsPastStep() публичный Метод

Check if passed action is for a step before current
public IsPastStep ( $name )

StepExists() публичный Метод

public StepExists ( $name )

getSteps() публичный Метод

public getSteps ( )

index() публичный Метод

Get first step from stored steps
public index ( )

onAfterInit() публичный Метод

Redirect back to start of checkout if no cart started
public onAfterInit ( )

setupSteps() публичный статический Метод

Set up CheckoutPage_Controller decorators for managing steps
public static setupSteps ( $steps = null )

Описание свойств

$owner защищенное свойство

protected CheckoutPage_Controller $owner
Результат CheckoutPage_Controller