5 require_once(
"./Services/COPage/classes/class.ilPageContent.php");
35 $new_tab = $this->dom->create_element(
"Tab");
36 if ($next_tab = $tab->next_sibling()) {
37 $new_tab = $next_tab->insert_before($new_tab, $next_tab);
39 $parent_tabs = $tab->parent_node();
40 $new_tab = $parent_tabs->append_child($new_tab);
51 $new_tab = $this->dom->create_element(
"Tab");
52 $new_tab = $tab->insert_before($new_tab, $tab);
71 $next = $tab->next_sibling();
72 $next_copy = $next->clone_node(
true);
73 $next_copy = $tab->insert_before($next_copy, $tab);
83 $prev = $tab->previous_sibling();
84 $tab_copy = $tab->clone_node(
true);
85 $tab_copy = $prev->insert_before($tab_copy, $prev);
moveItemUp()
move tab item up
& getNode()
Get xml node of page content.
setType($a_type)
Set Type.
newItemBefore()
insert new tab item before current one
moveItemDown()
move tab item down
init()
Init page content component.
newItemAfter()
insert new tab item after current one