|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilPCTableGUI:
Collaboration diagram for ilPCTableGUI:Public Member Functions | |
| __construct (ilPageObject $a_pg_obj, ?ilPageContent $a_content_obj, string $a_hier_id, string $a_pc_id="") | |
| setBasicTableCellStyles () | |
| executeCommand () | |
| setTabs (string $data_tab_txt_key="") | |
| setCellPropertiesSubTabs () | |
| getTemplateOptions (string $a_type="") | |
| edit () | |
| editProperties () | |
| initPropertiesForm (string $a_mode="edit") | |
| getPropertiesFormValues () | |
| editCellStyle () | |
| editCellWidth () | |
| editCellSpan () | |
| setStyles () | |
| Set cell styles. 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 () | |
| leftAlign () | |
| centerAlign () | |
| leftFloatAlign () | |
| rightFloatAlign () | |
| insert () | |
| getNewTableObject () | |
| create () | |
| create new table in dom and update page in db More... | |
| afterCreation () | |
| editCellAlignment () | |
| setAlignment () | |
| Set cell alignments. More... | |
| editData () | |
| Edit data of table. More... | |
Public Member Functions inherited from ilPageContentGUI | |
| __construct (ilPageObject $a_pg_obj, ?ilPageContent $a_content_obj, string $a_hier_id="", string $a_pc_id="0") | |
| setContentObject (ilPageContent $a_val) | |
| getContentObject () | |
| setPage (ilPageObject $a_val) | |
| getPage () | |
| setPageConfig (ilPageConfig $a_val) | |
| getPageConfig () | |
| setStyleId (int $a_styleid) | |
| getStyleId () | |
| getStyle () | |
| getCharacteristicsOfCurrentStyle (array $a_type) | |
| Get characteristics of current style and call setCharacteristics, if style is given. More... | |
| setCharacteristics (array $a_chars) | |
| getCharacteristics () | |
| getHierId () | |
| setHierId (string $a_hier_id) | |
| set hierarchical id in dom object More... | |
| delete () | |
| displayValidationError () | |
| 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 (string $a_type="") | |
| Get table templates. More... | |
Static Public Member Functions | |
| static | _renderTable (string $content, string $a_mode="table_edit", string $a_submode="", ilPCTable $a_table_obj=null, bool $unmask=true, ilPageObject $page_object=null) |
| static | _addStyleCheckboxes (string $a_output, ilPCTable $a_table) |
| Add style checkboxes in edit mode. More... | |
| static | _addAlignmentCheckboxes (string $a_output, ilPCTable $a_table) |
| Add alignment checkboxes in edit mode. More... | |
| static | _addWidthInputs (string $a_output, ilPCTable $a_table) |
| Add width inputs. More... | |
| static | _addSpanInputs (string $a_output, ilPCTable $a_table) |
| Add span inputs. More... | |
Static Public Member Functions inherited from ilPageContentGUI | |
| static | _getCommonBBButtons () |
Protected Member Functions | |
| getFormTitle (string $a_mode="edit") | |
| getColumnCaption (int $nr) | |
| getCellContent (int $i, int $j) | |
| renderCell ( $content, $unmask=true, $page_object=null) | |
| Static render table function. More... | |
Protected Member Functions inherited from ilPageContentGUI | |
| redirectToParent (string $hier_id="") | |
| getParentReturn (string $hier_id="") | |
| updateAndReturn () | |
| setCurrentTextLang (string $lang_key) | |
| getCurrentTextLang () | |
| setEditorToolContext () | |
| initEditor () | |
| getEditorScriptTag (string $form_pc_id="", string $form_cname="") | |
Protected Attributes | |
| ILIAS COPage Dom DomUtil | $dom_util |
| ILIAS COPage PC PCDefinition | $pc_definition |
| ILIAS COPage Xsl XslManager | $xsl |
| ilPropertyFormGUI | $form |
| ilTabsGUI | $tabs |
| ilObjUser | $user |
Protected Attributes inherited from ilPageContentGUI | |
| ILIAS COPage Editor GUIService | $editor_gui |
| ILIAS COPage InternalGUIService | $gui |
| EditSessionRepository | $edit_repo |
| string | $pc_id = "" |
| array | $chars |
| ilObjStyleSheet | $style = null |
| ilLogger | $log |
| int | $styleid = 0 |
| EditGUIRequest | $request |
| string | $sub_command = "" |
| int | $requested_ref_id = 0 |
| ILIAS GlobalScreen ScreenContext ContextServices | $tool_context |
| Style Content CharacteristicManager | $char_manager |
Additional Inherited Members | |
Data Fields inherited from ilPageContentGUI | |
| ilPageContent | $content_obj |
| ilGlobalTemplateInterface | $tpl |
| ilLanguage | $lng |
| ilCtrl | $ctrl |
| ilPageObject | $pg_obj |
| string | $hier_id = "" |
| DOMDocument | $dom |
| $updated | |
| string | $target_script = "" |
| string | $return_location = "" |
| ilPageConfig | $page_config = null |
Static Public Attributes inherited from ilPageContentGUI | |
| static string | $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 array | $common_bb_buttons |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning User Interface for Table Editing
See https://mantis.ilias.de/view.php?id=32856 ilPCTableGUI: ilAssGenFeedbackPageGUI
Definition at line 26 of file class.ilPCTableGUI.php.
| ilPCTableGUI::__construct | ( | ilPageObject | $a_pg_obj, |
| ?ilPageContent | $a_content_obj, | ||
| string | $a_hier_id, | ||
| string | $a_pc_id = "" |
||
| ) |
Definition at line 35 of file class.ilPCTableGUI.php.
References $DIC, ILIAS\MetaData\Repository\Validation\Data\__construct(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilPageContentGUI\setCharacteristics(), ILIAS\Repository\tabs(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
static |
Add alignment checkboxes in edit mode.
Definition at line 557 of file class.ilPCTableGUI.php.
References $check, $DIC, ilPageContentGUI\$lng, ilPCTable\getAllCellAlignments(), and ilLanguage\txt().
Referenced by _renderTable().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Add span inputs.
Definition at line 606 of file class.ilPCTableGUI.php.
References $DIC, ilPageContentGUI\$lng, ilPCTable\getAllCellSpans(), and ilLanguage\txt().
Referenced by _renderTable().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Add style checkboxes in edit mode.
Definition at line 528 of file class.ilPCTableGUI.php.
References $check, $DIC, ilPageContentGUI\$lng, ilPCTable\getAllCellClasses(), and ilLanguage\txt().
Referenced by _renderTable().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Add width inputs.
Definition at line 583 of file class.ilPCTableGUI.php.
References $check, $DIC, ilPageContentGUI\$lng, ilPCTable\getAllCellWidths(), and ilLanguage\txt().
Referenced by _renderTable().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 461 of file class.ilPCTableGUI.php.
References $DIC, $params, _addAlignmentCheckboxes(), _addSpanInputs(), _addStyleCheckboxes(), _addWidthInputs(), ilUtil\getImagePath(), and ilFileUtils\getWebspaceDir().
Referenced by ilObjStyleSheetGUI\_getTemplatePreview(), and getPropertiesFormValues().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTableGUI::afterCreation | ( | ) |
Definition at line 950 of file class.ilPCTableGUI.php.
References ILIAS\Repository\ctrl().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTableGUI::centerAlign | ( | ) |
Definition at line 871 of file class.ilPCTableGUI.php.
References ilPageContentGUI\updateAndReturn().
Here is the call graph for this function:| ilPCTableGUI::create | ( | ) |
create new table in dom and update page in db
Definition at line 907 of file class.ilPCTableGUI.php.
References afterCreation(), ILIAS\Repository\form(), getNewTableObject(), initPropertiesForm(), insert(), and setProperties().
Here is the call graph for this function:| ilPCTableGUI::edit | ( | ) |
Definition at line 172 of file class.ilPCTableGUI.php.
References ILIAS\Repository\ctrl().
Referenced by saveProperties().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTableGUI::editCellAlignment | ( | ) |
Definition at line 960 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, $tabs, ilPageContentGUI\$tpl, ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ilPageContentGUI\displayValidationError(), ilPropertyFormGUI\getHTML(), ILIAS\Repository\lng(), setCellPropertiesSubTabs(), ilGlobalTemplateInterface\setContent(), ilFormGUI\setFormAction(), ilFormGUI\setKeepOpen(), ilSelectInputGUI\setOptions(), setTabs(), ilPropertyFormGUI\setTitle(), and ilLanguage\txt().
Here is the call graph for this function:| ilPCTableGUI::editCellSpan | ( | ) |
Definition at line 711 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, $tabs, ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), setCellPropertiesSubTabs(), ilGlobalTemplateInterface\setContent(), setTabs(), and ilLanguage\txt().
Here is the call graph for this function:| ilPCTableGUI::editCellStyle | ( | ) |
Definition at line 644 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$chars, ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, ilPageContentGUI\$style, $tabs, ilPageContentGUI\$tpl, ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ilPageContentGUI\displayValidationError(), ilPageContentGUI\getCharacteristics(), ilPageContentGUI\getCharacteristicsOfCurrentStyle(), ilPropertyFormGUI\getHTML(), ILIAS\Repository\lng(), setBasicTableCellStyles(), setCellPropertiesSubTabs(), ilGlobalTemplateInterface\setContent(), ilFormGUI\setFormAction(), ilFormGUI\setKeepOpen(), setTabs(), ilPropertyFormGUI\setTitle(), and ilLanguage\txt().
Here is the call graph for this function:| ilPCTableGUI::editCellWidth | ( | ) |
Definition at line 688 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, $tabs, ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), setCellPropertiesSubTabs(), ilGlobalTemplateInterface\setContent(), setTabs(), and ilLanguage\txt().
Here is the call graph for this function:| ilPCTableGUI::editData | ( | ) |
Edit data of table.
Definition at line 1029 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$content_obj, ilPageContentGUI\$ctrl, $id, $path, ilPageContentGUI\$style, ilObjStyleSheet\_lookupTemplateIdByName(), ILIAS\Repository\ctrl(), ilPageContentGUI\displayValidationError(), ilObjStyleSheet\getBaseContentStylePath(), getCellContent(), getColumnCaption(), ilPageContentGUI\getEditorScriptTag(), ilPageContentGUI\getHierId(), ilInternalLinkGUI\getInitHTML(), ilPageContentGUI\getStyleId(), ilPageContentGUI\initEditor(), ILIAS\Repository\int(), ILIAS\Repository\lng(), 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 | ( | ) |
Definition at line 177 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), ILIAS\Repository\form(), getPropertiesFormValues(), initPropertiesForm(), ilGlobalTemplateInterface\setContent(), and setTabs().
Here is the call graph for this function:| ilPCTableGUI::executeCommand | ( | ) |
Definition at line 70 of file class.ilPCTableGUI.php.
References ILIAS\Repository\ctrl(), and ilPageContentGUI\getCharacteristicsOfCurrentStyle().
Here is the call graph for this function:
|
protected |
Definition at line 1323 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$style, ilObject\_lookupType(), ilPageContentGUI\getPage(), ilPageContentGUI\getStyleId(), ilObjStyleSheet\getTemplateXML(), and renderCell().
Referenced by editData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1311 of file class.ilPCTableGUI.php.
Referenced by editData().
Here is the caller graph for this function:
|
protected |
Definition at line 191 of file class.ilPCTableGUI.php.
References ILIAS\Repository\lng().
Referenced by initPropertiesForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTableGUI::getNewTableObject | ( | ) |
Definition at line 899 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 | ( | ) |
Definition at line 400 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$content_obj, ilPageContentGUI\$style, ilObjStyleSheet\_lookupTemplateIdByName(), ilObject\_lookupType(), _renderTable(), ILIAS\Repository\form(), ilPageContentGUI\getPage(), ilPageContentGUI\getStyleId(), and ilObjStyleSheet\getTemplateXML().
Referenced by editProperties().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTableGUI::getTemplateOptions | ( | string | $a_type = "" | ) |
Definition at line 167 of file class.ilPCTableGUI.php.
Referenced by ilPCDataTableGUI\initCreationForm(), ilPCDataTableGUI\initEditingForm(), ilPCDataTableGUI\initImportForm(), and initPropertiesForm().
Here is the caller graph for this function:| ilPCTableGUI::initPropertiesForm | ( | string | $a_mode = "edit" | ) |
Definition at line 199 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$chars, ilPageContentGUI\$ctrl, $lang, ilPageContentGUI\$lng, $user, ilMDLanguageItem\_getLanguages(), ilRadioOption\addSubItem(), ILIAS\Repository\form(), ilPageContentGUI\getCharacteristics(), ilPageContentGUI\getCharacteristicsOfCurrentStyle(), ilPageContentGUI\getCurrentTextLang(), getFormTitle(), getTemplateOptions(), ILIAS\Repository\lng(), setBasicTableCellStyles(), ilSelectInputGUI\setOptions(), and ilLanguage\txt().
Referenced by create(), editProperties(), insert(), and setProperties().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTableGUI::insert | ( | ) |
Definition at line 889 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), ILIAS\Repository\form(), initPropertiesForm(), and ilGlobalTemplateInterface\setContent().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTableGUI::leftAlign | ( | ) |
Definition at line 865 of file class.ilPCTableGUI.php.
References ilPageContentGUI\updateAndReturn().
Here is the call graph for this function:| ilPCTableGUI::leftFloatAlign | ( | ) |
Definition at line 877 of file class.ilPCTableGUI.php.
References ilPageContentGUI\updateAndReturn().
Here is the call graph for this function:
|
protected |
Static render table function.
Definition at line 1365 of file class.ilPCTableGUI.php.
References $DIC, $params, ilUtil\getImagePath(), and ilFileUtils\getWebspaceDir().
Referenced by getCellContent().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTableGUI::rightAlign | ( | ) |
Definition at line 859 of file class.ilPCTableGUI.php.
References ilPageContentGUI\updateAndReturn().
Here is the call graph for this function:| ilPCTableGUI::rightFloatAlign | ( | ) |
Definition at line 883 of file class.ilPCTableGUI.php.
References ilPageContentGUI\updateAndReturn().
Here is the call graph for this function:| ilPCTableGUI::saveProperties | ( | ) |
save table properties in db and return to page edit screen
Definition at line 846 of file class.ilPCTableGUI.php.
References ILIAS\Repository\ctrl(), edit(), ILIAS\Repository\lng(), and setProperties().
Here is the call graph for this function:| ilPCTableGUI::setAlignment | ( | ) |
Set cell alignments.
Definition at line 1002 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$lng, ILIAS\Repository\ctrl(), ilUtil\stripSlashes(), and ilLanguage\txt().
Here is the call graph for this function:| ilPCTableGUI::setBasicTableCellStyles | ( | ) |
Definition at line 61 of file class.ilPCTableGUI.php.
References ilPageContentGUI\setCharacteristics().
Referenced by editCellStyle(), ilPCDataTableGUI\initCellPropertiesForm(), and initPropertiesForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTableGUI::setCellPropertiesSubTabs | ( | ) |
Definition at line 133 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$ctrl, and $tabs.
Referenced by editCellAlignment(), editCellSpan(), editCellStyle(), and editCellWidth().
Here is the caller graph for this function:| ilPCTableGUI::setProperties | ( | ) |
Set properties from input form.
Definition at line 808 of file class.ilPCTableGUI.php.
References ILIAS\Repository\form(), and initPropertiesForm().
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 785 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$lng, ILIAS\Repository\ctrl(), and ilLanguage\txt().
Here is the call graph for this function:| ilPCTableGUI::setStyles | ( | ) |
Set cell styles.
Definition at line 737 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$lng, ILIAS\Repository\ctrl(), ilUtil\stripSlashes(), and ilLanguage\txt().
Here is the call graph for this function:| ilPCTableGUI::setTabs | ( | string | $data_tab_txt_key = "" | ) |
Definition at line 88 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, $tabs, ILIAS\Repository\ctrl(), and ilLanguage\txt().
Referenced by editCellAlignment(), editCellSpan(), editCellStyle(), editCellWidth(), editData(), and editProperties().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTableGUI::setWidths | ( | ) |
Set cell widths.
Definition at line 762 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$lng, ILIAS\Repository\ctrl(), ilUtil\stripSlashes(), and ilLanguage\txt().
Here is the call graph for this function:
|
protected |
Definition at line 28 of file class.ilPCTableGUI.php.
|
protected |
Definition at line 31 of file class.ilPCTableGUI.php.
Referenced by ilPCDataTableGUI\initCellPropertiesForm(), ilPCDataTableGUI\initCreationForm(), ilPCDataTableGUI\initEditingForm(), and ilPCDataTableGUI\initImportForm().
|
protected |
Definition at line 29 of file class.ilPCTableGUI.php.
|
protected |
Definition at line 32 of file class.ilPCTableGUI.php.
Referenced by editCellAlignment(), editCellSpan(), editCellStyle(), editCellWidth(), setCellPropertiesSubTabs(), and setTabs().
|
protected |
Definition at line 33 of file class.ilPCTableGUI.php.
Referenced by ilPCDataTableGUI\initCellPropertiesForm(), ilPCDataTableGUI\initCreationForm(), ilPCDataTableGUI\initEditingForm(), ilPCDataTableGUI\initImportForm(), and initPropertiesForm().
|
protected |
Definition at line 30 of file class.ilPCTableGUI.php.