API17

JAccess::checkGroup

From Joomla! Documentation

Revision as of 19:51, 23 April 2011 by Doxiki2 (talk | contribs) (Layout updates)

The "API17" 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.

Joomla 11.1 JAccess::checkGroup[edit]

Description[edit]

Method to check if a group is authorised to perform an action, optionally on an asset.

Template:Description:JAccess::checkGroup [Edit Descripton]

Since[edit]

Joomla 11.1

Synopsis[edit]

public static JAccess::checkGroup ($groupId, $action, $asset=null)
Parameter Type Default Description
$groupId integer The path to the group for which to check authorisation.
$action string The name of the action to authorise.
$asset mixed null Integer asset id or the name of the asset as a string. Defaults to the global asset node.

Returns[edit]

boolean True if authorised.

Defined in[edit]

libraries/joomla/access/access.php (line 79)

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JAccess::checkGroup

Examples[edit]

<CodeExamplesForm />