ILIAS  release_7 Revision v7.30-3-g800a261c036
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  }
global $DIC
Definition: goto.php:24

Member Function Documentation

◆ getForm()

ilWorkflowEngineSettingsForm::getForm (   $action)

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

References $_GET, $form, and ilFormPropertyGUI\setDisabled().

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  $activation_checkbox->setDisabled(true);
44  $this->form->addItem($activation_checkbox);
45 
46  if ($this->dic->rbac()->system()->checkAccess("visible,read", (int) $_GET['ref_id'])) {
47  //$this->form->addCommandButton('save', $this->lng->txt('save'));
48  $this->form->addCommandButton('cancel', $this->lng->txt('cancel'));
49  }
50 
51  return $this->form;
52  }
This class represents a property form user interface.
$_GET["client_id"]
This class represents a checkbox property in a property form.
setDisabled($a_disabled)
Set Disabled.
+ Here is the call graph for this function:

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: