User action administration GUI class.
More...
User action administration GUI class.
- Author
- Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de
Definition at line 32 of file class.ilUserActionAdminGUI.php.
◆ buildForm()
ilUserActionAdminGUI::buildForm |
( |
| ) |
|
|
private |
◆ executeCommand()
ilUserActionAdminGUI::executeCommand |
( |
| ) |
|
◆ getActionContext()
ilUserActionAdminGUI::getActionContext |
( |
| ) |
|
◆ getActions()
ilUserActionAdminGUI::getActions |
( |
| ) |
|
|
private |
Definition at line 153 of file class.ilUserActionAdminGUI.php.
References $id.
Referenced by buildForm(), save(), and show().
156 foreach ($p->getActionTypes() as
$id => $name) {
158 'action_comp_id' => $p->getComponentId(),
159 'action_type_id' =>
$id,
160 'action_type_name' => $name,
161 'active' => $this->user_action_admin->isActionActive(
162 $this->action_context->getComponentId(),
163 $this->action_context->getContextId(),
164 $p->getComponentId(),
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
◆ save()
ilUserActionAdminGUI::save |
( |
| ) |
|
Definition at line 127 of file class.ilUserActionAdminGUI.php.
References $data, buildForm(), ILIAS\Repository\ctrl(), getActions(), ILIAS\Repository\lng(), null, and show().
129 if (!$this->rbabsystem->checkAccess(
'write', $this->ref_id)) {
130 $this->
ctrl->redirect($this,
'show');
133 $form = $this->
buildForm()->withRequest($this->request);
134 $data = $form->getData();
136 $this->tpl->setContent($this->ui_renderer->render($form));
141 $this->user_action_admin->activateAction(
142 $this->action_context->getComponentId(),
143 $this->action_context->getContextId(),
144 $action[
'action_comp_id'],
145 $action[
'action_type_id'],
146 $data[
"{$action['action_comp_id']}:{$action['action_type_id']}"] ?? false
149 $this->tpl->setOnScreenMessage(
'success', $this->
lng->txt(
'msg_obj_modified'),
true);
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
◆ setActionContext()
◆ show()
ilUserActionAdminGUI::show |
( |
| ) |
|
◆ $action_context
◆ $ctrl
ilCtrl ilUserActionAdminGUI::$ctrl |
|
private |
◆ $lng
◆ $rbabsystem
◆ $ref_id
int ilUserActionAdminGUI::$ref_id |
|
private |
◆ $request
ServerRequestInterface ilUserActionAdminGUI::$request |
|
private |
◆ $tpl
◆ $ui_factory
UIFactory ilUserActionAdminGUI::$ui_factory |
|
private |
◆ $ui_renderer
UIRenderer ilUserActionAdminGUI::$ui_renderer |
|
private |
◆ $user_action_admin
The documentation for this class was generated from the following file: