33include_once
"./Services/Object/classes/class.ilObject.php";
46 $this->
ilObject($a_id,$a_call_by_reference);
51 $settings = $this->
ilias->getAllSettings();
53 if (!$settings[
"ldap_server"] or !$settings[
"ldap_basedn"] or !$settings[
"ldap_port"])
58 $this->
ilias->setSetting(
'ldap_active',
true);
65 $settings = $this->
ilias->getAllSettings();
67 if (!$settings[
"hos_type"] or !$settings[
"shib_user_default_role"] or !$settings[
"shib_login"]
68 or !$settings[
"shib_firstname"] or !$settings[
"shib_lastname"])
73 $this->
ilias->setSetting(
'shibboleth_active',
true);
80 $settings = $this->
ilias->getAllSettings();
82 if (!$settings[
"radius_server"] or !$settings[
"radius_shared_secret"] or !$settings[
"radius_port"])
87 $this->
ilias->setSetting(
'radius_active',
true);
94 $settings = $this->
ilias->getAllSettings();
96 if (!$settings[
"auth_script_name"])
101 $this->
ilias->setSetting(
'script_active',
true);
114 if (!parent::update())
134 if (!parent::delete())
158 function notify($a_event,$a_ref_id,$a_parent_non_rbac_id,$a_node_id,$a_params = 0)
198 if ($a_node_id==
$_GET[
"ref_id"])
200 $parent_obj =& $this->
ilias->obj_factory->getInstanceByRefId($a_node_id);
201 $parent_type = $parent_obj->getType();
202 if($parent_type == $this->
getType())
204 $a_node_id = (int) $tree->getParentId($a_node_id);
208 parent::notify($a_event,$a_ref_id,$a_parent_non_rbac_id,$a_node_id,$a_params);
ilObjAuthSettings($a_id=0, $a_call_by_reference=true)
Constructor @access public.
notify($a_event, $a_ref_id, $a_parent_non_rbac_id, $a_node_id, $a_params=0)
notifys an object about an event occured Based on the event happend, each object may decide how it re...
update()
update object data
Class ilObject Basic functions for all objects.
getType()
get object type @access public
ilObject($a_id=0, $a_reference=true)
Constructor @access public.
redirection script todo: (a better solution should control the processing via a xml file)