4 include_once
'./Services/WebServices/FileManager/classes/class.ilFMSettings.php';
23 $this->parent_obj = $a_parent_gui;
36 $next_class =
$ilCtrl->getNextClass();
38 switch ($next_class) {
73 include_once
'./Services/WebServices/FileManager/classes/class.ilFMSettings.php';
77 if (
$form->checkInput()) {
78 $settings->enable(
$form->getInput(
'active'));
79 $settings->enableLocalFS(
$form->getInput(
'local'));
80 $settings->setMaxFileSize(
$form->getInput(
'filesize'));
83 ilUtil::sendSuccess(
$GLOBALS[
'DIC'][
'lng']->txt(
'settings_saved'),
true);
84 $GLOBALS[
'DIC'][
'ilCtrl']->redirect($this,
'settings');
97 include_once
'./Services/Form/classes/class.ilPropertyFormGUI.php';
101 $form->addCommandButton(
'update',
$GLOBALS[
'DIC'][
'lng']->txt(
'save'));
102 $form->addCommandButton(
'settings',
$GLOBALS[
'DIC'][
'lng']->txt(
'cancel'));
106 $active->setInfo(
$GLOBALS[
'DIC'][
'lng']->txt(
'fm_settings_active_info'));
107 $active->setValue(1);
109 $form->addItem($active);
113 $local->setInfo(
$GLOBALS[
'DIC'][
'lng']->txt(
'fm_settings_local_info'));
116 $form->addItem($local);
119 $fs->setSuffix(
'MiB');
121 $fs->setMaxLength(3);
123 $fs->setMaxValue(999);
124 $fs->setInfo(
$GLOBALS[
'DIC'][
'lng']->txt(
'fm_settings_filesize_info'));
getParentObject()
Get parent gui.
initSettingsForm()
Init settings form.
__construct($a_parent_gui)
Constructor.
if(isset($_POST['submit'])) $form
static getInstance()
Get singleton instance.
executeCommand()
Execute command ilCtrl $ilCtrl.
$GLOBALS['JPEG_Segment_Names']
Global Variable: XMP_tag_captions.