33 include_once
"./Services/Object/classes/class.ilObject.php";
43 public function __construct($a_id = 0, $a_call_by_reference =
true)
46 parent::__construct($a_id, $a_call_by_reference);
51 $settings = $this->
ilias->getAllSettings();
53 if (!$settings[
"ldap_server"] or !$settings[
"ldap_basedn"] or !$settings[
"ldap_port"]) {
57 $this->
ilias->setSetting(
'ldap_active',
true);
64 $settings = $this->
ilias->getAllSettings();
66 if (!$settings[
"hos_type"] or !$settings[
"shib_user_default_role"] or !$settings[
"shib_login"]
67 or !$settings[
"shib_firstname"] or !$settings[
"shib_lastname"]) {
71 $this->
ilias->setSetting(
'shibboleth_active',
true);
78 $settings = $this->
ilias->getAllSettings();
80 if (!$settings[
"radius_server"] or !$settings[
"radius_shared_secret"] or !$settings[
"radius_port"]) {
84 $this->
ilias->setSetting(
'radius_active',
true);
91 $settings = $this->
ilias->getAllSettings();
93 if (!$settings[
"auth_script_name"]) {
97 $this->
ilias->setSetting(
'script_active',
true);
126 public function delete()
129 if (!parent::delete()) {
update()
update object data
__construct($a_id=0, $a_call_by_reference=true)
Constructor public.
redirection script todo: (a better solution should control the processing via a xml file) ...
update($pash, $contents, Config $config)