NAMESPACE: Bootstrap/Controllers
BootstrapController implements BootstrapControllerInterface
$phpstorm_bugfix | ||
$view | namespace | The view instance. Views are responsible for returning the layout of the app dependining on the information passed from the controller. |
$model | namespace | The model instance. Models are used to query and save data to storage. They also provide access to variable, session, validation and other utility methods. |
$router | BootstrapRouter | The router class instance. The router is responsible for instantiating the controller and the view. |
$current_tab | var | Current active tab |
$action_name | mixed | Active action name |
$playid | var | Currently logged user id |
$onloads | var | Array of actions that should be triggered when the application loads. These can vary but making a refresh on load can cause an infinite loop. |
$loadonce | var | Like onload, but will only execute once and force action to reload when accessing the action second time. |
$no_output | Set this to true to suppress output (for async operations) | |
$output_loader | After the api has completed, instead of the normal api output, the api response is a html page with a loader gif. This is used in conjunction with no_output & web view. Rather special case. | |
$list_branches | Set to true if the current call is listbranches | |
$imagesobj | ||
$login_user | Set to true if the current call is loginuser | |
$commands | Add onclicks here to command client non-interactively | |
$onexit | Onclicks to run upon exit of the view. Normally these should be defined in the view rather than controller. |
$timezone |
Default entry point for controllers
Return current menu id if set
Collects location once
$timetolive |
$cache_name |
Collects location once
$timetolive |
$cache_name |