API15

JAuthorization/get group name

From Joomla! Documentation

< API15:JAuthorization
Revision as of 17:25, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== Gets the 'name' of a group <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The "API15" 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.

Description[edit]

Gets the 'name' of a group

[Edit Descripton]

Template:Description:JAuthorization/get group name

Syntax[edit]

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[edit]

string

Defined in[edit]

libraries/joomla/user/authorization.php

Importing[edit]

jimport( 'joomla.user.authorization' );

Source Body[edit]

function get_group_name($group_id = null, $group_type = 'ARO')
{
        $data = $this->get_group_data( $group_id, 'ARO' );
        return $data[3];
}

[Edit See Also] Template:SeeAlso:JAuthorization/get group name

Examples[edit]

<CodeExamplesForm />