API17

API17:JUser::authorise

From Joomla! Documentation

Joomla 11.1 JUser::authorise

Description

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


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


User contributed notes

Code Examples