JRules/mergeCollection
From Joomla! Documentation
< JRules
Contents |
Description
Method to merge a collection of JRules.
Syntax
JRules::mergeCollection($input)
| Parameter Name | Default Value | Description |
|---|---|---|
| $input |
Defined in
libraries/joomla/access/rules.php
Importing
jimport( 'joomla.access.rules' );
Source Body
public function mergeCollection($input)
{
// Check if the input is a
if (is_array($input))
{
foreach ($input as $actions) {
$this->merge($actions);
}
}
}