WebFormScenarioService
Table of Contents
Methods
- __construct() : mixed
- check() : array<string|int, mixed>
- Check scenario on possible errors
- getScenarioCategoryList() : array<string|int, mixed>
- Get all current scenario categories
- getScenarioList() : array<string|int, mixed>
- Get all usable scenarios
- getSidebarMenuItems() : array<string|int, mixed>
- Get all sidebar menu items
- prepareForm() : array<string|int, mixed>
- prepare options by template id
Methods
__construct()
public
__construct(CurrentUser $currentUser[, Culture|null $culture = null ]) : mixed
Parameters
- $currentUser : CurrentUser
- $culture : Culture|null = null
check()
Check scenario on possible errors
public
check(mixed $templateId) : array<string|int, mixed>
Parameters
- $templateId : mixed
Return values
array<string|int, mixed>getScenarioCategoryList()
Get all current scenario categories
public
getScenarioCategoryList() : array<string|int, mixed>
Return values
array<string|int, mixed>getScenarioList()
Get all usable scenarios
public
getScenarioList() : array<string|int, mixed>
Return values
array<string|int, mixed>getSidebarMenuItems()
Get all sidebar menu items
public
getSidebarMenuItems() : array<string|int, mixed>
Return values
array<string|int, mixed>prepareForm()
prepare options by template id
public
prepareForm(mixed $templateId, array<string|int, mixed> &$options) : array<string|int, mixed>
Parameters
- $templateId : mixed
- $options : array<string|int, mixed>