ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
ilSettingsTemplateConfig Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilSettingsTemplateConfig:
+ Collaboration diagram for ilSettingsTemplateConfig:

Public Member Functions

 __construct (string $a_obj_type)
 
 setType (string $a_val)
 
 getType ()
 
 addHidableTab (string $a_tab_id, string $a_text)
 
 getHidableTabs ()
 
 addSetting (string $a_id, string $a_type, string $a_text, bool $a_hidable, int $a_length=0, array $a_options=array())
 
 getSettings ()
 

Data Fields

const TEXT = "text"
 
const SELECT = "select"
 
const BOOL = "bool"
 
const CHECKBOX = "check"
 

Private Attributes

string $type
 
array $tabs = array()
 
array $setting = array()
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Settings template config class

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 26 of file class.ilSettingsTemplateConfig.php.

Constructor & Destructor Documentation

◆ __construct()

ilSettingsTemplateConfig::__construct ( string  $a_obj_type)

Definition at line 37 of file class.ilSettingsTemplateConfig.php.

References setType().

38  {
39  $this->setType($a_obj_type);
40  }
+ Here is the call graph for this function:

Member Function Documentation

◆ addHidableTab()

ilSettingsTemplateConfig::addHidableTab ( string  $a_tab_id,
string  $a_text 
)

Definition at line 52 of file class.ilSettingsTemplateConfig.php.

References ILIAS\Repository\tabs().

Referenced by ilTestSettingsTemplateConfig\initHidableTabs().

55  : void {
56  $this->tabs[$a_tab_id] = array(
57  "id" => $a_tab_id,
58  "text" => $a_text
59  );
60  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addSetting()

ilSettingsTemplateConfig::addSetting ( string  $a_id,
string  $a_type,
string  $a_text,
bool  $a_hidable,
int  $a_length = 0,
array  $a_options = array() 
)

◆ getHidableTabs()

ilSettingsTemplateConfig::getHidableTabs ( )

Definition at line 62 of file class.ilSettingsTemplateConfig.php.

References $tabs.

62  : array
63  {
64  return $this->tabs;
65  }

◆ getSettings()

ilSettingsTemplateConfig::getSettings ( )

Definition at line 85 of file class.ilSettingsTemplateConfig.php.

References $setting.

85  : array
86  {
87  return $this->setting;
88  }

◆ getType()

ilSettingsTemplateConfig::getType ( )

Definition at line 47 of file class.ilSettingsTemplateConfig.php.

References $type.

47  : string
48  {
49  return $this->type;
50  }

◆ setType()

ilSettingsTemplateConfig::setType ( string  $a_val)

Definition at line 42 of file class.ilSettingsTemplateConfig.php.

Referenced by __construct().

42  : void
43  {
44  $this->type = $a_val;
45  }
+ Here is the caller graph for this function:

Field Documentation

◆ $setting

array ilSettingsTemplateConfig::$setting = array()
private

Definition at line 35 of file class.ilSettingsTemplateConfig.php.

Referenced by getSettings().

◆ $tabs

array ilSettingsTemplateConfig::$tabs = array()
private

Definition at line 34 of file class.ilSettingsTemplateConfig.php.

Referenced by getHidableTabs().

◆ $type

string ilSettingsTemplateConfig::$type
private

Definition at line 33 of file class.ilSettingsTemplateConfig.php.

Referenced by getType().

◆ BOOL

◆ CHECKBOX

◆ SELECT

◆ TEXT


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