|
ILIAS
Release_3_10_x_branch Revision 61812
|
Class ilPCTableGUI. More...
Inheritance diagram for ilPCDataTableGUI:
Collaboration diagram for ilPCDataTableGUI:Public Member Functions | |
| ilPCDataTableGUI (&$a_pg_obj, &$a_content_obj, $a_hier_id, $a_pc_id="") | |
| Constructor public. | |
| & | executeCommand () |
| execute command | |
| edit () | |
| edit properties form | |
| editData () | |
| Edit data of table. | |
| update ($a_redirect=true) | |
| update table data in dom and update page in db | |
| setWidth () | |
| set width of selected table data cells | |
| setClass () | |
| set class of selected table data cells | |
| insert () | |
| insert new table form | |
| create () | |
| create new table in dom and update page in db | |
| tableAction () | |
| Perform operation on table (adding, moving, deleting rows/cols) | |
| setTabs () | |
| Set tabs. | |
Public Member Functions inherited from ilPCTableGUI | |
| ilPCTableGUI (&$a_pg_obj, &$a_content_obj, $a_hier_id, $a_pc_id="") | |
| Constructor public. | |
| renderTable ($a_mode="table_edit") | |
| Render the table. | |
| editCells () | |
| edit properties form | |
| setStylesAndWidths () | |
| Set cell styles and widths. | |
| setProperties () | |
| saveProperties () | |
| save table properties in db and return to page edit screen | |
| rightAlign () | |
| align table to right | |
| leftAlign () | |
| align table to left | |
| centerAlign () | |
| align table to left | |
| leftFloatAlign () | |
| align table to left float | |
| rightFloatAlign () | |
| align table to left | |
Public Member Functions inherited from ilPageContentGUI | |
| ilPageContentGUI (&$a_pg_obj, &$a_content_obj, $a_hier_id=0, $a_pc_id="") | |
| Constructor public. | |
| getHierId () | |
| get hierarchical id in dom object | |
| setHierId ($a_hier_id) | |
| get hierarchical id in dom object | |
| getBBMenu () | |
| 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 | |
| deactivate () | |
| gui function set enabled if is not enabled and vice versa | |
Additional Inherited Members | |
Data Fields inherited from ilPageContentGUI | |
| $content_obj | |
| $ilias | |
| $tpl | |
| $lng | |
| $ctrl | |
| $pg_obj | |
| $hier_id | |
| $dom | |
| $updated | |
| $target_script | |
| $return_location | |
Class ilPCTableGUI.
User Interface for Data Table Editing
Definition at line 38 of file class.ilPCDataTableGUI.php.
| ilPCDataTableGUI::create | ( | ) |
create new table in dom and update page in db
Reimplemented from ilPCTableGUI.
Definition at line 549 of file class.ilPCDataTableGUI.php.
References $ilCtrl, ilPageContentGUI\$lng, editData(), insert(), ilPageContentGUI\setHierId(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilPCDataTableGUI::edit | ( | ) |
edit properties form
Reimplemented from ilPCTableGUI.
Definition at line 75 of file class.ilPCDataTableGUI.php.
Referenced by setClass(), and setWidth().
Here is the caller graph for this function:| ilPCDataTableGUI::editData | ( | ) |
Edit data of table.
Definition at line 83 of file class.ilPCDataTableGUI.php.
References $command, $ilCtrl, ilPageContentGUI\$lng, $res, ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), ilPageContentGUI\getBBMenu(), ilUtil\getImagePath(), setTabs(), ilUtil\stripSlashes(), ilPCParagraph\xml2output(), xpath_eval(), and xpath_new_context().
Referenced by create(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| & ilPCDataTableGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilPCTableGUI.
Definition at line 53 of file class.ilPCDataTableGUI.php.
| ilPCDataTableGUI::ilPCDataTableGUI | ( | & | $a_pg_obj, |
| & | $a_content_obj, | ||
| $a_hier_id, | |||
$a_pc_id = "" |
|||
| ) |
Constructor public.
Definition at line 45 of file class.ilPCDataTableGUI.php.
References ilPageContentGUI\ilPageContentGUI().
Here is the call graph for this function:| ilPCDataTableGUI::insert | ( | ) |
insert new table form
Reimplemented from ilPCTableGUI.
Definition at line 356 of file class.ilPCDataTableGUI.php.
References $_GET, $_SESSION, $ilCtrl, $lang, ilPageContentGUI\$lng, ilPageContentGUI\$tpl, ilMDLanguageItem\_getLanguages(), ilRadioOption\addSubItem(), ilPageContentGUI\displayValidationError(), formSelect(), ilSelectInputGUI\setOptions(), ilTextInputGUI\setValue(), and ilRadioMatrixInputGUI\setValue().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCDataTableGUI::setClass | ( | ) |
set class of selected table data cells
Reimplemented from ilPCTableGUI.
Definition at line 337 of file class.ilPCDataTableGUI.php.
References ilPageContentGUI\$hier_id, edit(), and ilPCTableGUI\setProperties().
Here is the call graph for this function:| ilPCDataTableGUI::setTabs | ( | ) |
Set tabs.
Reimplemented from ilPCTableGUI.
Definition at line 643 of file class.ilPCDataTableGUI.php.
References $ilCtrl.
Referenced by editData().
Here is the caller graph for this function:| ilPCDataTableGUI::setWidth | ( | ) |
set width of selected table data cells
Reimplemented from ilPCTableGUI.
Definition at line 319 of file class.ilPCDataTableGUI.php.
References ilPageContentGUI\$hier_id, edit(), and ilPCTableGUI\setProperties().
Here is the call graph for this function:| ilPCDataTableGUI::tableAction | ( | ) |
Perform operation on table (adding, moving, deleting rows/cols)
Definition at line 621 of file class.ilPCDataTableGUI.php.
References $_SESSION, $ilCtrl, and update().
Here is the call graph for this function:| ilPCDataTableGUI::update | ( | $a_redirect = true | ) |
update table data in dom and update page in db
Definition at line 270 of file class.ilPCDataTableGUI.php.
References $data, $ilBench, ilPageContentGUI\$lng, ilPCParagraph\_input2xml(), editData(), and ilUtil\sendInfo().
Referenced by tableAction().
Here is the call graph for this function:
Here is the caller graph for this function: