ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilWorkflowEngineSettingsForm Class Reference

PhpIncludeInspection More...

+ Collaboration diagram for ilWorkflowEngineSettingsForm:

Public Member Functions

 __construct ()
 
 getForm ($action)
 

Protected Attributes

 $form
 
 $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 24 of file class.ilWorkflowEngineSettingsForm.php.

References $DIC.

25  {
26  global $DIC;
27  $this->lng = $DIC['lng'];
28  }
global $DIC
Definition: saml.php:7

Member Function Documentation

◆ getForm()

ilWorkflowEngineSettingsForm::getForm (   $action)

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

References $action, and $form.

31  {
32  $this->form = new ilPropertyFormGUI();
33  $this->form->setFormAction($action);
34  $this->form->setTitle($this->lng->txt('settings'));
35 
36  $activation_checkbox = new ilCheckboxInputGUI($this->lng->txt('activate'), 'activate');
37  $this->form->addItem($activation_checkbox);
38 
39  $this->form->addCommandButton('save', $this->lng->txt('save'));
40  $this->form->addCommandButton('cancel', $this->lng->txt('cancel'));
41 
42  return $this->form;
43  }
This class represents a property form user interface.
$action
This class represents a checkbox property in a property form.

Field Documentation

◆ $form

ilWorkflowEngineSettingsForm::$form
protected

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

Referenced by getForm().

◆ $lng

ilWorkflowEngineSettingsForm::$lng
protected

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


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