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');
120 switch ($next_class) {
135 $this->
getCtrl()->returnToParent($this);
157 if (
$form->checkInput()) {
167 $this->
getCtrl()->redirect($this,
'settings');
170 $form->setValuesByPost();
180 include_once
'./Services/Form/classes/class.ilPropertyFormGUI.php';
182 $form->setFormAction($this->
getCtrl()->getFormAction($this));
187 $token->setInfo($this->
getLang()->txt(
'ecs_token_mechanism_info'));
190 $form->addItem($token);
193 $dtoken->setInfo($this->
getLang()->txt(
'ecs_deprecated_token_info'));
194 $dtoken->setValue(1);
195 $dtoken->setChecked($this->
getParticipant()->isDeprecatedTokenEnabled());
196 $form->addItem($dtoken);
200 $export->setValue(1);
202 $form->addItem($export);
209 include_once
'./Services/WebServices/ECS/classes/class.ilECSUtils.php';
213 $export->addSubItem($obj_types);
218 $import->setValue(1);
220 $form->addItem($import);
227 include_once
'./Services/WebServices/ECS/classes/class.ilECSUtils.php';
231 $import->addSubItem($imp_types);
233 $form->addCommandButton(
'saveSettings', $this->
getLang()->txt(
'save'));
234 $form->addCommandButton(
'abort', $this->
getLang()->txt(
'cancel'));
244 $this->tabs->clearTargets();
245 $this->tabs->setBackTarget(
246 $this->lng->txt(
'back'),
247 $this->ctrl->getParentReturn($this)
258 include_once(
'Services/WebServices/ECS/classes/class.ilECSSetting.php');
267 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.
if(isset($_POST['submit'])) $form
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.