Actions

API17

Difference between revisions of "JUser::authorise"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (JoomlaWikiBot moved page JUser::authorise/11.1 to API17:JUser::authorise without leaving a redirect: Robot: Moved page)

Revision as of 21:48, 10 May 2013

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JUser::authorise

Description

Method to check object authorisation against an access control object and optionally an access extension object.

Description:JUser::authorise [Edit Descripton]

public function authorise (
        $action
        $assetname=null
)
Parameter Type Default Description
$action string The name of the action to check for permission.
$assetname string null The name of the asset on which to perform the action.
  • Returns boolean True if authorised
  • Defined on line 277 of libraries/joomla/user/user.php
  • Since Joomla 11.1

See also

SeeAlso:JUser::authorise [Edit See Also]

User contributed notes

<CodeExamplesForm />