PHP 클래스 Elcodi\Plugin\StoreSetupWizardBundle\Services\WizardRoutes

파일 보기 프로젝트 열기: elcodi/bamboo 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$wizardRoutesByStep array The wizard routes by step
$wizardStatus WizardStatus The wizardStatus service

공개 메소드들

메소드 설명
__construct ( WizardStatus $wizardStatus ) Builds a new WizardRoutes class
getDefaultWizardRoute ( ) : boolean Gets the default route.
getNextStepRoute ( ) : string Get the next step route.
getStepByRoute ( string $route ) : integer | null Gets the step for the given routes.
getStepRoute ( string $step ) : string Get the route for the given step.
isWizardHidden ( string $route ) : boolean Checks if the wizard is hidden on the given route.
isWizardSetupRoute ( string $route ) : boolean Checks if the received route is one of the wizards setup pages.

메소드 상세

__construct() 공개 메소드

Builds a new WizardRoutes class
public __construct ( WizardStatus $wizardStatus )
$wizardStatus WizardStatus

getDefaultWizardRoute() 공개 메소드

Gets the default route.
public getDefaultWizardRoute ( ) : boolean
리턴 boolean If is the default route.

getNextStepRoute() 공개 메소드

Get the next step route.
public getNextStepRoute ( ) : string
리턴 string The route

getStepByRoute() 공개 메소드

Gets the step for the given routes.
public getStepByRoute ( string $route ) : integer | null
$route string The route to check
리턴 integer | null The step route

getStepRoute() 공개 메소드

Get the route for the given step.
public getStepRoute ( string $step ) : string
$step string The received step
리턴 string The route

isWizardHidden() 공개 메소드

Checks if the wizard is hidden on the given route.
public isWizardHidden ( string $route ) : boolean
$route string The route to check.
리턴 boolean If the wizard is hidden.

isWizardSetupRoute() 공개 메소드

Checks if the received route is one of the wizards setup pages.
public isWizardSetupRoute ( string $route ) : boolean
$route string The received route
리턴 boolean If is part of the wizards setup.

프로퍼티 상세

$wizardRoutesByStep 보호되어 있는 프로퍼티

The wizard routes by step
protected array $wizardRoutesByStep
리턴 array

$wizardStatus 보호되어 있는 프로퍼티

The wizardStatus service
protected WizardStatus,Elcodi\Plugin\StoreSetupWizardBundle\Services $wizardStatus
리턴 WizardStatus