29 $this->user_id = $a_user_id;
41 if (!isset(self::$instances[$a_user_id]))
46 return self::$instances[$a_user_id];
57 include_once(
"./Services/User/Actions/classes/class.ilUserActionCollection.php");
60 include_once(
"./Services/User/Actions/classes/class.ilUserActionAdmin.php");
62 include_once(
"./Services/User/Actions/classes/class.ilUserActionProviderFactory.php");
65 $prov->setUserId($this->user_id);
66 $coll = $prov->collectActionsForTargetUser($a_target_user);
67 foreach ($coll->getActions() as $action)
71 $this->collection->addAction($action);
static getInstance()
Get instance.
static getInstance($a_user_id)
Get instance (for a user)
static getAllProviders()
Get all action providers.
static lookupActive($a_context_comp, $a_context_id, $a_action_comp, $a_action_type)
Is activated?
__construct($a_user_id)
Constructor.
Create styles array
The data for the language used.
Collects actions from all action providers.
getActionsForTargetUser($a_target_user, $a_context_component_id, $a_context_id)
Collect actions.