API16:JRules/mergeAction
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
Description:JRules/mergeAction
Contents |
Syntax
mergeAction($action, $identities)
| Parameter Name | Default Value | Description |
|---|---|---|
| $action | The name of the action. | |
| $identities |
Defined in
libraries/joomla/access/rules.php
Importing
jimport( 'joomla.access.rules' );
Source Body
public function mergeAction($action, $identities) { if (isset($this->_data[$action])) { // If exists, merge the action. $this->_data[$action]->mergeIdentities($identities); } else { // If new, add the action. $this->_data[$action] = new JRule($identities); } }
[Edit See Also] SeeAlso:JRules/mergeAction
Examples
<CodeExamplesForm />
