24 require_once(
"./Services/COPage/classes/class.ilPCListItem.php");
25 require_once(
"./Services/COPage/classes/class.ilPageContentGUI.php");
44 function __construct(&$a_pg_obj, &$a_content_obj, $a_hier_id, $a_pc_id =
"")
46 parent::__construct($a_pg_obj, $a_content_obj, $a_hier_id, $a_pc_id);
55 $next_class = $this->ctrl->getNextClass($this);
58 $cmd = $this->ctrl->getCmd();
76 $this->content_obj->newItemAfter();
77 $_SESSION[
"il_pg_error"] = $this->pg_obj->update();
78 $this->ctrl->returnToParent($this,
"jump".$this->hier_id);
86 $this->content_obj->newItemBefore();
87 $_SESSION[
"il_pg_error"] = $this->pg_obj->update();
88 $this->ctrl->returnToParent($this,
"jump".$this->hier_id);
96 $this->content_obj->deleteItem();
97 $_SESSION[
"il_pg_error"] = $this->pg_obj->update();
98 $this->ctrl->returnToParent($this,
"jump".$this->hier_id);
106 $this->content_obj->moveItemDown();
107 $_SESSION[
"il_pg_error"] = $this->pg_obj->update();
108 $this->ctrl->returnToParent($this,
"jump".$this->hier_id);
116 $this->content_obj->moveItemUp();
117 $_SESSION[
"il_pg_error"] = $this->pg_obj->update();
118 $this->ctrl->returnToParent($this,
"jump".$this->hier_id);
moveItemDown()
move list item down
moveItemUp()
move list item up
newItemBefore()
insert new list item before current one
deleteItem()
delete a list item
User Interface for Editing of Page Content Objects (Paragraphs, Tables, ...)
newItemAfter()
insert new list item after current one
executeCommand()
execute command
__construct(&$a_pg_obj, &$a_content_obj, $a_hier_id, $a_pc_id="")
Constructor public.