|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
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 ($data_tab_txt_key="") | |
| Set tabs. 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 ($data_tab_txt_key="") | |
| Set tabs. More... | |
| setCellPropertiesSubTabs () | |
| Set tabs. More... | |
| getTemplateOptions ($a_type="") | |
| Get table templates. More... | |
| edit () | |
| editProperties () | |
| 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... | |
| editData () | |
| Edit data of table. More... | |
| getEditDataTable ($initial=false) | |
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... | |
| getCharacteristicsOfCurrentStyle ($a_type) | |
| Get characteristics of current style. 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 Member Functions | |
| getCellContent (int $i, int $j) | |
Protected Member Functions inherited from ilPCTableGUI | |
| setEditorToolContext () | |
| Set editor tool context. More... | |
| getCellContent (int $i, int $j) | |
| renderCell ( $content, $unmask=true, $page_object=null) | |
| Static render table function. More... | |
| getColumnCaption (int $nr) | |
Protected Member Functions inherited from ilPageContentGUI | |
| redirectToParent ($hier_id="") | |
| Redirect to parent. More... | |
| getParentReturn ($hier_id="") | |
Protected Attributes | |
| $tabs | |
| $main_tpl | |
Protected Attributes inherited from ilPCTableGUI | |
| $tabs | |
| $user | |
| $tool_context | |
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, $page_object=null) |
| 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;" |
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 36 of file class.ilPCDataTableGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), and ilPageContentGUI\setCharacteristics().
Here is the call graph for this function:| ilPCDataTableGUI::afterCreation | ( | ) |
After creation processing.
Reimplemented from ilPCTableGUI.
Definition at line 393 of file class.ilPCDataTableGUI.php.
References ilPageContentGUI\$ctrl.
| ilPCDataTableGUI::editDataCl | ( | ) |
Edit data of table.
(classic version)
Definition at line 79 of file class.ilPCDataTableGUI.php.
References $_POST, ilPageContentGUI\$ctrl, $i, ilPageContentGUI\$lng, $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().
Here is the call graph for this function:| ilPCDataTableGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilPCTableGUI.
Definition at line 52 of file class.ilPCDataTableGUI.php.
References $ret, and ilPageContentGUI\getCharacteristicsOfCurrentStyle().
Here is the call graph for this function:
|
protected |
Reimplemented from ilPCTableGUI.
Definition at line 437 of file class.ilPCDataTableGUI.php.
References $_POST, $i, ilUtil\stripSlashes(), ilPCParagraph\xml2output(), and ilPCParagraphGUI\xml2outputJS().
Here is the call graph for this function:| ilPCDataTableGUI::getNewTableObject | ( | ) |
Get new table object.
Reimplemented from ilPCTableGUI.
Definition at line 385 of file class.ilPCDataTableGUI.php.
References ilPageContentGUI\getPage().
Here is the call graph for this function:| ilPCDataTableGUI::setTabs | ( | $data_tab_txt_key = "" | ) |
Set tabs.
Reimplemented from ilPCTableGUI.
Definition at line 429 of file class.ilPCDataTableGUI.php.
References ilPageContentGUI\$ctrl, and $tabs.
Referenced by editDataCl().
Here is the caller graph for this function:| ilPCDataTableGUI::tableAction | ( | ) |
Perform operation on table (adding, moving, deleting rows/cols)
Definition at line 407 of file class.ilPCDataTableGUI.php.
References $_POST, $_SESSION, ilPageContentGUI\$ctrl, 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 256 of file class.ilPCDataTableGUI.php.
References $_POST, $data, $i, ilPageContentGUI\$lng, ilPCParagraph\_input2xml(), and ilPCTableGUI\editData().
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 297 of file class.ilPCDataTableGUI.php.
References $_POST, ilPageContentGUI\$ctrl, $data, $failed, ilPageContentGUI\$lng, $ret, ilPCParagraph\_input2xml(), ilPCTableGUI\editData(), ilPCParagraph\handleAjaxContent(), ilPCParagraph\handleAjaxContentPost(), ilUtil\sendFailure(), and ilUtil\stripSlashes().
Here is the call graph for this function:
|
protected |
Definition at line 29 of file class.ilPCDataTableGUI.php.
|
protected |
Definition at line 23 of file class.ilPCDataTableGUI.php.
Referenced by setTabs().