24 require_once(
"./Services/COPage/classes/class.ilPageContent.php");
54 $new_li =& $this->dom->create_element(
"ListItem");
55 if ($next_li =&
$li->next_sibling())
57 $new_li =& $next_li->insert_before($new_li, $next_li);
61 $parent_list =&
$li->parent_node();
62 $new_li =& $parent_list->append_child($new_li);
73 $new_li =& $this->dom->create_element(
"ListItem");
74 $new_li =&
$li->insert_before($new_li,
$li);
83 $parent_node = $this->
getNode()->parent_node();
84 $cnt = count($parent_node->child_nodes());
88 $grandma = $parent_node->parent_node();
89 $grandma->unlink($grandma);
104 $next =&
$li->next_sibling();
105 $next_copy = $next->clone_node(
true);
106 $next_copy =&
$li->insert_before($next_copy,
$li);
107 $next->unlink($next);
116 $prev =&
$li->previous_sibling();
117 $li_copy =
$li->clone_node(
true);
118 $li_copy =& $prev->insert_before($li_copy, $prev);