API17

JAccess::checkGroup

From Joomla! Documentation

Revision as of 09:55, 11 May 2013 by JoomlaWikiBot (talk | contribs) (→‎User contributed notes: moving preparation)

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]

public static function 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.

See also[edit]

Template:SeeAlso:JAccess::checkGroup [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />