LAYOUT_PRIORITY
LAYOUT_PRIORITY
Represents a proxy which can execute a child action by a given url-pattern and table-uniquename.
Usage: Extend the action and create the execute action as follows: public function execute() {
if (parent::execute() {
//If parent returns true, the child action has been found and the current action can be skipped
return;
}
if (self::_getProxyState() === self::CHILD_NOT_FOUND) {
//Child not found
}
}
If the child action extends the app_more_action_proxy_child_action, the proxy will be set on the action.
$_table : \Fuman_Table
$_templateData : \Fuman_Template_Data
$_navigationItem : \Fuman_Navigation_Item
$_responseData : \Fuman_Response_Data
$_childAction : \app_more_action_proxy_child_action
setTemplateData(\Fuman_Template_Data $templateData) : void
Sets frontend data
\Fuman_Template_Data | $templateData |
getTemplateData() : \Fuman_Template_Data
Gets frontend data
setTable(\Fuman_Table $table)
Sets table
\Fuman_Table | $table |
getTable() : \Fuman_Table
Gets table
setNavigationItem(\Fuman_Navigation_Item $item)
Sets navigation item
\Fuman_Navigation_Item | $item |
preExecute(\Fuman_Navigation_Item $item) : void
Prepares navigation item
\Fuman_Navigation_Item | $item |
getNavigationItem() : \Fuman_Navigation_Item
Gets navigation item
prepareSitemap(\app_core_action_sitemap $sitemap, \Fuman_Navigation_Item $item = null)
\app_core_action_sitemap | $sitemap | |
\Fuman_Navigation_Item | $item |
getActionDescriptor() : \Fuman_Action_Descriptor|null
Gets action descriptor
createChildLinkFromItem(\Fuman_Navigation_Item $item, string $uriTitle, integer $id) : integer
\Fuman_Navigation_Item | $item | |
string | $uriTitle | |
integer | $id |
getInstanceAsUriProviderByModuleConfiguration(\Fuman_Table $table, \Fuman_Db_RecordSetMeta $meta = null) : \app_more_action_proxy
\Fuman_Table | $table | |
\Fuman_Db_RecordSetMeta | $meta |
_isProtectionHashValid(string $appName, string $actionName, \Fuman_Table $table, string $id) : boolean
Check protection hash
string | $appName | |
string | $actionName | |
\Fuman_Table | $table | |
string | $id |
_executeChild(\Fuman_Template_Data $data) : void
Execute child
\Fuman_Template_Data | $data |