By Philippe on Wednesday, 15 January 2020
Posted in Technical Issues
Replies 1
Likes 0
Views 431
Votes 0
Hello,

Could you say me what is the alternative of this code, but to get the current group's Alias ?

$group = ES::model('Groups');
$id = ES::request()->get('id', 0, 'int');


Thank you
Philippe
Hey there,

The following PHP code is for getting the current group's Alias.


$id = ES::request()->get('id', 0, 'int');
$group = ES::group($id);
$alias = $group->getAlias();
·
Wednesday, 15 January 2020 10:30
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post