ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilSettingsTemplateConfig Class Reference

Settings template config class. More...

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

Public Member Functions

 __construct ($a_obj_type)
 Constructor. More...
 
 setType ($a_val)
 Set type. More...
 
 getType ()
 Get type. More...
 
 addHidableTab ($a_tab_id, $a_text)
 Add hidable tabs. More...
 
 getHidableTabs ()
 Get hidable tabs. More...
 
 addSetting ($a_id, $a_type, $a_text, $a_hidable, $a_length=0, $a_options=array())
 Add setting. More...
 
 getSettings ()
 Get settings. More...
 

Data Fields

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

Private Attributes

 $type
 
 $tab = array()
 
 $setting = array()
 

Detailed Description

Settings template config class.

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

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

Constructor & Destructor Documentation

◆ __construct()

ilSettingsTemplateConfig::__construct (   $a_obj_type)

Constructor.

Parameters
stringobject type

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

References setType().

28  {
29  $this->setType($a_obj_type);
30  }
+ Here is the call graph for this function:

Member Function Documentation

◆ addHidableTab()

ilSettingsTemplateConfig::addHidableTab (   $a_tab_id,
  $a_text 
)

Add hidable tabs.

Parameters
inttab id
stringtab text

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

References array.

Referenced by ilTestSettingsTemplateConfig\initHidableTabs().

59  {
60  $this->tabs[$a_tab_id] = array(
61  "id" => $a_tab_id,
62  "text" => $a_text
63  );
64  }
Create styles array
The data for the language used.
+ Here is the caller graph for this function:

◆ addSetting()

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

◆ getHidableTabs()

ilSettingsTemplateConfig::getHidableTabs ( )

Get hidable tabs.

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

70  {
71  return $this->tabs;
72  }

◆ getSettings()

ilSettingsTemplateConfig::getSettings ( )

Get settings.

Returns

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

References $setting.

◆ getType()

ilSettingsTemplateConfig::getType ( )

Get type.

Returns
string type

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

References $type.

◆ setType()

ilSettingsTemplateConfig::setType (   $a_val)

Set type.

Parameters
string$a_valtype

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

Referenced by __construct().

38  {
39  $this->type = $a_val;
40  }
+ Here is the caller graph for this function:

Field Documentation

◆ $setting

ilSettingsTemplateConfig::$setting = array()
private

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

Referenced by getSettings().

◆ $tab

ilSettingsTemplateConfig::$tab = array()
private

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

◆ $type

ilSettingsTemplateConfig::$type
private

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

Referenced by getType().

◆ BOOL

◆ CHECKBOX

◆ SELECT

◆ TEXT


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