Actions

API16

JRules/mergeCollection

< API16:JRules

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Description

Method to merge a collection of JRules.



Syntax

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);
                }
        }
}



Examples

Code Examples


Advertisement