4 require_once
"./Services/Object/classes/class.ilObject.php";
24 $this->
ilObject($a_id,$a_call_by_reference);
35 if (!parent::update())
60 include_once(
"./Services/Block/classes/class.ilExternalFeedBlock.php");
62 $new_feed_block->setContextObjId($new_obj->getId());
63 $new_feed_block->setContextObjType(
"feed");
67 $new_feed_block->setFeedUrl($fb->getFeedUrl());
68 $new_feed_block->setTitle($fb->getTitle());
70 $new_feed_block->create();
84 if (!parent::delete())
92 include_once(
"./Services/Block/classes/class.ilCustomBlock.php");
94 $costum_block->setContextObjId($this->
getId());
95 $costum_block->setContextObjType($this->
getType());
96 $c_blocks = $costum_block->queryBlocksForContext();
98 include_once(
"./Services/Block/classes/class.ilExternalFeedBlock.php");
99 foreach($c_blocks as $c_block)
101 if ($c_block[
"type"] ==
"feed")
105 include_once(
"./Services/Block/classes/class.ilBlockSetting.php");
120 include_once(
"./Services/Block/classes/class.ilCustomBlock.php");
122 $costum_block->setContextObjId($this->
getId());
123 $costum_block->setContextObjType($this->
getType());
124 $c_blocks = $costum_block->queryBlocksForContext();
126 include_once(
"./Services/Block/classes/class.ilExternalFeedBlock.php");
127 foreach($c_blocks as $c_block)
129 if ($c_block[
"type"] ==
"feed")
153 function notify($a_event,$a_ref_id,$a_parent_non_rbac_id,$a_node_id,$a_params = 0)
193 if ($a_node_id==
$_GET[
"ref_id"])
195 $parent_obj =& $this->ilias->obj_factory->getInstanceByRefId($a_node_id);
196 $parent_type = $parent_obj->getType();
197 if($parent_type == $this->
getType())
199 $a_node_id = (int) $tree->getParentId($a_node_id);
203 parent::notify($a_event,$a_ref_id,$a_parent_non_rbac_id,$a_node_id,$a_params);