ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
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="") | |
Get table templates. More... | |
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... | |
![]() | |
__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 | _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... | |
![]() | |
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 |
![]() | |
ILIAS COPage Editor GUIService | $editor_gui |
ILIAS COPage InternalGUIService | $gui |
EditSessionRepository | $edit_repo |
string | $pc_id = "" |
array | $chars |
ilObjStyleSheet | $style = null |
LOMServices | $lom_services |
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 | |
![]() | |
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 string | $style_selector_reset = "margin-top:2px; margin-bottom:2px; text-indent:0px; position:static; float:none; width: auto;" |
![]() | |
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
Definition at line 25 of file class.ilPCTableGUI.php.
ilPCTableGUI::__construct | ( | ilPageObject | $a_pg_obj, |
?ilPageContent | $a_content_obj, | ||
string | $a_hier_id, | ||
string | $a_pc_id = "" |
||
) |
Reimplemented from ilPageContentGUI.
Reimplemented in ilPCDataTableGUI.
Definition at line 34 of file class.ilPCTableGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilPageContentGUI\setCharacteristics(), ILIAS\Repository\tabs(), and ILIAS\Repository\user().
|
static |
Add alignment checkboxes in edit mode.
Definition at line 558 of file class.ilPCTableGUI.php.
|
static |
Add span inputs.
Definition at line 607 of file class.ilPCTableGUI.php.
References $lng.
|
static |
Add style checkboxes in edit mode.
Definition at line 529 of file class.ilPCTableGUI.php.
|
static |
Add width inputs.
Definition at line 584 of file class.ilPCTableGUI.php.
|
static |
Definition at line 462 of file class.ilPCTableGUI.php.
ilPCTableGUI::afterCreation | ( | ) |
Reimplemented in ilPCDataTableGUI.
Definition at line 947 of file class.ilPCTableGUI.php.
References ILIAS\Repository\ctrl().
ilPCTableGUI::centerAlign | ( | ) |
Definition at line 868 of file class.ilPCTableGUI.php.
ilPCTableGUI::create | ( | ) |
create new table in dom and update page in db
Definition at line 904 of file class.ilPCTableGUI.php.
References ILIAS\Repository\form().
ilPCTableGUI::edit | ( | ) |
Definition at line 171 of file class.ilPCTableGUI.php.
References ILIAS\Repository\ctrl().
ilPCTableGUI::editCellAlignment | ( | ) |
Definition at line 957 of file class.ilPCTableGUI.php.
References $lng, ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ilPropertyFormGUI\getHTML(), ILIAS\Repository\lng(), ilFormGUI\setFormAction(), ilFormGUI\setKeepOpen(), and ilPropertyFormGUI\setTitle().
ilPCTableGUI::editCellSpan | ( | ) |
Definition at line 708 of file class.ilPCTableGUI.php.
References $lng.
ilPCTableGUI::editCellStyle | ( | ) |
Definition at line 645 of file class.ilPCTableGUI.php.
References $lng, ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ilPropertyFormGUI\getHTML(), ILIAS\Repository\lng(), ilFormGUI\setFormAction(), ilFormGUI\setKeepOpen(), and ilPropertyFormGUI\setTitle().
ilPCTableGUI::editCellWidth | ( | ) |
Definition at line 685 of file class.ilPCTableGUI.php.
References $lng.
ilPCTableGUI::editData | ( | ) |
Edit data of table.
Definition at line 1026 of file class.ilPCTableGUI.php.
References ilObjStyleSheet\getBaseContentStylePath().
Referenced by ilPCDataTableGUI\update(), and ilPCDataTableGUI\updateJS().
ilPCTableGUI::editProperties | ( | ) |
Definition at line 176 of file class.ilPCTableGUI.php.
References ILIAS\Repository\form().
ilPCTableGUI::executeCommand | ( | ) |
Reimplemented in ilPCDataTableGUI.
Definition at line 69 of file class.ilPCTableGUI.php.
References ILIAS\Repository\ctrl(), and ilPageContentGUI\getCharacteristicsOfCurrentStyle().
|
protected |
Reimplemented in ilPCDataTableGUI.
Definition at line 1322 of file class.ilPCTableGUI.php.
References ilObject\_lookupType().
|
protected |
Definition at line 1310 of file class.ilPCTableGUI.php.
|
protected |
Reimplemented in ilPCDataTableGUI.
Definition at line 190 of file class.ilPCTableGUI.php.
References ILIAS\Repository\lng().
ilPCTableGUI::getNewTableObject | ( | ) |
Reimplemented in ilPCDataTableGUI.
Definition at line 896 of file class.ilPCTableGUI.php.
ilPCTableGUI::getPropertiesFormValues | ( | ) |
Definition at line 401 of file class.ilPCTableGUI.php.
References ilObjStyleSheet\_lookupTemplateIdByName(), and ILIAS\Repository\form().
ilPCTableGUI::getTemplateOptions | ( | string | $a_type = "" | ) |
Get table templates.
Reimplemented from ilPageContentGUI.
Definition at line 166 of file class.ilPCTableGUI.php.
ilPCTableGUI::initPropertiesForm | ( | string | $a_mode = "edit" | ) |
Definition at line 198 of file class.ilPCTableGUI.php.
ilPCTableGUI::insert | ( | ) |
Definition at line 886 of file class.ilPCTableGUI.php.
References ILIAS\Repository\form().
ilPCTableGUI::leftAlign | ( | ) |
Definition at line 862 of file class.ilPCTableGUI.php.
ilPCTableGUI::leftFloatAlign | ( | ) |
Definition at line 874 of file class.ilPCTableGUI.php.
|
protected |
Static render table function.
Definition at line 1364 of file class.ilPCTableGUI.php.
ilPCTableGUI::rightAlign | ( | ) |
Definition at line 856 of file class.ilPCTableGUI.php.
ilPCTableGUI::rightFloatAlign | ( | ) |
Definition at line 880 of file class.ilPCTableGUI.php.
ilPCTableGUI::saveProperties | ( | ) |
save table properties in db and return to page edit screen
Definition at line 843 of file class.ilPCTableGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
ilPCTableGUI::setAlignment | ( | ) |
Set cell alignments.
Definition at line 999 of file class.ilPCTableGUI.php.
References $lng, ILIAS\Repository\ctrl(), and ilUtil\stripSlashes().
ilPCTableGUI::setBasicTableCellStyles | ( | ) |
Definition at line 60 of file class.ilPCTableGUI.php.
References ilPageContentGUI\setCharacteristics().
ilPCTableGUI::setCellPropertiesSubTabs | ( | ) |
Definition at line 132 of file class.ilPCTableGUI.php.
ilPCTableGUI::setProperties | ( | ) |
Set properties from input form.
Definition at line 805 of file class.ilPCTableGUI.php.
References ILIAS\Repository\form().
ilPCTableGUI::setSpans | ( | ) |
Set cell spans.
Definition at line 782 of file class.ilPCTableGUI.php.
References $lng, and ILIAS\Repository\ctrl().
ilPCTableGUI::setStyles | ( | ) |
Set cell styles.
Definition at line 734 of file class.ilPCTableGUI.php.
References $lng, ILIAS\Repository\ctrl(), and ilUtil\stripSlashes().
ilPCTableGUI::setTabs | ( | string | $data_tab_txt_key = "" | ) |
Reimplemented in ilPCDataTableGUI.
Definition at line 87 of file class.ilPCTableGUI.php.
ilPCTableGUI::setWidths | ( | ) |
Set cell widths.
Definition at line 759 of file class.ilPCTableGUI.php.
References $lng, ILIAS\Repository\ctrl(), and ilUtil\stripSlashes().
|
protected |
Definition at line 27 of file class.ilPCTableGUI.php.
|
protected |
Definition at line 30 of file class.ilPCTableGUI.php.
|
protected |
Definition at line 28 of file class.ilPCTableGUI.php.
|
protected |
Definition at line 31 of file class.ilPCTableGUI.php.
|
protected |
Definition at line 32 of file class.ilPCTableGUI.php.
|
protected |
Definition at line 29 of file class.ilPCTableGUI.php.