Public Member Functions | |
ilPCListItemGUI (&$a_pg_obj, &$a_content_obj, $a_hier_id) | |
Constructor public. | |
& | executeCommand () |
execute command | |
newItemAfter () | |
insert new list item after current one | |
newItemBefore () | |
insert new list item before current one | |
deleteItem () | |
delete a list item | |
moveItemDown () | |
move list item down | |
moveItemUp () | |
move list item up |
Definition at line 37 of file class.ilPCListItemGUI.php.
ilPCListItemGUI::deleteItem | ( | ) |
delete a list item
Definition at line 94 of file class.ilPCListItemGUI.php.
References $_SESSION.
{ $this->content_obj->deleteItem(); $_SESSION["il_pg_error"] = $this->pg_obj->update(); $this->ctrl->returnToParent($this, "jump".$this->hier_id); }
& ilPCListItemGUI::executeCommand | ( | ) |
ilPCListItemGUI::ilPCListItemGUI | ( | &$ | a_pg_obj, | |
&$ | a_content_obj, | |||
$ | a_hier_id | |||
) |
Constructor public.
Definition at line 44 of file class.ilPCListItemGUI.php.
References ilPageContentGUI::ilPageContentGUI().
{ parent::ilPageContentGUI($a_pg_obj, $a_content_obj, $a_hier_id); }
ilPCListItemGUI::moveItemDown | ( | ) |
move list item down
Definition at line 104 of file class.ilPCListItemGUI.php.
References $_SESSION.
{ $this->content_obj->moveItemDown(); $_SESSION["il_pg_error"] = $this->pg_obj->update(); $this->ctrl->returnToParent($this, "jump".$this->hier_id); }
ilPCListItemGUI::moveItemUp | ( | ) |
move list item up
Definition at line 114 of file class.ilPCListItemGUI.php.
References $_SESSION.
{ $this->content_obj->moveItemUp(); $_SESSION["il_pg_error"] = $this->pg_obj->update(); $this->ctrl->returnToParent($this, "jump".$this->hier_id); }
ilPCListItemGUI::newItemAfter | ( | ) |
insert new list item after current one
Definition at line 74 of file class.ilPCListItemGUI.php.
References $_SESSION.
{ $this->content_obj->newItemAfter(); $_SESSION["il_pg_error"] = $this->pg_obj->update(); $this->ctrl->returnToParent($this, "jump".$this->hier_id); }
ilPCListItemGUI::newItemBefore | ( | ) |
insert new list item before current one
Definition at line 84 of file class.ilPCListItemGUI.php.
References $_SESSION.
{ $this->content_obj->newItemBefore(); $_SESSION["il_pg_error"] = $this->pg_obj->update(); $this->ctrl->returnToParent($this, "jump".$this->hier_id); }