40 $this->ctrl = $DIC->ctrl();
41 $this->lng = $DIC->language();
42 $this->tpl = $DIC[
"tpl"];
44 $this->lng->loadLanguageModule(
"usr");
53 $next_class = $this->ctrl->getNextClass($this);
54 $cmd = $this->ctrl->getCmd(
"show");
59 if (in_array(
$cmd,
array(
"show",
"save")))
76 include_once(
"./Services/User/Actions/classes/class.ilUserActionAdminTableGUI.php");
78 $this->tpl->setContent(
$tab->getHTML());
87 include_once(
"./Services/User/Actions/classes/class.ilUserActionAdmin.php");
91 (
int)
$_POST[
"active"][$a[
"action_comp_id"] .
":" . $a[
"action_type_id"]]);
94 $this->ctrl->redirect($this,
"show");
105 include_once(
"./Services/User/Actions/classes/class.ilUserActionProviderFactory.php");
106 include_once(
"./Services/User/Actions/classes/class.ilUserActionAdmin.php");
110 foreach ($p->getActionTypes() as $id => $name)
113 "action_comp_id" => $p->getComponentId(),
114 "action_type_id" => $id,
115 "action_type_name" => $name,
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.
executeCommand()
Execute command.
User action administration GUI class.
static getAllProviders()
Get all action providers.
__construct()
Constructor.
static lookupActive($a_context_comp, $a_context_id, $a_action_comp, $a_action_type)
Is activated?
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.
save()
Save !!!! note in the future this must depend on the context, currently we only have one...
Create styles array
The data for the language used.
static activateAction($a_context_comp, $a_context_id, $a_action_comp, $a_action_type, $a_active)
Activate action.
TableGUI class for user action administration.
getActions()
Get actions, !!!! note in the future this must depend on the context, currently we only have one...