|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilPCTableGUI. More...
Inheritance diagram for ilPCTableGUI:
Collaboration diagram for ilPCTableGUI:Public Member Functions | |
| __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... | |
Static Public Member Functions | |
| 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... | |
Protected Member Functions | |
| 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 | |
| $user | |
| $tool_context | |
Protected Attributes inherited from ilPageContentGUI | |
| $error | |
| $log | |
Additional Inherited Members | |
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 Table Editing
See https://mantis.ilias.de/view.php?id=32856 @ilCtrl_Calls ilPCTableGUI: ilAssGenFeedbackPageGUI
Definition at line 20 of file class.ilPCTableGUI.php.
| ilPCTableGUI::__construct | ( | & | $a_pg_obj, |
| & | $a_content_obj, | ||
| $a_hier_id, | |||
$a_pc_id = "" |
|||
| ) |
Constructor @access public.
Reimplemented in ilPCDataTableGUI.
Definition at line 41 of file class.ilPCTableGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ilPageContentGUI\setCharacteristics(), and user().
Here is the call graph for this function:
|
static |
Add alignment checkboxes in edit mode.
Definition at line 576 of file class.ilPCTableGUI.php.
References $DIC, and ilPageContentGUI\$lng.
Referenced by _renderTable().
Here is the caller graph for this function:
|
static |
Add span inputs.
Definition at line 621 of file class.ilPCTableGUI.php.
References $DIC, $i, and ilPageContentGUI\$lng.
Referenced by _renderTable().
Here is the caller graph for this function:
|
static |
Add style checkboxes in edit mode.
Definition at line 549 of file class.ilPCTableGUI.php.
References $DIC, and ilPageContentGUI\$lng.
Referenced by _renderTable().
Here is the caller graph for this function:
|
static |
Add width inputs.
Definition at line 600 of file class.ilPCTableGUI.php.
References $DIC, and ilPageContentGUI\$lng.
Referenced by _renderTable().
Here is the caller graph for this function:
|
static |
Static render table function.
Definition at line 475 of file class.ilPCTableGUI.php.
References $DIC, $ilUser, _addAlignmentCheckboxes(), _addSpanInputs(), _addStyleCheckboxes(), _addWidthInputs(), ilUtil\getImagePath(), ilCOPagePCDef\getPCDefinitions(), ilUtil\getWebspaceDir(), ilCOPagePCDef\requirePCClassByName(), xslt_create(), xslt_error(), and xslt_free().
Referenced by ilObjStyleSheetGUI\_getTemplatePreview(), and renderTable().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTableGUI::afterCreation | ( | ) |
After creation processing.
Reimplemented in ilPCDataTableGUI.
Definition at line 1002 of file class.ilPCTableGUI.php.
Referenced by create().
Here is the caller graph for this function:| ilPCTableGUI::centerAlign | ( | ) |
align table to left
Definition at line 897 of file class.ilPCTableGUI.php.
References $_SESSION.
| ilPCTableGUI::create | ( | ) |
create new table in dom and update page in db
Definition at line 952 of file class.ilPCTableGUI.php.
References $_POST, ilPageContentGUI\$lng, afterCreation(), getNewTableObject(), insert(), setProperties(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilPCTableGUI::edit | ( | ) |
Definition at line 173 of file class.ilPCTableGUI.php.
Referenced by saveProperties().
Here is the caller graph for this function:| ilPCTableGUI::editCellAlignment | ( | ) |
Edit cell styles.
Definition at line 1015 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, $si, $tabs, ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), renderTable(), setCellPropertiesSubTabs(), and setTabs().
Here is the call graph for this function:| ilPCTableGUI::editCellSpan | ( | ) |
Edit cell spans.
Definition at line 735 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, $tabs, ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), renderTable(), setCellPropertiesSubTabs(), and setTabs().
Here is the call graph for this function:| ilPCTableGUI::editCellStyle | ( | ) |
Edit cell styles.
Definition at line 660 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, $tabs, ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), ilPageContentGUI\getCharacteristics(), ilPageContentGUI\getCharacteristicsOfCurrentStyle(), renderTable(), setBasicTableCellStyles(), setCellPropertiesSubTabs(), and setTabs().
Here is the call graph for this function:| ilPCTableGUI::editCellWidth | ( | ) |
Edit cell widths.
Definition at line 709 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, $tabs, ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), renderTable(), setCellPropertiesSubTabs(), and setTabs().
Here is the call graph for this function:| ilPCTableGUI::editData | ( | ) |
Edit data of table.
Definition at line 1096 of file class.ilPCTableGUI.php.
References ilPageContentGUI\displayValidationError(), getEditDataTable(), setEditorToolContext(), and setTabs().
Referenced by ilPCDataTableGUI\update(), and ilPCDataTableGUI\updateJS().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTableGUI::editProperties | ( | ) |
edit properties form
Definition at line 181 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), getPropertiesFormValues(), initPropertiesForm(), renderTable(), and setTabs().
Here is the call graph for this function:| ilPCTableGUI::executeCommand | ( | ) |
execute command
Reimplemented in ilPCDataTableGUI.
Definition at line 67 of file class.ilPCTableGUI.php.
References $ret, and ilPageContentGUI\getCharacteristicsOfCurrentStyle().
Here is the call graph for this function:
|
protected |
Reimplemented in ilPCDataTableGUI.
Definition at line 1252 of file class.ilPCTableGUI.php.
References $i, $mobs, ilObject\_lookupType(), ilPageContentGUI\getStyleId(), and renderCell().
Referenced by getEditDataTable().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1337 of file class.ilPCTableGUI.php.
References $base.
Referenced by getEditDataTable().
Here is the caller graph for this function:| ilPCTableGUI::getEditDataTable | ( | $initial = false | ) |
Definition at line 1110 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$ctrl, $i, $res, getCellContent(), getColumnCaption(), ilPageContentGUI\getHierId(), ilInternalLinkGUI\getInitHTML(), 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:| ilPCTableGUI::getNewTableObject | ( | ) |
Get new table object.
Reimplemented in ilPCDataTableGUI.
Definition at line 944 of file class.ilPCTableGUI.php.
References ilPageContentGUI\getPage().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTableGUI::getPropertiesFormValues | ( | ) |
Get properties form.
Definition at line 412 of file class.ilPCTableGUI.php.
References ilObjStyleSheet\_lookupTemplateIdByName(), and ilPageContentGUI\getStyleId().
Referenced by editProperties().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTableGUI::getTemplateOptions | ( | $a_type = "" | ) |
Get table templates.
Reimplemented from ilPageContentGUI.
Definition at line 168 of file class.ilPCTableGUI.php.
Referenced by initPropertiesForm().
Here is the caller graph for this function:| ilPCTableGUI::initPropertiesForm | ( | $a_mode = "edit" | ) |
Init properties form.
Definition at line 198 of file class.ilPCTableGUI.php.
References $_GET, $_SESSION, $cols, ilPageContentGUI\$ctrl, $i, $ilUser, $lang, ilPageContentGUI\$lng, $rows, ilPageContentGUI\$tpl, $user, ilMDLanguageItem\_getLanguages(), ilPageContentGUI\getCharacteristics(), ilPageContentGUI\getCharacteristicsOfCurrentStyle(), getTemplateOptions(), and setBasicTableCellStyles().
Referenced by editProperties(), and insert().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTableGUI::insert | ( | ) |
insert new table form
Definition at line 927 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$ctrl, $ilUser, ilPageContentGUI\$lng, ilPageContentGUI\$tpl, $user, ilPageContentGUI\displayValidationError(), and initPropertiesForm().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTableGUI::leftAlign | ( | ) |
align table to left
Definition at line 887 of file class.ilPCTableGUI.php.
References $_SESSION.
| ilPCTableGUI::leftFloatAlign | ( | ) |
align table to left float
Definition at line 907 of file class.ilPCTableGUI.php.
References $_SESSION.
|
protected |
Static render table function.
Definition at line 1294 of file class.ilPCTableGUI.php.
Referenced by getCellContent().
Here is the caller graph for this function:| ilPCTableGUI::renderTable | ( | $a_mode = "table_edit", |
|
$a_submode = "" |
|||
| ) |
Render the table.
Definition at line 444 of file class.ilPCTableGUI.php.
References $mobs, ilObject\_lookupType(), _renderTable(), and ilPageContentGUI\getStyleId().
Referenced by editCellAlignment(), editCellSpan(), editCellStyle(), editCellWidth(), and editProperties().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTableGUI::rightAlign | ( | ) |
align table to right
Definition at line 877 of file class.ilPCTableGUI.php.
References $_SESSION.
| ilPCTableGUI::rightFloatAlign | ( | ) |
align table to left
Definition at line 917 of file class.ilPCTableGUI.php.
References $_SESSION.
| ilPCTableGUI::saveProperties | ( | ) |
save table properties in db and return to page edit screen
Definition at line 861 of file class.ilPCTableGUI.php.
References edit(), and setProperties().
Here is the call graph for this function:| ilPCTableGUI::setAlignment | ( | ) |
Set cell alignments.
Definition at line 1058 of file class.ilPCTableGUI.php.
References $_POST, ilPageContentGUI\$lng, and ilUtil\stripSlashes().
Here is the call graph for this function:| ilPCTableGUI::setBasicTableCellStyles | ( | ) |
Set basic table cell styles.
Definition at line 58 of file class.ilPCTableGUI.php.
References ilPageContentGUI\setCharacteristics().
Referenced by editCellStyle(), and initPropertiesForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTableGUI::setCellPropertiesSubTabs | ( | ) |
Set tabs.
Definition at line 130 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, and $tabs.
Referenced by editCellAlignment(), editCellSpan(), editCellStyle(), and editCellWidth().
Here is the caller graph for this function:
|
protected |
Set editor tool context.
Definition at line 1083 of file class.ilPCTableGUI.php.
References ilCOPageEditGSToolProvider\SHOW_EDITOR.
Referenced by editData().
Here is the caller graph for this function:| ilPCTableGUI::setProperties | ( | ) |
Set properties from input form.
Definition at line 826 of file class.ilPCTableGUI.php.
References $_POST, and ilUtil\stripSlashes().
Referenced by create(), and saveProperties().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTableGUI::setSpans | ( | ) |
Set cell spans.
Definition at line 807 of file class.ilPCTableGUI.php.
References $_POST, ilPageContentGUI\$lng, and ilUtil\stripSlashes().
Here is the call graph for this function:| ilPCTableGUI::setStyles | ( | ) |
Set cell styles and.
Definition at line 761 of file class.ilPCTableGUI.php.
References $_POST, ilPageContentGUI\$lng, and ilUtil\stripSlashes().
Here is the call graph for this function:| ilPCTableGUI::setTabs | ( | $data_tab_txt_key = "" | ) |
Set tabs.
Reimplemented in ilPCDataTableGUI.
Definition at line 90 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, and $tabs.
Referenced by editCellAlignment(), editCellSpan(), editCellStyle(), editCellWidth(), editData(), and editProperties().
Here is the caller graph for this function:| ilPCTableGUI::setWidths | ( | ) |
Set cell widths.
Definition at line 785 of file class.ilPCTableGUI.php.
References $_POST, ilPageContentGUI\$lng, and ilUtil\stripSlashes().
Here is the call graph for this function:
|
protected |
Definition at line 25 of file class.ilPCTableGUI.php.
Referenced by editCellAlignment(), editCellSpan(), editCellStyle(), editCellWidth(), setCellPropertiesSubTabs(), and setTabs().
|
protected |
Definition at line 35 of file class.ilPCTableGUI.php.
|
protected |
Definition at line 30 of file class.ilPCTableGUI.php.
Referenced by initPropertiesForm(), and insert().