Search
 
SCRIPT & CODE EXAMPLE
 

PHP

joomla get group id

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

foreach ($groups as $group)
{
    echo '<p>Group = ' . $group . '</p>';
}
Comment

PREVIOUS NEXT
Code Example
Php :: add another column in a table in laravel 
Php :: sql update row in php 
Php :: laravel eloquent update 
Php :: all resource routes laravel 8 
Php :: create symfony 4 project 
Php :: why we use .htaccess file in php 
Php :: contact form 7 get form id 
Php :: php add get to link 
Php :: Laravel migrations custom foreign key 
Php :: laravel collection times 
Php :: minishlink/web-push v5.2.5 requires ext-gmp * 
Php :: Create a table with PHP in html 
Php :: message get with return action laravel 
Php :: datatable filters 
Php :: laravel create on model 
Php :: laravel eloquent bulk insert 
Php :: Multiple image upload with CodeIgniter 
Php :: cmd disable wifi driver 
Php :: PHP str_repeat — Repeat a string 
Php :: wordpress change post format 
Php :: how to print on console with phpunit 
Php :: remove behind comma php 
Php :: php contain 
Php :: post data to another page contact form 7 
Php :: json_encode php 
Php :: sort php 
Php :: download xampp php 7.3 
Php :: active page in laravel 
Php :: Creating (Declaring) PHP Variables 
Php :: Laravel - Resize image size using Laravel image class 
ADD CONTENT
Topic
Content
Source link
Name
2+8 =