API15

Difference between revisions of "JAuthorization/get group name"

From Joomla! Documentation

< API15:JAuthorization
m (removing red link to edit, no existant pages)
m (preparing for archive only)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
Gets the 'name' of a group  
 
Gets the 'name' of a group  
  
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[<! removed edit link to red link >]</nowiki>
 
</span>
 
  
 
<! removed transcluded page call, red link never existed >
 
<! removed transcluded page call, red link never existed >
Line 43: Line 41:
 
</source>
 
</source>
  
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[<! removed edit link to red link >]</nowiki>
 
</span>
 
 
<! removed transcluded page call, red link never existed >
 
<! removed transcluded page call, red link never existed >
  
 
===Examples===
 
===Examples===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
  noresultsheader=\n
 
  noresultsheader=\n
 
  category=get_group_name
 
  category=get_group_name
 
  category=JAuthorization
 
  category=JAuthorization
  category=CodeExample
+
  namespace=CodeExample
 
  category=MethodExample
 
  category=MethodExample
 
  include=*
 
  include=*

Latest revision as of 19:19, 24 March 2017

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


<! removed transcluded page call, red link never existed >

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];
}


<! removed transcluded page call, red link never existed >

Examples[edit]

Code Examples[edit]