|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilPCTableGUI. More...
Inheritance diagram for ilPCDataTableGUI:
Collaboration diagram for ilPCDataTableGUI:Public Member Functions | |
| __construct (&$a_pg_obj, &$a_content_obj, $a_hier_id, $a_pc_id="") | |
| Constructor @access public. More... | |
| executeCommand () | |
| execute command More... | |
| editDataCl () | |
| Edit data of table. More... | |
| update ($a_redirect=true) | |
| Update table data in dom and update page in db. More... | |
| updateJS () | |
| Update via JavaScript. More... | |
| getNewTableObject () | |
| Get new table object. More... | |
| afterCreation () | |
| After creation processing. More... | |
| tableAction () | |
| Perform operation on table (adding, moving, deleting rows/cols) More... | |
| setTabs () | |
| Set tabs. More... | |
| editData () | |
| Edit data of table. More... | |
Public Member Functions inherited from ilPCTableGUI | |
| __construct (&$a_pg_obj, &$a_content_obj, $a_hier_id, $a_pc_id="") | |
| Constructor @access public. More... | |
| setBasicTableCellStyles () | |
| Set basic table cell styles. More... | |
| executeCommand () | |
| execute command More... | |
| setTabs () | |
| Set tabs. More... | |
| setCellPropertiesSubTabs () | |
| Set tabs. More... | |
| getTemplateOptions ($a_type="") | |
| Get table templates. More... | |
| edit () | |
| edit properties form More... | |
| initPropertiesForm ($a_mode="edit") | |
| Init properties form. More... | |
| getPropertiesFormValues () | |
| Get properties form. More... | |
| renderTable ($a_mode="table_edit", $a_submode="") | |
| Render the table. More... | |
| editCellStyle () | |
| Edit cell styles. More... | |
| editCellWidth () | |
| Edit cell widths. More... | |
| editCellSpan () | |
| Edit cell spans. More... | |
| setStyles () | |
| Set cell styles and. More... | |
| setWidths () | |
| Set cell widths. More... | |
| setSpans () | |
| Set cell spans. More... | |
| setProperties () | |
| Set properties from input form. More... | |
| saveProperties () | |
| save table properties in db and return to page edit screen More... | |
| rightAlign () | |
| align table to right More... | |
| leftAlign () | |
| align table to left More... | |
| centerAlign () | |
| align table to left More... | |
| leftFloatAlign () | |
| align table to left float More... | |
| rightFloatAlign () | |
| align table to left More... | |
| insert () | |
| insert new table form More... | |
| getNewTableObject () | |
| Get new table object. More... | |
| create () | |
| create new table in dom and update page in db More... | |
| afterCreation () | |
| After creation processing. More... | |
| editCellAlignment () | |
| Edit cell styles. More... | |
| setAlignment () | |
| Set cell alignments. More... | |
Public Member Functions inherited from ilPageContentGUI | |
| __construct ($a_pg_obj, $a_content_obj, $a_hier_id=0, $a_pc_id="") | |
| Constructor @access public. More... | |
| setContentObject ($a_val) | |
| Set content object. More... | |
| getContentObject () | |
| Get content object. More... | |
| setPage ($a_val) | |
| Set page. More... | |
| getPage () | |
| Get page. More... | |
| setPageConfig ($a_val) | |
| Set Page Config. More... | |
| getPageConfig () | |
| Get Page Config. More... | |
| setStyleId ($a_styleid) | |
| Set Style Id. More... | |
| getStyleId () | |
| Get Style Id. More... | |
| getStyle () | |
| Get style object. More... | |
| setCharacteristics ($a_chars) | |
| Set Characteristics. More... | |
| getCharacteristics () | |
| Get characteristics. More... | |
| getHierId () | |
| get hierarchical id in dom object More... | |
| setHierId ($a_hier_id) | |
| get hierarchical id in dom object More... | |
| getBBMenu ($a_ta_name="par_content") | |
| Get the bb menu incl. More... | |
| delete () | |
| delete content element More... | |
| moveAfter () | |
| move content element after another element More... | |
| moveBefore () | |
| move content element before another element More... | |
| splitPage () | |
| split page to new page at specified position More... | |
| splitPageNext () | |
| split page to next page at specified position More... | |
| displayValidationError () | |
| display validation errors More... | |
| cancelCreate () | |
| cancel creating page content More... | |
| cancelUpdate () | |
| cancel update More... | |
| cancel () | |
| Cancel. More... | |
| deactivate () | |
| gui function set enabled if is not enabled and vice versa More... | |
| cut () | |
| Cut single element. More... | |
| copy () | |
| Copy single element. More... | |
| getTemplateOptions ($a_type) | |
| Get table templates. More... | |
Protected Attributes | |
| $tabs | |
Protected Attributes inherited from ilPCTableGUI | |
| $tabs | |
| $user | |
Protected Attributes inherited from ilPageContentGUI | |
| $error | |
| $log | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilPCTableGUI | |
| static | _renderTable ($content, $a_mode="table_edit", $a_submode="", $a_table_obj=null, $unmask=true) |
| Static render table function. More... | |
| static | _addStyleCheckboxes ($a_output, $a_table) |
| Add style checkboxes in edit mode. More... | |
| static | _addAlignmentCheckboxes ($a_output, $a_table) |
| Add alignment checkboxes in edit mode. More... | |
| static | _addWidthInputs ($a_output, $a_table) |
| Add width inputs. More... | |
| static | _addSpanInputs ($a_output, $a_table) |
| Add span inputs. More... | |
Static Public Member Functions inherited from ilPageContentGUI | |
| static | _getCommonBBButtons () |
| Get common bb buttons. More... | |
Data Fields inherited from ilPageContentGUI | |
| $content_obj | |
| $tpl | |
| $lng | |
| $ctrl | |
| $pg_obj | |
| $hier_id | |
| $dom | |
| $updated | |
| $target_script | |
| $return_location | |
| $page_config = null | |
Static Public Attributes inherited from ilPageContentGUI | |
| static | $style_selector_reset = "margin-top:2px; margin-bottom:2px; text-indent:0px; position:static; float:none; width: auto;" |
Protected Member Functions inherited from ilPageContentGUI | |
| getCharacteristicsOfCurrentStyle ($a_type) | |
| Get characteristics of current style. More... | |
Static Protected Attributes inherited from ilPageContentGUI | |
| static | $common_bb_buttons |
Class ilPCTableGUI.
User Interface for Data Table Editing
Definition at line 18 of file class.ilPCDataTableGUI.php.
| ilPCDataTableGUI::__construct | ( | & | $a_pg_obj, |
| & | $a_content_obj, | ||
| $a_hier_id, | |||
$a_pc_id = "" |
|||
| ) |
Constructor @access public.
Reimplemented from ilPCTableGUI.
Definition at line 30 of file class.ilPCDataTableGUI.php.
References $DIC, and ilPageContentGUI\setCharacteristics().
Here is the call graph for this function:| ilPCDataTableGUI::afterCreation | ( | ) |
After creation processing.
Reimplemented from ilPCTableGUI.
Definition at line 385 of file class.ilPCDataTableGUI.php.
References ilPageContentGUI\$ctrl, $ilCtrl, editData(), and ilPageContentGUI\setHierId().
Here is the call graph for this function:| ilPCDataTableGUI::editData | ( | ) |
Edit data of table.
Definition at line 447 of file class.ilPCDataTableGUI.php.
References $_POST, $cfg, ilPageContentGUI\$ctrl, $GLOBALS, $i, $ilCtrl, ilPageContentGUI\$lng, $path, $res, $type, ilPageEditorGUI\_doJSEditing(), ilPageContentGUI\displayValidationError(), editDataCl(), ilObjStyleSheet\getContentStylePath(), ilPageContentGUI\getHierId(), ilUtil\getImagePath(), ilInternalLinkGUI\getInitHTML(), ilPageContentGUI\getPageConfig(), ilPageContentGUI\getStyleId(), ilUtil\getStyleSheetLocation(), ilPageObjectGUI\getTinyMenu(), ilYuiUtil\initConnection(), ilYuiUtil\initDragDrop(), ilYuiUtil\initPanel(), setTabs(), ilUtil\stripSlashes(), ilPCParagraph\xml2output(), ilPCParagraphGUI\xml2outputJS(), xpath_eval(), and xpath_new_context().
Referenced by afterCreation(), update(), and updateJS().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCDataTableGUI::editDataCl | ( | ) |
Edit data of table.
(classic version)
Definition at line 71 of file class.ilPCDataTableGUI.php.
References $_POST, ilPageContentGUI\$ctrl, $i, $ilCtrl, ilPageContentGUI\$lng, $path, $res, ilPageContentGUI\$tpl, $type, ilPageContentGUI\displayValidationError(), ilPageContentGUI\getBBMenu(), ilPageContentGUI\getHierId(), ilUtil\getImagePath(), ilYuiUtil\initConnection(), ilYuiUtil\initDragDrop(), ilYuiUtil\initPanel(), setTabs(), ilUtil\stripSlashes(), ilPCParagraph\xml2output(), xpath_eval(), and xpath_new_context().
Referenced by editData().
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 44 of file class.ilPCDataTableGUI.php.
References $ret, and ilPageContentGUI\getCharacteristicsOfCurrentStyle().
Here is the call graph for this function:| ilPCDataTableGUI::getNewTableObject | ( | ) |
Get new table object.
Reimplemented from ilPCTableGUI.
Definition at line 377 of file class.ilPCDataTableGUI.php.
References ilPageContentGUI\getPage().
Here is the call graph for this function:| ilPCDataTableGUI::setTabs | ( | ) |
Set tabs.
Reimplemented from ilPCTableGUI.
Definition at line 424 of file class.ilPCDataTableGUI.php.
References ilPageContentGUI\$ctrl, $ilCtrl, and $tabs.
Referenced by editData(), and editDataCl().
Here is the caller graph for this function:| ilPCDataTableGUI::tableAction | ( | ) |
Perform operation on table (adding, moving, deleting rows/cols)
Definition at line 402 of file class.ilPCDataTableGUI.php.
References $_POST, $_SESSION, $action, ilPageContentGUI\$ctrl, $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 248 of file class.ilPCDataTableGUI.php.
References $_POST, $data, $i, ilPageContentGUI\$lng, $row, ilPCParagraph\_input2xml(), editData(), and ilUtil\sendSuccess().
Referenced by tableAction().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCDataTableGUI::updateJS | ( | ) |
Update via JavaScript.
Definition at line 289 of file class.ilPCDataTableGUI.php.
References $_POST, ilPageContentGUI\$ctrl, $data, $failed, $id, $ilCtrl, ilPageContentGUI\$lng, $ret, $text, ilPCParagraph\_input2xml(), editData(), ilPCParagraph\handleAjaxContent(), ilPCParagraph\handleAjaxContentPost(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
Here is the call graph for this function:
|
protected |
Definition at line 23 of file class.ilPCDataTableGUI.php.
Referenced by setTabs().