ILIAS
eassessment Revision 61809
|
Class ilPCTableData. More...
Public Member Functions | |
init () | |
Init page content component. | |
newRowAfter () | |
insert new row after cell | |
newRowBefore () | |
insert new row after cell | |
deleteRowContent (&$a_row_node) | |
delete content of cells of a row (not the cells itself) | |
deleteTDContent (&$a_td_node) | |
delete content of a cell (not the cell itself) | |
deleteRow () | |
delete row of cell | |
newColAfter () | |
insert new column after cell | |
newColBefore () | |
insert new column before cell | |
deleteCol () | |
delete column of cell | |
moveRowDown () | |
move row down | |
moveRowUp () | |
move row up | |
moveColRight () | |
move column right | |
moveColLeft () | |
move column left | |
initTablePCNode () | |
Table PC Node. | |
fixHideAndSpans () | |
Fix hide attribute and spans. | |
Public Member Functions inherited from ilPageContent | |
__construct ($a_dom) | |
Constructor. | |
getType () | |
Get type of page content. | |
setNode (&$a_node) | |
Set xml node of page content. | |
& | getNode () |
Get xml node of page content. | |
setHierId ($a_hier_id) | |
Set hierarchical ID in xml structure. | |
getHierId () | |
Get hierarchical id. | |
lookupHierId () | |
Get hierarchical id from dom. | |
readHierId () | |
Read PC Id. | |
setPcId ($a_pcid) | |
Set PC Id. | |
getPCId () | |
Get PC Id. | |
readPCId () | |
Read PC Id. | |
isGreaterHierId ($a, $b) | |
Check whether Hier ID $a is greater than Hier ID $b. | |
setEnabled ($value) | |
Set Enabled value for page content component. | |
enable () | |
Enable page content. | |
disable () | |
Disable page content. | |
isEnabled () | |
Check whether page content is enabled. | |
createPageContentNode ($a_set_this_node=true) | |
Create page content node (always use this method first when adding a new element) |
Data Fields | |
$dom | |
Data Fields inherited from ilPageContent | |
$hier_id | |
$node | |
$dom |
Additional Inherited Members | |
Static Public Member Functions inherited from ilPageContent | |
static | incEdId ($ed_id) |
Increases an hierarchical editing id at lowest level (last number) | |
static | decEdId ($ed_id) |
Decreases an hierarchical editing id at lowest level (last number) | |
static | haveSameContainer ($ed_id1, $ed_id2) |
Check, if two ids are in same container. | |
static | sortHierIds ($a_array) |
Sort an array of Hier IDS in ascending order. | |
Protected Member Functions inherited from ilPageContent | |
setType ($a_type) | |
Set Type. |
Class ilPCTableData.
Table Data content object - a table cell (see ILIAS DTD)
Definition at line 36 of file class.ilPCTableData.php.
ilPCTableData::deleteCol | ( | ) |
delete column of cell
Definition at line 242 of file class.ilPCTableData.php.
References ilPageContent\$hier_id, fixHideAndSpans(), ilPageContent\getHierId(), ilPageContent\getNode(), and initTablePCNode().
ilPCTableData::deleteRow | ( | ) |
delete row of cell
Definition at line 142 of file class.ilPCTableData.php.
References fixHideAndSpans(), ilPageContent\getNode(), and initTablePCNode().
ilPCTableData::deleteRowContent | ( | & | $a_row_node | ) |
delete content of cells of a row (not the cells itself)
private
Definition at line 105 of file class.ilPCTableData.php.
Referenced by newRowAfter(), and newRowBefore().
ilPCTableData::deleteTDContent | ( | & | $a_td_node | ) |
delete content of a cell (not the cell itself)
private
Definition at line 129 of file class.ilPCTableData.php.
Referenced by newColAfter(), and newColBefore().
ilPCTableData::fixHideAndSpans | ( | ) |
Fix hide attribute and spans.
Definition at line 383 of file class.ilPCTableData.php.
Referenced by deleteCol(), deleteRow(), moveColLeft(), moveColRight(), moveRowDown(), moveRowUp(), newColAfter(), newColBefore(), newRowAfter(), and newRowBefore().
ilPCTableData::init | ( | ) |
Init page content component.
Reimplemented from ilPageContent.
Definition at line 43 of file class.ilPCTableData.php.
References ilPageContent\setType().
ilPCTableData::initTablePCNode | ( | ) |
Table PC Node.
Definition at line 372 of file class.ilPCTableData.php.
References ilPageContent\getNode().
Referenced by deleteCol(), deleteRow(), moveColLeft(), moveColRight(), moveRowDown(), moveRowUp(), newColAfter(), newColBefore(), newRowAfter(), and newRowBefore().
ilPCTableData::moveColLeft | ( | ) |
move column left
Definition at line 338 of file class.ilPCTableData.php.
References ilPageContent\$hier_id, fixHideAndSpans(), ilPageContent\getHierId(), ilPageContent\getNode(), and initTablePCNode().
ilPCTableData::moveColRight | ( | ) |
move column right
Definition at line 303 of file class.ilPCTableData.php.
References ilPageContent\$hier_id, fixHideAndSpans(), ilPageContent\getHierId(), ilPageContent\getNode(), and initTablePCNode().
ilPCTableData::moveRowDown | ( | ) |
move row down
Definition at line 273 of file class.ilPCTableData.php.
References fixHideAndSpans(), ilPageContent\getNode(), and initTablePCNode().
ilPCTableData::moveRowUp | ( | ) |
move row up
Definition at line 288 of file class.ilPCTableData.php.
References fixHideAndSpans(), ilPageContent\getNode(), and initTablePCNode().
ilPCTableData::newColAfter | ( | ) |
insert new column after cell
Definition at line 155 of file class.ilPCTableData.php.
References ilPageContent\$hier_id, deleteTDContent(), fixHideAndSpans(), ilPageContent\getHierId(), ilPageContent\getNode(), and initTablePCNode().
ilPCTableData::newColBefore | ( | ) |
insert new column before cell
Definition at line 202 of file class.ilPCTableData.php.
References ilPageContent\$hier_id, deleteTDContent(), fixHideAndSpans(), ilPageContent\getHierId(), ilPageContent\getNode(), and initTablePCNode().
ilPCTableData::newRowAfter | ( | ) |
insert new row after cell
Definition at line 51 of file class.ilPCTableData.php.
References deleteRowContent(), fixHideAndSpans(), ilPageContent\getNode(), and initTablePCNode().
ilPCTableData::newRowBefore | ( | ) |
insert new row after cell
Definition at line 82 of file class.ilPCTableData.php.
References deleteRowContent(), fixHideAndSpans(), ilPageContent\getNode(), and initTablePCNode().
ilPCTableData::$dom |
Definition at line 38 of file class.ilPCTableData.php.