46        $this->tpl = $a_global_tpl;
 
   47        $this->user_action_context = $a_user_action_context;
 
   48        $this->current_user_id = $a_current_user_id;
 
   61        return new ilUserActionGUI($a_user_action_context, $a_global_tpl, $a_current_user_id);
 
   71        include_once(
"./Services/User/Actions/classes/class.ilUserActionAdmin.php");
 
   72        include_once(
"./Services/User/Actions/classes/class.ilUserActionProviderFactory.php");
 
   74            foreach ($prov->getActionTypes() as $act_type => 
$txt) {
 
   76                    $this->user_action_context->getComponentId(),
 
   77                    $this->user_action_context->getContextId(),
 
   78                    $prov->getComponentId(),
 
   81                    foreach ($prov->getJsScripts($act_type) as $script) {
 
   82                        $tpl->addJavascript($script);
 
   84                    foreach ($prov->getCssFiles($act_type) as $file) {
 
  100        if (!$this->init_done) {
 
  103        include_once(
"./Services/User/Gallery/classes/class.ilGalleryUserActionContext.php");
 
  104        include_once(
"./Services/User/Actions/classes/class.ilUserActionCollector.php");
 
  106        $action_collection = $act_collector->getActionsForTargetUser($a_target_user_id);
 
  107        include_once(
"./Services/UIComponent/AdvancedSelectionList/classes/class.ilAdvancedSelectionListGUI.php");
 
  109        $list->setListTitle(
"");
 
  110        foreach ($action_collection->getActions() as 
$action) {
 
  111            $list->addItem(
$action->getText(), 
"", 
$action->getHref(), 
"", 
"", 
"", 
"", 
false, 
"", 
"", 
"", 
"", 
true, 
$action->getData());
 
  113        return $list->getHTML();
 
An exception for terminatinating execution or to throw for unit testing.
User interface class for advanced drop-down selection lists.
special template class to simplify handling of ITX/PEAR
static lookupActive($a_context_comp, $a_context_id, $a_action_comp, $a_action_type)
Is activated?
static getInstance($a_user_id, ilUserActionContext $a_context)
Get instance (for a user)
A context where user actions are used (e.g.
A class that provides a collection of actions on users.
init()
Add requried js/css for an action context.
static getInstance(ilUserActionContext $a_user_action_context, ilTemplate $a_global_tpl, $a_current_user_id)
Get instance.
__construct(ilUserActionContext $a_user_action_context, ilTemplate $a_global_tpl, $a_current_user_id)
Constructor.
renderDropDown($a_target_user_id)
Render drop down.
static getAllProviders()
Get all action providers.
if(isset($_REQUEST['delete'])) $list