Actions

API16

JRule/mergeIdentities

< API16:JRule

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

Merges the identities



Syntax

mergeIdentities($identities)
Parameter Name Default Value Description
$identities

Defined in

libraries/joomla/access/rule.php

Importing

jimport( 'joomla.access.rule' );

Source Body

public function mergeIdentities($identities)
{
        if ($identities instanceof JRule) {
                $identities = $identities->getData();
        }
 
        if (is_array($identities))
        {
                foreach ($identities as $identity => $allow) {
                        $this->mergeIdentity($identity, $allow);
                }
        }
}



Examples

Code Examples


Advertisement