Свойство | Type | Description | |
---|---|---|---|
$blocksData | array | Blocks data: contains parsed value of bb-code like strings | |
$components | array | Other components used by this component |
Свойство | Type | Description | |
---|---|---|---|
$_controller | Controller | controller | |
$_defaultRoleId | integer | Default is 3 (public) |
Méthode | Description | |
---|---|---|
__get ( $name ) : Object | Method to lazy load classes | |
addAco ( string $action, array $allowRoles = [] ) : void | ACL: add ACO | |
addPluginBootstrap ( string $plugin ) : void | Loads plugin's bootstrap.php file | |
checkPluginDependency ( string $plugin = null ) : boolean | Check if plugin is dependent on any other plugin. | |
extractFilter ( ) : array | Extracts parameters from 'filter' named parameter. | |
fieldToggle ( Model $model, $id, $status, $field = 'status' ) | Toggle field status | |
getPluginData ( string $alias = null ) : array | Get the content of plugin.json file of a plugin | |
getPlugins ( ) : array | Get plugin alises (folder names) | |
getRelativePath ( array $url = '/' ) : array | Get URL relative to the app | |
getThemeData ( string $alias = null ) : array | Get the content of theme.json file from a theme | |
getThemes ( ) : array | Get theme aliases (folder names) | |
pluginIsActive ( string $plugin ) : boolean | Check if plugin is active | |
redirect ( string $url, integer $status = null, boolean $exit = true, array $indexUrl = [] ) : void | Croogo flavored redirect | |
removeAco ( string $action ) : void | ACL: remove ACO | |
removePluginBootstrap ( string $plugin ) : void | Plugin name will be removed from Hook.bootstraps | |
roleId ( ) : integer | Gets the Role Id of the current user | |
setReferer ( ) : void | Sets the referer page | |
startup ( Controller $controller ) : void | Startup | |
viewFallback ( string | array $views ) : void | View Fallback |
Méthode | Description | |
---|---|---|
_adminData ( ) : void | Set variables for admin layout | |
_adminMenus ( ) | Setup admin menu | |
_setupViewPaths ( Controller $controller ) : array | Get a list of possible view paths for current request |
protected _adminData ( ) : void | ||
Résultat | void |
protected _setupViewPaths ( Controller $controller ) : array | ||
$controller | Controller | |
Résultat | array | A list of view paths |
public addPluginBootstrap ( string $plugin ) : void | ||
$plugin | string | Plugin name (underscored) |
Résultat | void |
public checkPluginDependency ( string $plugin = null ) : boolean | ||
$plugin | string | plugin alias (underscrored) |
Résultat | boolean |
public extractFilter ( ) : array | ||
Résultat | array |
public fieldToggle ( Model $model, $id, $status, $field = 'status' ) | ||
$model | Model | Model instance |
$id | integer Model id | |
$status | integer current status | |
$field | string field name to toggle |
public getPluginData ( string $alias = null ) : array | ||
$alias | string | plugin folder name |
Résultat | array |
public getPlugins ( ) : array | ||
Résultat | array |
public getRelativePath ( array $url = '/' ) : array | ||
$url | array | |
Résultat | array |
public getThemeData ( string $alias = null ) : array | ||
$alias | string | theme folder name |
Résultat | array |
public pluginIsActive ( string $plugin ) : boolean | ||
$plugin | string | Plugin name (underscored) |
Résultat | boolean |
public removePluginBootstrap ( string $plugin ) : void | ||
$plugin | string | Plugin name (underscored) |
Résultat | void |
public setReferer ( ) : void | ||
Résultat | void |
protected int $_defaultRoleId | ||
Résultat | integer |
public array $blocksData | ||
Résultat | array |
public array $components | ||
Résultat | array |