4include_once 
'./Services/WebServices/ECS/classes/class.ilECSServerSettings.php';
 
   39        $ilTabs = 
$DIC[
'ilTabs'];
 
   41        $this->server_id = $a_server_id;
 
   46        $this->lng->loadLanguageModule(
'ecs');
 
   48        $this->tabs = $ilTabs;
 
  117        $this->
getCtrl()->saveParameter($this, 
'server_id');
 
  118        $this->
getCtrl()->saveParameter($this, 
'mid');
 
  121        $next_class = $this->ctrl->getNextClass($this);
 
  122        $cmd = $this->ctrl->getCmd(
'settings');
 
  125        switch ($next_class) {
 
  140        $this->
getCtrl()->returnToParent($this);
 
  162        if (
$form->checkInput()) {
 
  171            ilUtil::sendSuccess($this->
getLang()->txt(
'settings_saved'), 
true);
 
  172            $this->
getCtrl()->redirect($this, 
'settings');
 
  175        $form->setValuesByPost();
 
  185        include_once 
'./Services/Form/classes/class.ilPropertyFormGUI.php';
 
  187        $form->setFormAction($this->
getCtrl()->getFormAction($this));
 
  192        $token->setInfo($this->
getLang()->txt(
'ecs_token_mechanism_info'));
 
  198        $dtoken->setInfo($this->
getLang()->txt(
'ecs_deprecated_token_info'));
 
  199        $dtoken->setValue(1);
 
  200        $dtoken->setChecked($this->
getParticipant()->isDeprecatedTokenEnabled());
 
  201        $form->addItem($dtoken);
 
  205        $export->setValue(1);
 
  207        $form->addItem($export);
 
  214        include_once 
'./Services/WebServices/ECS/classes/class.ilECSUtils.php';
 
  218        $export->addSubItem($obj_types);
 
  223        $import->setValue(1);
 
  225        $form->addItem($import);
 
  232        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';
 
An exception for terminatinating execution or to throw for unit testing.
This class represents an option in a checkbox group.
settings(ilPropertyFormGUI $form=null)
Settings.
executeCommand()
Execute command.
saveSettings()
Save settings.
initParticipant()
init participant
getLang()
return ilLanguage
initSettings()
Init settings.
initFormSettings()
Init settings form.
__construct($a_server_id, $a_mid)
Constructor.
static getInstanceByServerId($a_server_id)
Get singleton instance per server.
static getPossibleRemoteTypes($a_with_captions=false)
Get all possible remote object types.
static getPossibleReleaseTypes($a_with_captions=false)
Get all possible release object types.
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
if(isset($_POST['submit'])) $form