Public Member Functions

ilPCTableDataGUI Class Reference

Inheritance diagram for ilPCTableDataGUI:
Collaboration diagram for ilPCTableDataGUI:

Public Member Functions

 ilPCTableDataGUI (&$a_pg_obj, &$a_content_obj, $a_hier_id)
 Constructor public.
executeCommand ()
 execute command
 newRowAfter ()
 insert new row after cell
 newRowBefore ()
 insert new row before cell
 deleteRow ()
 delete a row
 newColAfter ()
 insert new col after cell
 newColBefore ()
 insert new col before cell
 deleteCol ()
 delete column
 moveRowDown ()
 move row down
 moveRowUp ()
 move list item up
 moveColRight ()
 move column right
 moveColLeft ()
 move list item up

Detailed Description

Definition at line 37 of file class.ilPCTableDataGUI.php.


Member Function Documentation

ilPCTableDataGUI::deleteCol (  ) 

delete column

Definition at line 125 of file class.ilPCTableDataGUI.php.

References $_SESSION.

        {
                $this->content_obj->deleteCol();
                $_SESSION["il_pg_error"] = $this->pg_obj->update();
                $this->ctrl->returnToParent($this, "jump".$this->hier_id);
        }

ilPCTableDataGUI::deleteRow (  ) 

delete a row

Definition at line 94 of file class.ilPCTableDataGUI.php.

References $_SESSION.

        {
                $this->content_obj->deleteRow();
                $_SESSION["il_pg_error"] = $this->pg_obj->update();
                $this->ctrl->returnToParent($this, "jump".$this->hier_id);
        }

& ilPCTableDataGUI::executeCommand (  ) 

execute command

Definition at line 52 of file class.ilPCTableDataGUI.php.

References $cmd.

        {
                // get next class that processes or forwards current command
                $next_class = $this->ctrl->getNextClass($this);

                // get current command
                $cmd = $this->ctrl->getCmd();

                switch($next_class)
                {
                        default:
                                $ret =& $this->$cmd();
                                break;
                }

                return $ret;
        }

ilPCTableDataGUI::ilPCTableDataGUI ( &$  a_pg_obj,
&$  a_content_obj,
a_hier_id 
)

Constructor public.

Definition at line 44 of file class.ilPCTableDataGUI.php.

References ilPageContentGUI::ilPageContentGUI().

        {
                parent::ilPageContentGUI($a_pg_obj, $a_content_obj, $a_hier_id);
        }

Here is the call graph for this function:

ilPCTableDataGUI::moveColLeft (  ) 

move list item up

Definition at line 165 of file class.ilPCTableDataGUI.php.

References $_SESSION.

        {
                $this->content_obj->moveColLeft();
                $_SESSION["il_pg_error"] = $this->pg_obj->update();
                $this->ctrl->returnToParent($this, "jump".$this->hier_id);
        }

ilPCTableDataGUI::moveColRight (  ) 

move column right

Definition at line 155 of file class.ilPCTableDataGUI.php.

References $_SESSION.

        {
                $this->content_obj->moveColRight();
                $_SESSION["il_pg_error"] = $this->pg_obj->update();
                $this->ctrl->returnToParent($this, "jump".$this->hier_id);
        }

ilPCTableDataGUI::moveRowDown (  ) 

move row down

Definition at line 135 of file class.ilPCTableDataGUI.php.

References $_SESSION.

        {
                $this->content_obj->moveRowDown();
                $_SESSION["il_pg_error"] = $this->pg_obj->update();
                $this->ctrl->returnToParent($this, "jump".$this->hier_id);
        }

ilPCTableDataGUI::moveRowUp (  ) 

move list item up

Definition at line 145 of file class.ilPCTableDataGUI.php.

References $_SESSION.

        {
                $this->content_obj->moveRowUp();
                $_SESSION["il_pg_error"] = $this->pg_obj->update();
                $this->ctrl->returnToParent($this, "jump".$this->hier_id);
        }

ilPCTableDataGUI::newColAfter (  ) 

insert new col after cell

Definition at line 105 of file class.ilPCTableDataGUI.php.

References $_SESSION.

        {
                $this->content_obj->newColAfter();
                $_SESSION["il_pg_error"] = $this->pg_obj->update();
                $this->ctrl->returnToParent($this, "jump".$this->hier_id);
        }

ilPCTableDataGUI::newColBefore (  ) 

insert new col before cell

Definition at line 115 of file class.ilPCTableDataGUI.php.

References $_SESSION.

        {
                $this->content_obj->newColBefore();
                $_SESSION["il_pg_error"] = $this->pg_obj->update();
                $this->ctrl->returnToParent($this, "jump".$this->hier_id);
        }

ilPCTableDataGUI::newRowAfter (  ) 

insert new row after cell

Definition at line 74 of file class.ilPCTableDataGUI.php.

References $_SESSION.

        {
                $this->content_obj->newRowAfter();
                $_SESSION["il_pg_error"] = $this->pg_obj->update();
                $this->ctrl->returnToParent($this, "jump".$this->hier_id);
        }

ilPCTableDataGUI::newRowBefore (  ) 

insert new row before cell

Definition at line 84 of file class.ilPCTableDataGUI.php.

References $_SESSION.

        {
                $this->content_obj->newRowBefore();
                $_SESSION["il_pg_error"] = $this->pg_obj->update();
                $this->ctrl->returnToParent($this, "jump".$this->hier_id);
        }


The documentation for this class was generated from the following file: