|
ILIAS
Release_3_10_x_branch Revision 61812
|
Inheritance diagram for ilPCTable:
Collaboration diagram for ilPCTable:Public Member Functions | |
| init () | |
| Init page content component. | |
| setNode (&$a_node) | |
| Set xml node of page content. | |
| create (&$a_pg_obj, $a_hier_id, $a_pc_id="") | |
| & | addRow () |
| & | addCell (&$aRow, $a_data="", $a_lang="") |
| addRows ($a_nr_rows, $a_nr_cols) | |
| add rows to table | |
| importSpreadsheet ($a_lang, $a_data) | |
| import from table | |
| getLanguage () | |
| get table language | |
| setLanguage ($a_lang) | |
| set table language | |
| getWidth () | |
| get table width | |
| setWidth ($a_width) | |
| set table width | |
| getBorder () | |
| get table border width | |
| setBorder ($a_border) | |
| set table border | |
| getCellSpacing () | |
| get table cell spacing | |
| setCellSpacing ($a_spacing) | |
| set table cell spacing | |
| getCellPadding () | |
| get table cell padding | |
| setCellPadding ($a_padding) | |
| set table cell padding | |
| setHorizontalAlign ($a_halign) | |
| set horizontal align | |
| getHorizontalAlign () | |
| get table cell padding | |
| setTDWidth ($a_hier_id, $a_width, $a_pc_id="") | |
| set width of table data cell | |
| setTDClass ($a_hier_id, $a_class, $a_pc_id="") | |
| set class of table data cell | |
| getCaption () | |
| get caption | |
| getCaptionAlign () | |
| get caption alignment (Top | Bottom) | |
| setCaption ($a_content, $a_align) | |
| set table caption | |
| importTableAttributes (&$node) | |
| importCellAttributes (&$node, &$par) | |
| importRow ($lng, &$node) | |
| importCell ($lng, &$cellNode, &$aRow) | |
| extractText (&$node) | |
| importHtml ($lng, $htmlTable) | |
| setFirstRowStyle ($a_class) | |
| Set first row td style. | |
Public Member Functions inherited from ilPageContent | |
| __construct ($a_dom) | |
| Constructor. | |
| getType () | |
| Get type of page content. | |
| & | getNode () |
| Get xml node of page content. | |
| setHierId ($a_hier_id) | |
| Set hierarchical ID in xml structure. | |
| getHierId () | |
| Get hierarchical id. | |
| readHierId () | |
| Read PC Id. | |
| setPcId ($a_pcid) | |
| Set PC Id. | |
| getPCId () | |
| Get PC Id. | |
| readPCId () | |
| Read PC Id. | |
| 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 | |
| $tab_node | |
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. | |
Protected Member Functions inherited from ilPageContent | |
| setType ($a_type) | |
| Set Type. | |
Class ilPCTable.
Table content object (see ILIAS DTD)
Definition at line 36 of file class.ilPCTable.php.
| & ilPCTable::addCell | ( | & | $aRow, |
$a_data = "", |
|||
$a_lang = "" |
|||
| ) |
Definition at line 71 of file class.ilPCTable.php.
References ilPageContent\createPageContentNode().
Referenced by addRows(), importCell(), and importSpreadsheet().
Here is the call graph for this function:
Here is the caller graph for this function:| & ilPCTable::addRow | ( | ) |
Definition at line 65 of file class.ilPCTable.php.
Referenced by addRows(), importRow(), and importSpreadsheet().
Here is the caller graph for this function:| ilPCTable::addRows | ( | $a_nr_rows, | |
| $a_nr_cols | |||
| ) |
| ilPCTable::create | ( | & | $a_pg_obj, |
| $a_hier_id, | |||
$a_pc_id = "" |
|||
| ) |
Reimplemented in ilPCDataTable.
Definition at line 56 of file class.ilPCTable.php.
References ilPageContent\createPageContentNode(), and IL_INSERT_AFTER.
Here is the call graph for this function:| ilPCTable::extractText | ( | & | $node | ) |
Definition at line 498 of file class.ilPCTable.php.
References ilPageContent\$node.
Referenced by importCellAttributes(), and importTableAttributes().
Here is the caller graph for this function:| ilPCTable::getBorder | ( | ) |
get table border width
Definition at line 197 of file class.ilPCTable.php.
| ilPCTable::getCaption | ( | ) |
get caption
Definition at line 361 of file class.ilPCTable.php.
References ilPageContent\$hier_id, $res, ilPageContent\getHierId(), xpath_eval(), and xpath_new_context().
Here is the call graph for this function:| ilPCTable::getCaptionAlign | ( | ) |
get caption alignment (Top | Bottom)
Definition at line 380 of file class.ilPCTable.php.
References ilPageContent\$hier_id, $res, ilPageContent\getHierId(), xpath_eval(), and xpath_new_context().
Here is the call graph for this function:| ilPCTable::getCellPadding | ( | ) |
get table cell padding
Definition at line 253 of file class.ilPCTable.php.
| ilPCTable::getCellSpacing | ( | ) |
get table cell spacing
Definition at line 225 of file class.ilPCTable.php.
| ilPCTable::getHorizontalAlign | ( | ) |
get table cell padding
Definition at line 289 of file class.ilPCTable.php.
| ilPCTable::getLanguage | ( | ) |
get table language
Definition at line 146 of file class.ilPCTable.php.
Referenced by ilPCDataTable\getCellNode().
Here is the caller graph for this function:| ilPCTable::getWidth | ( | ) |
get table width
Definition at line 167 of file class.ilPCTable.php.
| ilPCTable::importCell | ( | $lng, | |
| & | $cellNode, | ||
| & | $aRow | ||
| ) |
Definition at line 486 of file class.ilPCTable.php.
References $lng, addCell(), and importCellAttributes().
Referenced by importRow().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTable::importCellAttributes | ( | & | $node, |
| & | $par | ||
| ) |
Definition at line 445 of file class.ilPCTable.php.
References $n, ilPageContent\$node, and extractText().
Referenced by importCell().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTable::importHtml | ( | $lng, | |
| $htmlTable | |||
| ) |
Definition at line 509 of file class.ilPCTable.php.
References $_SESSION, $dom, $lng, $n, ilPageContent\$node, $res, domxml_open_mem(), importRow(), importTableAttributes(), ilUtil\stripSlashes(), xpath_eval(), and xpath_new_context().
Here is the call graph for this function:| ilPCTable::importRow | ( | $lng, | |
| & | $node | ||
| ) |
Definition at line 467 of file class.ilPCTable.php.
References $lng, $n, ilPageContent\$node, addRow(), and importCell().
Referenced by importHtml().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTable::importSpreadsheet | ( | $a_lang, | |
| $a_data | |||
| ) |
import from table
Definition at line 109 of file class.ilPCTable.php.
References $data, addCell(), and addRow().
Here is the call graph for this function:| ilPCTable::importTableAttributes | ( | & | $node | ) |
Definition at line 413 of file class.ilPCTable.php.
References $n, ilPageContent\$node, extractText(), setBorder(), setCellPadding(), setCellSpacing(), setHorizontalAlign(), and setWidth().
Referenced by importHtml().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTable::init | ( | ) |
Init page content component.
Reimplemented from ilPageContent.
Reimplemented in ilPCDataTable.
Definition at line 45 of file class.ilPCTable.php.
References ilPageContent\setType().
Here is the call graph for this function:| ilPCTable::setBorder | ( | $a_border | ) |
set table border
| string | $a_border | table border |
Definition at line 207 of file class.ilPCTable.php.
Referenced by importTableAttributes().
Here is the caller graph for this function:| ilPCTable::setCaption | ( | $a_content, | |
| $a_align | |||
| ) |
set table caption
Definition at line 398 of file class.ilPCTable.php.
References ilDOMUtil\deleteAllChildsByName(), and ilDOMUtil\setFirstOptionalElement().
Here is the call graph for this function:| ilPCTable::setCellPadding | ( | $a_padding | ) |
set table cell padding
| string | $a_padding | table cell padding |
Definition at line 263 of file class.ilPCTable.php.
Referenced by importTableAttributes().
Here is the caller graph for this function:| ilPCTable::setCellSpacing | ( | $a_spacing | ) |
set table cell spacing
| string | $a_spacing | table cell spacing |
Definition at line 235 of file class.ilPCTable.php.
Referenced by importTableAttributes().
Here is the caller graph for this function:| ilPCTable::setFirstRowStyle | ( | $a_class | ) |
Set first row td style.
Definition at line 571 of file class.ilPCTable.php.
| ilPCTable::setHorizontalAlign | ( | $a_halign | ) |
set horizontal align
Definition at line 281 of file class.ilPCTable.php.
Referenced by importTableAttributes().
Here is the caller graph for this function:| ilPCTable::setLanguage | ( | $a_lang | ) |
set table language
| string | $a_lang | language code |
Definition at line 156 of file class.ilPCTable.php.
| ilPCTable::setNode | ( | & | $a_node | ) |
Set xml node of page content.
| object | $a_node | node object |
Reimplemented from ilPageContent.
Reimplemented in ilPCDataTable.
Definition at line 50 of file class.ilPCTable.php.
| ilPCTable::setTDClass | ( | $a_hier_id, | |
| $a_class, | |||
$a_pc_id = "" |
|||
| ) |
set class of table data cell
Definition at line 330 of file class.ilPCTable.php.
References $res, xpath_eval(), and xpath_new_context().
Here is the call graph for this function:| ilPCTable::setTDWidth | ( | $a_hier_id, | |
| $a_width, | |||
$a_pc_id = "" |
|||
| ) |
set width of table data cell
Definition at line 297 of file class.ilPCTable.php.
References $res, xpath_eval(), and xpath_new_context().
Here is the call graph for this function:| ilPCTable::setWidth | ( | $a_width | ) |
set table width
| string | $a_width | table width |
Definition at line 177 of file class.ilPCTable.php.
Referenced by importTableAttributes().
Here is the caller graph for this function:| ilPCTable::$dom |
Definition at line 38 of file class.ilPCTable.php.
Referenced by importHtml().
| ilPCTable::$tab_node |
Definition at line 39 of file class.ilPCTable.php.