33 include_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())
167 return $roles ? $roles : array();
183 function notify($a_event,$a_ref_id,$a_parent_non_rbac_id,$a_node_id,$a_params = 0)
223 if ($a_node_id==
$_GET[
"ref_id"])
225 $parent_obj =& $this->
ilias->obj_factory->getInstanceByRefId($a_node_id);
226 $parent_type = $parent_obj->getType();
227 if($parent_type == $this->
getType())
229 $a_node_id = (int) $tree->getParentId($a_node_id);
233 parent::notify($a_event,$a_ref_id,$a_parent_non_rbac_id,$a_node_id,$a_params);
update()
update object data
Class ilObject Basic functions for all objects.
ilObject($a_id=0, $a_reference=true)
Constructor 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...
initDefaultRoles()
init default roles settings
redirection script todo: (a better solution should control the processing via a xml file) ...
getType()
get object type public
ilObjAuthSettings($a_id=0, $a_call_by_reference=true)
Constructor public.