API15:JAuthorization/get group name
From Joomla! Documentation
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.
Contents |
Description
Gets the 'name' of a group
Description:JAuthorization/get group name
Syntax
get_group_name($group_id=null, $group_type= 'ARO')
| Parameter Name | Default Value | Description |
|---|---|---|
| $group_id | null | The group id |
| $group_type | 'ARO' | AXO |
Returns
string
Defined in
libraries/joomla/user/authorization.php
Importing
jimport( 'joomla.user.authorization' );
Source Body
function get_group_name($group_id = null, $group_type = 'ARO') { $data = $this->get_group_data( $group_id, 'ARO' ); return $data[3]; }
[Edit See Also] SeeAlso:JAuthorization/get group name
Examples
<CodeExamplesForm />
