ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilPCTableDataGUI Class Reference

Class ilPCTableDataGUI. More...

+ Inheritance diagram for ilPCTableDataGUI:
+ Collaboration diagram for ilPCTableDataGUI:

Public Member Functions

 ilPCTableDataGUI (&$a_pg_obj, &$a_content_obj, $a_hier_id, $a_pc_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
- Public Member Functions inherited from ilPageContentGUI
 ilPageContentGUI (&$a_pg_obj, &$a_content_obj, $a_hier_id=0, $a_pc_id="")
 Constructor public.
 setStyleId ($a_styleid)
 Set Style Id.
 getStyleId ()
 Get Style Id.
 setEnableInternalLinks ($a_val)
 Set enable internal links.
 getEnableInternalLinks ()
 Get enable internal links.
 setEnableKeywords ($a_val)
 Set enable keywords handling.
 getEnableKeywords ()
 Get enable keywords handling.
 setEnableAnchors ($a_val)
 Set enable anchors.
 getEnableAnchors ()
 Get enable anchors.
 getStyle ()
 Get style object.
 setCharacteristics ($a_chars)
 Set Characteristics.
 getCharacteristics ()
 Get characteristics.
 getHierId ()
 get hierarchical id in dom object
 setHierId ($a_hier_id)
 get hierarchical id in dom object
 getBBMenu ($a_ta_name="par_content")
 Get the bb menu incl.
 delete ()
 delete content element
 moveAfter ()
 move content element after another element
 moveBefore ()
 move content element before another element
 splitPage ()
 split page to new page at specified position
 splitPageNext ()
 split page to next page at specified position
 displayValidationError ()
 display validation errors
 cancelCreate ()
 cancel creating page content
 cancelUpdate ()
 cancel update
 cancel ()
 Cancel.
 deactivate ()
 gui function set enabled if is not enabled and vice versa
 cut ()
 Cut single element.
 copy ()
 Copy single element.
 getTemplateOptions ($a_type)
 Get table templates.

Additional Inherited Members

- Static Public Member Functions inherited from ilPageContentGUI
static _getCommonBBButtons ()
 Get common bb buttons.
- Data Fields inherited from ilPageContentGUI
 $content_obj
 $ilias
 $tpl
 $lng
 $ctrl
 $pg_obj
 $hier_id
 $dom
 $updated
 $target_script
 $return_location
- Protected Member Functions inherited from ilPageContentGUI
 getCharacteristicsOfCurrentStyle ($a_type)
 Get characteristics of current style.
- Static Protected Attributes inherited from ilPageContentGUI
static $common_bb_buttons

Detailed Description

Class ilPCTableDataGUI.

Handles user commands on table data elements (table cells)

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

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

Member Function Documentation

ilPCTableDataGUI::deleteCol ( )

delete column

Definition at line 106 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 75 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 33 of file class.ilPCTableDataGUI.php.

References $cmd, and $ret.

{
// 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,
  $a_pc_id = "" 
)

Constructor public.

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

References ilPageContentGUI\ilPageContentGUI().

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

+ Here is the call graph for this function:

ilPCTableDataGUI::moveColLeft ( )

move list item up

Definition at line 146 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 136 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 116 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 126 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 86 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 96 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 55 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 65 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: