PHP 클래스 SteppedCheckout, silvershop-core

상속: extends Extension
파일 보기 프로젝트 열기: burnbright/silverstripe-shop 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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