| 
    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 ilPCDataTableGUI:
 Collaboration diagram for ilPCDataTableGUI:Public Member Functions | |
| __construct (ilPageObject $a_pg_obj, ?ilPageContent $a_content_obj, string $a_hier_id, string $a_pc_id="") | |
| executeCommand () | |
| execute command  More... | |
| update (bool $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 (string $data_tab_txt_key="") | |
| Set tabs.  More... | |
| initCreationForm () | |
| initEditingForm () | |
| initImportForm () | |
| initCellPropertiesForm () | |
  Public Member Functions inherited from ilPCTableGUI | |
| __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... | |
Protected Member Functions | |
| getFormTitle (string $a_mode="edit") | |
| getCellContent (int $i, int $j) | |
  Protected Member Functions inherited from ilPCTableGUI | |
| 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 HTTP Services | $http | 
| ilGlobalTemplateInterface | $main_tpl | 
  Protected Attributes inherited from ilPCTableGUI | |
| 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 | |
  Static Public Member Functions inherited from ilPCTableGUI | |
| 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 () | 
  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 Class ilPCTableGUI User Interface for Data Table Editing
Definition at line 24 of file class.ilPCDataTableGUI.php.
| ilPCDataTableGUI::__construct | ( | ilPageObject | $a_pg_obj, | 
| ?ilPageContent | $a_content_obj, | ||
| string | $a_hier_id, | ||
| string | $a_pc_id = ""  | 
        ||
| ) | 
Definition at line 29 of file class.ilPCDataTableGUI.php.
References $DIC, ILIAS\MetaData\Repository\Validation\Data\__construct(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ilPageContentGUI\setCharacteristics(), and ILIAS\Repository\tabs().
 Here is the call graph for this function:| ilPCDataTableGUI::afterCreation | ( | ) | 
After creation processing.
Definition at line 222 of file class.ilPCDataTableGUI.php.
References ilPageContentGUI\$ctrl, and ilCtrl\setParameter().
 Here is the call graph for this function:| ilPCDataTableGUI::executeCommand | ( | ) | 
execute command
Definition at line 59 of file class.ilPCDataTableGUI.php.
References ILIAS\Repository\ctrl(), and ilPageContentGUI\getCharacteristicsOfCurrentStyle().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 266 of file class.ilPCDataTableGUI.php.
References ILIAS\Repository\ctrl(), ilUtil\stripSlashes(), ilPCParagraph\xml2output(), and ilPCParagraphGUI\xml2outputJS().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 47 of file class.ilPCDataTableGUI.php.
References ILIAS\Repository\lng().
Referenced by initCreationForm(), initEditingForm(), and initImportForm().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPCDataTableGUI::getNewTableObject | ( | ) | 
Get new table object.
Definition at line 214 of file class.ilPCDataTableGUI.php.
References ilPageContentGUI\getPage().
 Here is the call graph for this function:| ilPCDataTableGUI::initCellPropertiesForm | ( | ) | 
Definition at line 487 of file class.ilPCDataTableGUI.php.
References ilPageContentGUI\$chars, ilPageContentGUI\$ctrl, ilPCTableGUI\$form, ilPageContentGUI\$lng, ilPageContentGUI\$style, ilPCTableGUI\$user, ilPropertyFormGUI\addItem(), ilSubEnabledFormPropertyGUI\addSubItem(), ilPageContentGUI\getCharacteristics(), ilPageContentGUI\getCharacteristicsOfCurrentStyle(), ILIAS\Repository\lng(), ilPCTableGUI\setBasicTableCellStyles(), ilFormGUI\setFormAction(), ilSelectInputGUI\setOptions(), ilPropertyFormGUI\setShowTopButtons(), ilPropertyFormGUI\setTitle(), and ilLanguage\txt().
 Here is the call graph for this function:| ilPCDataTableGUI::initCreationForm | ( | ) | 
Definition at line 290 of file class.ilPCDataTableGUI.php.
References ilPageContentGUI\$chars, ilPageContentGUI\$ctrl, ilPCTableGUI\$form, ilPageContentGUI\$lng, ilPCTableGUI\$user, ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ilPageContentGUI\getCharacteristics(), getFormTitle(), ilPCTableGUI\getTemplateOptions(), ILIAS\Repository\lng(), ilFormGUI\setFormAction(), ilSelectInputGUI\setOptions(), ilPropertyFormGUI\setShowTopButtons(), ilPropertyFormGUI\setTitle(), and ilLanguage\txt().
 Here is the call graph for this function:| ilPCDataTableGUI::initEditingForm | ( | ) | 
Definition at line 361 of file class.ilPCDataTableGUI.php.
References ilPageContentGUI\$chars, ilPageContentGUI\$ctrl, ilPCTableGUI\$form, ilPageContentGUI\$lng, ilPCTableGUI\$user, ilObjStyleSheet\_lookupTemplateIdByName(), ilPropertyFormGUI\addItem(), ilPageContentGUI\getCharacteristics(), getFormTitle(), ilPageContentGUI\getStyleId(), ilPCTableGUI\getTemplateOptions(), ILIAS\Repository\lng(), ilFormGUI\setFormAction(), ilPropertyFormGUI\setShowTopButtons(), ilPropertyFormGUI\setTitle(), and ilLanguage\txt().
 Here is the call graph for this function:| ilPCDataTableGUI::initImportForm | ( | ) | 
Definition at line 422 of file class.ilPCDataTableGUI.php.
References ilPageContentGUI\$chars, ilPageContentGUI\$ctrl, ilPCTableGUI\$form, ilPageContentGUI\$lng, ilPCTableGUI\$user, ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ilPageContentGUI\getCharacteristics(), getFormTitle(), ilPCTableGUI\getTemplateOptions(), ILIAS\Repository\lng(), ilFormGUI\setFormAction(), ilPropertyFormGUI\setShowTopButtons(), ilPropertyFormGUI\setTitle(), and ilLanguage\txt().
 Here is the call graph for this function:| ilPCDataTableGUI::setTabs | ( | string | $data_tab_txt_key = "" | ) | 
Set tabs.
Definition at line 261 of file class.ilPCDataTableGUI.php.
| ilPCDataTableGUI::tableAction | ( | ) | 
Perform operation on table (adding, moving, deleting rows/cols)
Definition at line 236 of file class.ilPCDataTableGUI.php.
References ilPageContentGUI\$ctrl, $id, and update().
 Here is the call graph for this function:| ilPCDataTableGUI::update | ( | bool | $a_redirect = true | ) | 
Update table data in dom and update page in db.
Definition at line 86 of file class.ilPCDataTableGUI.php.
References $data, ilPageContentGUI\$lng, ilPCParagraph\_input2xml(), ILIAS\Repository\ctrl(), ilPCTableGUI\editData(), and ilLanguage\txt().
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 125 of file class.ilPCDataTableGUI.php.
References ilPageContentGUI\$ctrl, $data, $id, ilPageContentGUI\$lng, $post, ilPCParagraph\_input2xml(), ILIAS\Repository\ctrl(), ilPCTableGUI\editData(), ilPCParagraph\handleAjaxContent(), ilPCParagraph\handleAjaxContentPost(), ILIAS\FileDelivery\http(), ILIAS\Repository\int(), ilUtil\stripSlashes(), and ilLanguage\txt().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 26 of file class.ilPCDataTableGUI.php.
      
  | 
  protected | 
Definition at line 27 of file class.ilPCDataTableGUI.php.