Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get joomla group ids

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

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