Property | Type | Description | |
---|---|---|---|
$wizardRoutesByStep | array | The wizard routes by step | |
$wizardStatus | The wizardStatus service |
Method | Description | |
---|---|---|
__construct ( |
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. |
public __construct ( |
||
$wizardStatus |
public getDefaultWizardRoute ( ) : boolean | ||
return | boolean | If is the default route. |
public getNextStepRoute ( ) : string | ||
return | string | The route |
public getStepRoute ( string $step ) : string | ||
$step | string | The received step |
return | string | The route |
public isWizardHidden ( string $route ) : boolean | ||
$route | string | The route to check. |
return | boolean | If the wizard is hidden. |
public isWizardSetupRoute ( string $route ) : boolean | ||
$route | string | The received route |
return | boolean | If is part of the wizards setup. |
protected array $wizardRoutesByStep | ||
return | array |