ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilPCTableData. More...
Public Member Functions | |
init () | |
Init page content component. More... | |
newRowAfter () | |
insert new row after cell More... | |
newRowBefore () | |
insert new row after cell More... | |
deleteRowContent (&$a_row_node) | |
delete content of cells of a row (not the cells itself) More... | |
deleteTDContent (&$a_td_node) | |
delete content of a cell (not the cell itself) More... | |
deleteRow () | |
delete row of cell More... | |
newColAfter () | |
insert new column after cell More... | |
newColBefore () | |
insert new column before cell More... | |
deleteCol () | |
delete column of cell More... | |
moveRowDown () | |
move row down More... | |
moveRowUp () | |
move row up More... | |
moveColRight () | |
move column right More... | |
moveColLeft () | |
move column left More... | |
initTablePCNode () | |
Table PC Node. More... | |
fixHideAndSpans () | |
Fix hide attribute and spans. More... | |
Public Member Functions inherited from ilPageContent | |
__construct ($a_pg_obj) | |
Constructor. More... | |
setPage ($a_val) | |
Set page. More... | |
getPage () | |
Get page. More... | |
init () | |
Init object. More... | |
getType () | |
Get type of page content. More... | |
setNode ($a_node) | |
Set xml node of page content. More... | |
& | getNode () |
Get xml node of page content. More... | |
getJavascriptFiles ($a_mode) | |
Get Javascript files. More... | |
getCssFiles ($a_mode) | |
Get css files. More... | |
getOnloadCode ($a_mode) | |
Get on load code. More... | |
setHierId ($a_hier_id) | |
Set hierarchical ID in xml structure. More... | |
getHierId () | |
Get hierarchical id. More... | |
lookupHierId () | |
Get hierarchical id from dom. More... | |
readHierId () | |
Read PC Id. More... | |
setPcId ($a_pcid) | |
Set PC Id. More... | |
getPCId () | |
Get PC Id. More... | |
setFileDownloadLink ($a_download_link) | |
Set file download link. More... | |
getFileDownloadLink () | |
Get file download link. More... | |
setFullscreenLink ($a_fullscreen_link) | |
Set fullscreen link. More... | |
getFullscreenLink () | |
Get fullscreen link. More... | |
setSourcecodeDownloadScript ($script_name) | |
Set sourcecode download script. More... | |
getSourcecodeDownloadScript () | |
Get sourcecode download script. More... | |
readPCId () | |
Read PC Id. More... | |
writePCId ($a_pc_id) | |
Write pc id. More... | |
setEnabled ($value) | |
Set Enabled value for page content component. More... | |
enable () | |
Enable page content. More... | |
disable () | |
Disable page content. More... | |
isEnabled () | |
Check whether page content is enabled. More... | |
createPageContentNode ($a_set_this_node=true) | |
Create page content node (always use this method first when adding a new element) More... | |
modifyPageContentPostXsl ($a_output, $a_mode) | |
Modify page content after xsl. More... | |
Data Fields | |
$dom | |
Data Fields inherited from ilPageContent | |
$hier_id | |
$node | |
$dom | |
$page_lang | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilPageContent | |
static | incEdId ($ed_id) |
Increases an hierarchical editing id at lowest level (last number) More... | |
static | decEdId ($ed_id) |
Decreases an hierarchical editing id at lowest level (last number) More... | |
static | haveSameContainer ($ed_id1, $ed_id2) |
Check, if two ids are in same container. More... | |
static | sortHierIds ($a_array) |
Sort an array of Hier IDS in ascending order. More... | |
static | isGreaterHierId ($a, $b) |
Check whether Hier ID $a is greater than Hier ID $b. More... | |
static | getLangVars () |
Get lang vars needed for editing. More... | |
static | handleCopiedContent (DOMDocument $a_domdoc, $a_self_ass=true, $a_clone_mobs=false) |
Handle copied content. More... | |
static | afterPageUpdate ($a_page, DOMDocument $a_domdoc, $a_xml, $a_creation) |
After page has been updated (or created) More... | |
static | beforePageDelete ($a_page) |
Before page is being deleted. More... | |
static | afterPageHistoryEntry ($a_page, DOMDocument $a_old_domdoc, $a_old_xml, $a_old_nr) |
After page history entry has been created. More... | |
Protected Member Functions inherited from ilPageContent | |
setType ($a_type) | |
Set Type. More... | |
Protected Attributes inherited from ilPageContent | |
$file_download_link | |
$fullscreen_link | |
$sourcecode_download_script | |
$log | |
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 223 of file class.ilPCTableData.php.
References ilPageContent\$hier_id, $i, $rows, fixHideAndSpans(), ilPageContent\getHierId(), ilPageContent\getNode(), and initTablePCNode().
ilPCTableData::deleteRow | ( | ) |
delete row of cell
Definition at line 132 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 100 of file class.ilPCTableData.php.
References $i.
Referenced by newRowAfter(), and newRowBefore().
ilPCTableData::deleteTDContent | ( | & | $a_td_node | ) |
delete content of a cell (not the cell itself)
private
Definition at line 120 of file class.ilPCTableData.php.
Referenced by newColAfter(), and newColBefore().
ilPCTableData::fixHideAndSpans | ( | ) |
Fix hide attribute and spans.
Definition at line 358 of file class.ilPCTableData.php.
References ilPageContent\getPage().
Referenced by deleteCol(), deleteRow(), moveColLeft(), moveColRight(), moveRowDown(), moveRowUp(), newColAfter(), newColBefore(), newRowAfter(), and newRowBefore().
ilPCTableData::init | ( | ) |
Init page content component.
Definition at line 43 of file class.ilPCTableData.php.
References ilPageContent\setType().
ilPCTableData::initTablePCNode | ( | ) |
Table PC Node.
Definition at line 347 of file class.ilPCTableData.php.
References $table, and ilPageContent\getNode().
Referenced by deleteCol(), deleteRow(), moveColLeft(), moveColRight(), moveRowDown(), moveRowUp(), newColAfter(), newColBefore(), newRowAfter(), and newRowBefore().
ilPCTableData::moveColLeft | ( | ) |
move column left
Definition at line 315 of file class.ilPCTableData.php.
References ilPageContent\$hier_id, $i, $rows, fixHideAndSpans(), ilPageContent\getHierId(), ilPageContent\getNode(), and initTablePCNode().
ilPCTableData::moveColRight | ( | ) |
move column right
Definition at line 282 of file class.ilPCTableData.php.
References ilPageContent\$hier_id, $i, $rows, fixHideAndSpans(), ilPageContent\getHierId(), ilPageContent\getNode(), and initTablePCNode().
ilPCTableData::moveRowDown | ( | ) |
move row down
Definition at line 252 of file class.ilPCTableData.php.
References fixHideAndSpans(), ilPageContent\getNode(), and initTablePCNode().
ilPCTableData::moveRowUp | ( | ) |
move row up
Definition at line 267 of file class.ilPCTableData.php.
References fixHideAndSpans(), ilPageContent\getNode(), and initTablePCNode().
ilPCTableData::newColAfter | ( | ) |
insert new column after cell
Definition at line 145 of file class.ilPCTableData.php.
References ilPageContent\$hier_id, $i, $rows, deleteTDContent(), fixHideAndSpans(), ilPageContent\getHierId(), ilPageContent\getNode(), and initTablePCNode().
ilPCTableData::newColBefore | ( | ) |
insert new column before cell
Definition at line 186 of file class.ilPCTableData.php.
References ilPageContent\$hier_id, $i, $rows, 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 78 of file class.ilPCTableData.php.
References deleteRowContent(), fixHideAndSpans(), ilPageContent\getNode(), and initTablePCNode().
ilPCTableData::$dom |
Definition at line 38 of file class.ilPCTableData.php.