Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

joomla get group id

$user   = JFactory::getUser();
$groups = $user->get('groups');

foreach ($groups as $group)
{
    echo '<p>Group = ' . $group . '</p>';
}
 
PREVIOUS NEXT
Tagged: #joomla #group #id
ADD COMMENT
Topic
Name
1+7 =