| ILIAS
    Release_4_3_x_branch Revision 61807
    | 
Settings template application class. More...
 Collaboration diagram for ilSettingsTemplate:
 Collaboration diagram for ilSettingsTemplate:| Public Member Functions | |
| __construct ($a_id=0, $config=null) | |
| Constructor. | |
| setId ($a_val) | |
| Set id. | |
| getId () | |
| Get id. | |
| setTitle ($a_val) | |
| Set title. | |
| getTitle () | |
| Get title. | |
| setType ($a_val) | |
| Set type. | |
| getType () | |
| Get type. | |
| setDescription ($a_val) | |
| Set description. | |
| getDescription () | |
| Get description. | |
| setSetting ($a_setting, $a_value, $a_hide=false) | |
| Set setting. | |
| removeSetting ($a_setting) | |
| Remove setting. | |
| removeAllSettings () | |
| Remove all settings. | |
| getSettings () | |
| Get settings. | |
| addHiddenTab ($a_tab_id) | |
| Add hidden tab. | |
| removeAllHiddenTabs () | |
| Remove all hidden tabs. | |
| getHiddenTabs () | |
| Get hidden tabs. | |
| getConfig () | |
| Returns the template config associated with this template or NULL if none is given. | |
| setConfig (ilSettingsTemplateConfig $config) | |
| Sets the template config for this template. | |
| read () | |
| Read. | |
| create () | |
| Create settings template. | |
| update () | |
| Update settings template. | |
| insertHiddenTabs () | |
| Insert hidden tabs. | |
| delete () | |
| Delete settings template. | |
| Static Public Member Functions | |
| static | getAllSettingsTemplates ($a_type) | 
| Get all settings templates of type. | |
| static | lookupTitle ($a_id) | 
| Lookup title. | |
| Static Protected Member Functions | |
| static | lookupProperty ($a_id, $a_prop) | 
| Lookup property. | |
| Private Member Functions | |
| insertSettings () | |
| Insert settings to db. | |
| Private Attributes | |
| $id | |
| $type | |
| $title | |
| $description | |
| $setting = array() | |
| $hidden_tab = array() | |
| $config | |
Settings template application class.
Definition at line 11 of file class.ilSettingsTemplate.php.
| ilSettingsTemplate::__construct | ( | $a_id = 0, | |
| $config = null | |||
| ) | 
| ilSettingsTemplate::addHiddenTab | ( | $a_tab_id | ) | 
Add hidden tab.
| string | tab id | 
Definition at line 180 of file class.ilSettingsTemplate.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSettingsTemplate::create | ( | ) | 
Create settings template.
Definition at line 263 of file class.ilSettingsTemplate.php.
References getDescription(), getId(), getTitle(), getType(), insertHiddenTabs(), insertSettings(), and setId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilSettingsTemplate::delete | ( | ) | 
Delete settings template.
Definition at line 353 of file class.ilSettingsTemplate.php.
| 
 | static | 
Get all settings templates of type.
| string | $a_type | object type | 
Definition at line 373 of file class.ilSettingsTemplate.php.
Referenced by ilSettingsTemplateTableGUI\__construct(), ilObjSurveyGUI\addDidacticTemplateOptions(), ilObjTestGUI\addDidacticTemplateOptions(), and ilObjSurveyGUI\importFileObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSettingsTemplate::getConfig | ( | ) | 
Returns the template config associated with this template or NULL if none is given.
Definition at line 207 of file class.ilSettingsTemplate.php.
References $config.
Referenced by setSetting().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSettingsTemplate::getDescription | ( | ) | 
Get description.
Definition at line 117 of file class.ilSettingsTemplate.php.
References $description.
Referenced by create(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSettingsTemplate::getHiddenTabs | ( | ) | 
Get hidden tabs.
Definition at line 196 of file class.ilSettingsTemplate.php.
References $hidden_tab.
Referenced by insertHiddenTabs().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSettingsTemplate::getId | ( | ) | 
| ilSettingsTemplate::getSettings | ( | ) | 
Get settings.
Definition at line 169 of file class.ilSettingsTemplate.php.
References $setting.
Referenced by insertSettings().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSettingsTemplate::getTitle | ( | ) | 
Get title.
Definition at line 77 of file class.ilSettingsTemplate.php.
References $title.
Referenced by create(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSettingsTemplate::getType | ( | ) | 
Get type.
Definition at line 97 of file class.ilSettingsTemplate.php.
References $type.
Referenced by create(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSettingsTemplate::insertHiddenTabs | ( | ) | 
Insert hidden tabs.
Definition at line 336 of file class.ilSettingsTemplate.php.
References getHiddenTabs().
Referenced by create(), and update().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Insert settings to db.
Definition at line 317 of file class.ilSettingsTemplate.php.
References getSettings().
Referenced by create(), and update().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | staticprotected | 
Lookup property.
| id | level id | 
Definition at line 396 of file class.ilSettingsTemplate.php.
Referenced by lookupTitle().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Lookup title.
| @return | 
Definition at line 413 of file class.ilSettingsTemplate.php.
References lookupProperty().
Referenced by ilSettingsTemplateGUI\confirmSettingsTemplateDeletion(), and ilObjSurveyGUI\propertiesObject().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSettingsTemplate::read | ( | ) | 
Read.
| @return | 
Definition at line 227 of file class.ilSettingsTemplate.php.
References addHiddenTab(), setDescription(), setSetting(), setTitle(), and setType().
Referenced by __construct().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSettingsTemplate::removeAllHiddenTabs | ( | ) | 
Remove all hidden tabs.
Definition at line 188 of file class.ilSettingsTemplate.php.
| ilSettingsTemplate::removeAllSettings | ( | ) | 
Remove all settings.
Definition at line 161 of file class.ilSettingsTemplate.php.
| ilSettingsTemplate::removeSetting | ( | $a_setting | ) | 
Remove setting.
| string | setting | 
Definition at line 153 of file class.ilSettingsTemplate.php.
| ilSettingsTemplate::setConfig | ( | ilSettingsTemplateConfig | $config | ) | 
Sets the template config for this template.
| ilSettingsTemplateConfig | $config | 
Definition at line 216 of file class.ilSettingsTemplate.php.
References $config.
Referenced by __construct().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSettingsTemplate::setDescription | ( | $a_val | ) | 
Set description.
| string | $a_val | description | 
Definition at line 107 of file class.ilSettingsTemplate.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSettingsTemplate::setId | ( | $a_val | ) | 
Set id.
| integer | id | 
Definition at line 47 of file class.ilSettingsTemplate.php.
Referenced by __construct(), and create().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSettingsTemplate::setSetting | ( | $a_setting, | |
| $a_value, | |||
| $a_hide = false | |||
| ) | 
Set setting.
| string | setting | 
| mixed | value | 
| boolean | hide the setting? | 
Definition at line 129 of file class.ilSettingsTemplate.php.
References ilSettingsTemplateConfig\CHECKBOX, and getConfig().
Referenced by read().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSettingsTemplate::setTitle | ( | $a_val | ) | 
Set title.
| string | title | 
Definition at line 67 of file class.ilSettingsTemplate.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSettingsTemplate::setType | ( | $a_val | ) | 
Set type.
| string | $a_val | type | 
Definition at line 87 of file class.ilSettingsTemplate.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSettingsTemplate::update | ( | ) | 
Update settings template.
Definition at line 287 of file class.ilSettingsTemplate.php.
References getDescription(), getId(), getTitle(), getType(), insertHiddenTabs(), and insertSettings().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Definition at line 24 of file class.ilSettingsTemplate.php.
Referenced by __construct(), getConfig(), and setConfig().
| 
 | private | 
Definition at line 16 of file class.ilSettingsTemplate.php.
Referenced by getDescription().
| 
 | private | 
Definition at line 18 of file class.ilSettingsTemplate.php.
Referenced by getHiddenTabs().
| 
 | private | 
Definition at line 13 of file class.ilSettingsTemplate.php.
Referenced by getId().
| 
 | private | 
Definition at line 17 of file class.ilSettingsTemplate.php.
Referenced by getSettings().
| 
 | private | 
Definition at line 15 of file class.ilSettingsTemplate.php.
Referenced by getTitle().
| 
 | private | 
Definition at line 14 of file class.ilSettingsTemplate.php.
Referenced by getType().