ILIAS
Release_3_10_x_branch Revision 61812
|
Class ilPCTableGUI. More...
Public Member Functions | |
ilPCTableGUI (&$a_pg_obj, &$a_content_obj, $a_hier_id, $a_pc_id="") | |
Constructor public. | |
& | executeCommand () |
execute command | |
setTabs () | |
Set tabs. | |
edit () | |
edit properties form | |
renderTable ($a_mode="table_edit") | |
Render the table. | |
editCells () | |
edit properties form | |
setStylesAndWidths () | |
Set cell styles and widths. | |
setWidth () | |
set width of selected table data cells | |
setClass () | |
set class of selected table data cells | |
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 | |
insert () | |
insert new table form | |
create () | |
create new table in dom and update page in db | |
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 Table Editing
Definition at line 37 of file class.ilPCTableGUI.php.
ilPCTableGUI::centerAlign | ( | ) |
align table to left
Definition at line 383 of file class.ilPCTableGUI.php.
References $_SESSION.
ilPCTableGUI::create | ( | ) |
create new table in dom and update page in db
Reimplemented in ilPCDataTableGUI.
Definition at line 592 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$lng, insert(), and ilUtil\stripSlashes().
ilPCTableGUI::edit | ( | ) |
edit properties form
Reimplemented in ilPCDataTableGUI.
Definition at line 94 of file class.ilPCTableGUI.php.
References $ilCtrl, $lang, ilPageContentGUI\$lng, ilPageContentGUI\$tpl, ilMDLanguageItem\_getLanguages(), ilPageContentGUI\displayValidationError(), ilSelectInputGUI\setOptions(), setTabs(), and ilTextInputGUI\setValue().
Referenced by saveProperties(), setClass(), and setWidth().
ilPCTableGUI::editCells | ( | ) |
edit properties form
Definition at line 217 of file class.ilPCTableGUI.php.
References $ilCtrl, ilPageContentGUI\$lng, ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), setTabs(), and ilRadioMatrixInputGUI\setValue().
& ilPCTableGUI::executeCommand | ( | ) |
execute command
Reimplemented in ilPCDataTableGUI.
Definition at line 52 of file class.ilPCTableGUI.php.
ilPCTableGUI::ilPCTableGUI | ( | & | $a_pg_obj, |
& | $a_content_obj, | ||
$a_hier_id, | |||
$a_pc_id = "" |
|||
) |
Constructor public.
Definition at line 44 of file class.ilPCTableGUI.php.
References ilPageContentGUI\ilPageContentGUI().
ilPCTableGUI::insert | ( | ) |
insert new table form
Reimplemented in ilPCDataTableGUI.
Definition at line 413 of file class.ilPCTableGUI.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().
ilPCTableGUI::leftAlign | ( | ) |
align table to left
Definition at line 373 of file class.ilPCTableGUI.php.
References $_SESSION.
ilPCTableGUI::leftFloatAlign | ( | ) |
align table to left float
Definition at line 393 of file class.ilPCTableGUI.php.
References $_SESSION.
ilPCTableGUI::renderTable | ( | $a_mode = "table_edit" | ) |
Render the table.
Definition at line 180 of file class.ilPCTableGUI.php.
References $mobs, ilUtil\getImagePath(), ilUtil\getWebspaceDir(), xslt_create(), xslt_error(), xslt_free(), and xslt_process().
ilPCTableGUI::rightAlign | ( | ) |
align table to right
Definition at line 363 of file class.ilPCTableGUI.php.
References $_SESSION.
ilPCTableGUI::rightFloatAlign | ( | ) |
align table to left
Definition at line 403 of file class.ilPCTableGUI.php.
References $_SESSION.
ilPCTableGUI::saveProperties | ( | ) |
save table properties in db and return to page edit screen
Definition at line 344 of file class.ilPCTableGUI.php.
References edit(), and setProperties().
ilPCTableGUI::setClass | ( | ) |
set class of selected table data cells
Reimplemented in ilPCDataTableGUI.
Definition at line 306 of file class.ilPCTableGUI.php.
References edit(), and setProperties().
ilPCTableGUI::setProperties | ( | ) |
Definition at line 323 of file class.ilPCTableGUI.php.
References ilUtil\stripSlashes().
Referenced by saveProperties(), setClass(), ilPCDataTableGUI\setClass(), setWidth(), and ilPCDataTableGUI\setWidth().
ilPCTableGUI::setStylesAndWidths | ( | ) |
Set cell styles and widths.
Definition at line 258 of file class.ilPCTableGUI.php.
ilPCTableGUI::setTabs | ( | ) |
Set tabs.
Reimplemented in ilPCDataTableGUI.
Definition at line 74 of file class.ilPCTableGUI.php.
References $ilCtrl, and ilPageContentGUI\$lng.
Referenced by edit(), and editCells().
ilPCTableGUI::setWidth | ( | ) |
set width of selected table data cells
Reimplemented in ilPCDataTableGUI.
Definition at line 286 of file class.ilPCTableGUI.php.
References edit(), and setProperties().