API17

JAccess::checkGroup

From Joomla! Documentation

Revision as of 17:51, 20 April 2011 by Doxiki2 (talk | contribs) (Bulk upload by Doxiki2)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JAccess::checkGroup

Examples[edit]

<CodeExamplesForm />