ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
ilWorkflowEngineSettingsForm Class Reference

PhpIncludeInspection More...

+ Collaboration diagram for ilWorkflowEngineSettingsForm:

Public Member Functions

 __construct ()
 
 getForm ($action)
 

Protected Attributes

 $form
 
 $dic
 
 $lng
 

Detailed Description

PhpIncludeInspection

Settings Form

Author
Maximilian Becker mbeck.nosp@m.er@d.nosp@m.ataba.nosp@m.y.de
Version
$Id$

/

Definition at line 16 of file class.ilWorkflowEngineSettingsForm.php.

Constructor & Destructor Documentation

◆ __construct()

ilWorkflowEngineSettingsForm::__construct ( )

Definition at line 29 of file class.ilWorkflowEngineSettingsForm.php.

References $DIC.

30  {
31  global $DIC;
32  $this->dic = $DIC;
33  $this->lng = $this->dic->language();
34  }
$DIC
Definition: xapitoken.php:46

Member Function Documentation

◆ getForm()

ilWorkflowEngineSettingsForm::getForm (   $action)

Definition at line 36 of file class.ilWorkflowEngineSettingsForm.php.

References $_GET, and $form.

37  {
38  $this->form = new ilPropertyFormGUI();
39  $this->form->setFormAction($action);
40  $this->form->setTitle($this->lng->txt('settings'));
41 
42  $activation_checkbox = new ilCheckboxInputGUI($this->lng->txt('activate'), 'activate');
43  $this->form->addItem($activation_checkbox);
44 
45  if ($this->dic->rbac()->system()->checkAccess("visible,read", (int) $_GET['ref_id'])) {
46  $this->form->addCommandButton('save', $this->lng->txt('save'));
47  $this->form->addCommandButton('cancel', $this->lng->txt('cancel'));
48  }
49 
50  return $this->form;
51  }
This class represents a property form user interface.
$_GET["client_id"]
This class represents a checkbox property in a property form.

Field Documentation

◆ $dic

ilWorkflowEngineSettingsForm::$dic
protected

Definition at line 24 of file class.ilWorkflowEngineSettingsForm.php.

◆ $form

ilWorkflowEngineSettingsForm::$form
protected

Definition at line 19 of file class.ilWorkflowEngineSettingsForm.php.

Referenced by getForm().

◆ $lng

ilWorkflowEngineSettingsForm::$lng
protected

Definition at line 27 of file class.ilWorkflowEngineSettingsForm.php.


The documentation for this class was generated from the following file: