4 include_once
'./Services/WebServices/ECS/classes/class.ilECSServerSettings.php';
36 $this->server_id = $a_server_id;
41 $this->lng->loadLanguageModule(
'ecs');
43 $this->tabs = $ilTabs;
112 $this->
getCtrl()->saveParameter($this,
'server_id');
113 $this->
getCtrl()->saveParameter($this,
'mid');
116 $next_class = $this->ctrl->getNextClass($this);
117 $cmd = $this->ctrl->getCmd(
'settings');
136 $this->
getCtrl()->returnToParent($this);
150 $this->
getTemplate()->setContent($form->getHTML());
159 if($form->checkInput())
162 $this->
getParticipant()->enableDeprecatedToken($form->getInput(
'dtoken'));
164 $this->
getParticipant()->setExportTypes($form->getInput(
'export_types'));
166 $this->
getParticipant()->setImportTypes($form->getInput(
'import_types'));
170 $this->
getCtrl()->redirect($this,
'settings');
173 $form->setValuesByPost();
183 include_once
'./Services/Form/classes/class.ilPropertyFormGUI.php';
185 $form->setFormAction($this->
getCtrl()->getFormAction($this));
190 $token->setInfo($this->
getLang()->txt(
'ecs_token_mechanism_info'));
193 $form->addItem($token);
196 $dtoken->setInfo($this->
getLang()->txt(
'ecs_deprecated_token_info'));
197 $dtoken->setValue(1);
198 $dtoken->setChecked($this->
getParticipant()->isDeprecatedTokenEnabled());
199 $form->addItem($dtoken);
203 $export->setValue(1);
205 $form->addItem($export);
212 include_once
'./Services/WebServices/ECS/classes/class.ilECSUtils.php';
217 $export->addSubItem($obj_types);
222 $import->setValue(1);
224 $form->addItem($import);
231 include_once
'./Services/WebServices/ECS/classes/class.ilECSUtils.php';
236 $import->addSubItem($imp_types);
238 $form->addCommandButton(
'saveSettings', $this->
getLang()->txt(
'save'));
239 $form->addCommandButton(
'abort', $this->
getLang()->txt(
'cancel'));
249 $this->tabs->clearTargets();
250 $this->tabs->setBackTarget(
251 $this->lng->txt(
'back'),
252 $this->ctrl->getParentReturn($this)
263 include_once(
'Services/WebServices/ECS/classes/class.ilECSSetting.php');
272 include_once
'./Services/WebServices/ECS/classes/class.ilECSParticipantSetting.php';
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.
static getPossibleReleaseTypes($a_with_captions=false)
Get all possible release object types.
__construct($a_server_id, $a_mid)
Constructor.
static getPossibleRemoteTypes($a_with_captions=false)
Get all possible remote object types.
static getInstanceByServerId($a_server_id)
Get singleton instance per server.
This class represents an option in a checkbox group.
initParticipant()
init participant
executeCommand()
Execute command.
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
getLang()
return ilLanguage
initSettings()
Init settings.
settings(ilPropertyFormGUI $form=null)
Settings.
saveSettings()
Save settings.
initFormSettings()
Init settings form.