ILIAS
release_4-3 Revision
|
Settings template. More...
Public Member Functions | |
__construct ($a_config) | |
Constructor. | |
executeCommand () | |
Execute command. | |
setConfig ($a_val) | |
Set config object. | |
getConfig () | |
Get config object. | |
readSettingsTemplate () | |
Read settings template. | |
listSettingsTemplates () | |
List all settings template. | |
addSettingsTemplate () | |
Add settings template. | |
editSettingsTemplate () | |
Edit settings template. | |
initSettingsTemplateForm ($a_mode="edit") | |
Init settings template form. | |
getSettingsTemplateValues () | |
Get current values for settings template from. | |
saveSettingsTemplate () | |
Save settings template form. | |
updateSettingsTemplate () | |
Update settings template. | |
setValuesFromForm ($a_set_templ) | |
Set values from form. | |
confirmSettingsTemplateDeletion () | |
Confirm settings template deletion. | |
deleteSettingsTemplate () | |
Delete settings template. |
Private Attributes | |
$config |
ilSettingsTemplateGUI::__construct | ( | $a_config | ) |
Constructor.
@return |
Definition at line 23 of file class.ilSettingsTemplateGUI.php.
References $ilCtrl, readSettingsTemplate(), and setConfig().
ilSettingsTemplateGUI::addSettingsTemplate | ( | ) |
Add settings template.
Definition at line 104 of file class.ilSettingsTemplateGUI.php.
References $tpl, and initSettingsTemplateForm().
ilSettingsTemplateGUI::confirmSettingsTemplateDeletion | ( | ) |
Confirm settings template deletion.
Definition at line 357 of file class.ilSettingsTemplateGUI.php.
References $_POST, $ilCtrl, $lng, $tpl, ilSettingsTemplate\lookupTitle(), and ilUtil\sendInfo().
ilSettingsTemplateGUI::deleteSettingsTemplate | ( | ) |
Delete settings template.
@return |
Definition at line 390 of file class.ilSettingsTemplateGUI.php.
References $_POST, $ilCtrl, $lng, and ilUtil\sendSuccess().
ilSettingsTemplateGUI::editSettingsTemplate | ( | ) |
Edit settings template.
Definition at line 115 of file class.ilSettingsTemplateGUI.php.
References $tpl, getSettingsTemplateValues(), and initSettingsTemplateForm().
ilSettingsTemplateGUI::executeCommand | ( | ) |
ilSettingsTemplateGUI::getConfig | ( | ) |
Get config object.
Definition at line 60 of file class.ilSettingsTemplateGUI.php.
References $config.
Referenced by getSettingsTemplateValues(), initSettingsTemplateForm(), listSettingsTemplates(), readSettingsTemplate(), saveSettingsTemplate(), and setValuesFromForm().
ilSettingsTemplateGUI::getSettingsTemplateValues | ( | ) |
Get current values for settings template from.
Definition at line 235 of file class.ilSettingsTemplateGUI.php.
References $t, ilSettingsTemplateConfig\CHECKBOX, and getConfig().
Referenced by editSettingsTemplate().
ilSettingsTemplateGUI::initSettingsTemplateForm | ( | $a_mode = "edit" | ) |
Init settings template form.
int | $a_mode | Edit Mode |
Definition at line 129 of file class.ilSettingsTemplateGUI.php.
References $ilCtrl, $lng, $si, $t, ilCheckboxGroupInputGUI\addOption(), ilSubEnabledFormPropertyGUI\addSubItem(), ilSettingsTemplateConfig\BOOL, ilSettingsTemplateConfig\CHECKBOX, getConfig(), ilSettingsTemplateConfig\SELECT, ilTextInputGUI\setMaxLength(), and ilSettingsTemplateConfig\TEXT.
Referenced by addSettingsTemplate(), editSettingsTemplate(), saveSettingsTemplate(), and updateSettingsTemplate().
ilSettingsTemplateGUI::listSettingsTemplates | ( | ) |
List all settings template.
@return |
Definition at line 87 of file class.ilSettingsTemplateGUI.php.
References $ilCtrl, $lng, $tpl, and getConfig().
ilSettingsTemplateGUI::readSettingsTemplate | ( | ) |
Read settings template.
@return |
Definition at line 71 of file class.ilSettingsTemplateGUI.php.
References $_GET, and getConfig().
Referenced by __construct().
ilSettingsTemplateGUI::saveSettingsTemplate | ( | ) |
Save settings template form.
Definition at line 277 of file class.ilSettingsTemplateGUI.php.
References $ilCtrl, $lng, $tpl, getConfig(), initSettingsTemplateForm(), ilUtil\sendSuccess(), and setValuesFromForm().
ilSettingsTemplateGUI::setConfig | ( | $a_val | ) |
Set config object.
object | $a_val | config object |
Definition at line 50 of file class.ilSettingsTemplateGUI.php.
Referenced by __construct().
ilSettingsTemplateGUI::setValuesFromForm | ( | $a_set_templ | ) |
Set values from form.
@return |
Definition at line 325 of file class.ilSettingsTemplateGUI.php.
References $_POST, $t, and getConfig().
Referenced by saveSettingsTemplate(), and updateSettingsTemplate().
ilSettingsTemplateGUI::updateSettingsTemplate | ( | ) |
Update settings template.
Definition at line 301 of file class.ilSettingsTemplateGUI.php.
References $ilCtrl, $lng, $tpl, initSettingsTemplateForm(), ilUtil\sendSuccess(), and setValuesFromForm().
|
private |
Definition at line 15 of file class.ilSettingsTemplateGUI.php.
Referenced by getConfig().