Метод | Описание | |
---|---|---|
get ( &$configuration, string $var, mixed $default ) : mixed | Return a configuration variable | |
parseDomain ( SimpleXMLElement $xml, array &$ret ) : void | Parse the XML data, adding them to the $ret array |
Метод | Описание | |
---|---|---|
getAcl ( string $view, &$configuration, array $params, string $default = '' ) : string | Internal method to return the ACL mapping (privilege required to access a specific task) for the given view's tasks | |
getConfig ( string $view, &$configuration, array $params, mixed $default = null ) : string | Internal method to return the a configuration option for the view. These are equivalent to $config array options passed to the Controller | |
getTaskmap ( string $view, &$configuration, array $params, array $default = [] ) : array | Internal function to return the task map for a view | |
getToolbar ( string $view, &$configuration, array $params, string $default = '' ) : string | Internal method to return the toolbar infos. |
protected getAcl ( string $view, &$configuration, array $params, string $default = '' ) : string | ||
$view | string | The view for which we will be fetching a task map |
$params | array | Extra options; key 0 defines the task we want to fetch |
$default | string | Default ACL option; empty (no ACL check) if not defined |
Результат | string | The privilege required to access this view |
protected getConfig ( string $view, &$configuration, array $params, mixed $default = null ) : string | ||
$view | string | The view for which we will be fetching a task map |
$params | array | Extra options; key 0 defines the option variable we want to fetch |
$default | mixed | Default option; null if not defined |
Результат | string | The setting for the requested option |
protected getTaskmap ( string $view, &$configuration, array $params, array $default = [] ) : array | ||
$view | string | The view for which we will be fetching a task map |
$params | array | Extra options (not used) |
$default | array | ßDefault task map; empty array if not provided |
Результат | array | The task map as a hash array in the format task => method |
public parseDomain ( SimpleXMLElement $xml, array &$ret ) : void | ||
$xml | SimpleXMLElement | The XML data of the component's configuration area |
$ret | array | |
Результат | void |