24 require_once
"./classes/class.ilObject.php";
46 include_once
"./Services/Administration/classes/class.ilSetting.php";
47 $this->setting =
new ilSetting(
"advanced_editing");
49 $this->
ilObject($a_id,$a_call_by_reference);
60 if (!parent::update())
80 if (!parent::delete())
113 return $roles ? $roles : array();
129 function notify($a_event,$a_ref_id,$a_parent_non_rbac_id,$a_node_id,$a_params = 0)
169 if ($a_node_id==
$_GET[
"ref_id"])
171 $parent_obj =& $this->ilias->obj_factory->getInstanceByRefId($a_node_id);
172 $parent_type = $parent_obj->getType();
173 if($parent_type == $this->
getType())
175 $a_node_id = (int) $tree->getParentId($a_node_id);
179 parent::notify($a_event,$a_ref_id,$a_parent_non_rbac_id,$a_node_id,$a_params);
193 include_once
"./Services/Administration/classes/class.ilSetting.php";
195 $tags =
$setting->get(
"advanced_editing_used_html_tags_" . $a_module);
198 $usedtags = unserialize($tags);
250 foreach ($tags as $tag)
266 include_once
"./Services/Administration/classes/class.ilSetting.php";
268 $js =
$setting->get(
"advanced_editing_javascript_editor");
281 include_once
"./Services/Administration/classes/class.ilSetting.php";
283 $setting->set(
"advanced_editing_javascript_editor", $a_js_editor);
296 if (strlen($a_module))
298 include_once
"./Services/Administration/classes/class.ilSetting.php";
300 $setting->set(
"advanced_editing_used_html_tags_" . $a_module, serialize($a_html_tags));
468 foreach ($tags as $tag)
485 $ilUser->writePref(
"show_rte", $a_state);
498 if (strlen($ilUser->getPref(
"show_rte")) > 0)
500 return $ilUser->getPref(
"show_rte");