19 declare(strict_types=1);
    38         $this->
lng->loadLanguageModule(
"grp");
    41             "add_to" => $this->
lng->txt(
"grp_add_to_group")
    47         if (!isset(self::$grp_ops[$a_user_id])) {
    51                 $ops[] = 
"create_grp";
    55                 $ops[] = 
"manage_members";
    57             self::$grp_ops[$a_user_id] = $ops;
    59         return self::$grp_ops[$a_user_id];
    70         $this->
lng->loadLanguageModule(
"grp");
    73         $commands = self::getCommandAccess($this->user_id);
    74         if (count($commands) == 0) {
    79         $f->setType(
"add_to");
    80         $f->setText($this->
lng->txt(
"grp_add_to_group"));
    82         $ctrl->setParameterByClass(
"ilGroupAddToGroupActionGUI", 
"user_id", $a_target_user);
    84             "grp-action-add-to" => 
"1",
    85             "url" => $ctrl->getLinkTargetByClass(array(
"ildashboardgui", 
"ilGroupUserActionsGUI", 
"ilGroupAddToGroupActionGUI"), 
"", 
"", 
true, 
false)
    98         $gui = $DIC->repository()->internal()->gui();
    99         switch ($a_action_type) {
   102                     "assets/js/GroupUserActions.js",
   103                     "assets/js/modal.min.js",
 static getCommandAccess(int $a_user_id)
 
A class that provides a collection of actions on users. 
 
collectActionsForTargetUser(int $a_target_user)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
static getLocalJsTreeJsPath()
 
getJsScripts(string $a_action_type)
 
static getLocalExplorerJsPath()
 
static _getObjectsByOperations( $a_obj_type, string $a_operation, int $a_usr_id=0, int $limit=0)
Get all objects of a specific type and check access This function is not recursive, instead it parses the serialized rbac_pa entries. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...