|
ILIAS
trunk Revision v12.0_alpha-1540-g00f839d5fa1
|
Responsive Grid UI class. More...
Inheritance diagram for ilPCGridGUI:
Collaboration diagram for ilPCGridGUI:Public Member Functions | |
| __construct (ilPageObject $a_pg_obj, ?ilPageContent $a_content_obj, string $a_hier_id, string $a_pc_id="") | |
| executeCommand () | |
| insert () | |
| initCreationForm () | |
| Init creation form. More... | |
| create () | |
| Create new grid element. More... | |
| afterCreation () | |
| edit () | |
| List all cells. More... | |
| savePositions () | |
| Save positions. More... | |
| editWidths (string $id) | |
| addCell () | |
| Add cell. More... | |
| confirmCellDeletion (array $tids) | |
| Confirm cell deletion. More... | |
| cancelCellDeletion () | |
| Cancel cell deletion. More... | |
| deleteCells () | |
| Delete Cells. More... | |
| setTabs () | |
| saveCellData () | |
| Save tabs properties in db and return to page edit screen. 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... | |
Data Fields | |
| const | TEMPLATE_MANUAL = 0 |
| const | TEMPLATE_TWO_COLUMN = 1 |
| const | TEMPLATE_THREE_COLUMN = 2 |
| const | TEMPLATE_MAIN_SIDE = 3 |
| const | TEMPLATE_TWO_BY_TWO = 4 |
Data Fields inherited from ilPageContentGUI | |
| ilPageContent | $content_obj |
| ilGlobalTemplateInterface | $tpl |
| ilLanguage | $lng |
| ilCtrl | $ctrl |
| ilPageObject | $pg_obj |
| string | $hier_id = "" |
| DOMDocument | $dom |
| array bool null | $updated = null |
| string | $target_script = "" |
| string | $return_location = "" |
| ilPageConfig | $page_config = null |
Protected Member Functions | |
| getGridTable () | |
| getEditWidthsForm (string $id) | |
| saveWidths () | |
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 InternalDomainService | $domain |
| ilToolbarGUI | $toolbar |
| ilTabsGUI | $tabs |
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 |
| 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 | |
Static Public Member Functions inherited from ilPageContentGUI | |
| static | _getCommonBBButtons () |
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 |
Responsive Grid UI class.
Definition at line 27 of file class.ilPCGridGUI.php.
| ilPCGridGUI::__construct | ( | ilPageObject | $a_pg_obj, |
| ?ilPageContent | $a_content_obj, | ||
| string | $a_hier_id, | ||
| string | $a_pc_id = "" |
||
| ) |
Reimplemented from ilPageContentGUI.
Definition at line 39 of file class.ilPCGridGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), ILIAS\Repository\tabs(), and ILIAS\Repository\toolbar().
Here is the call graph for this function:| ilPCGridGUI::addCell | ( | ) |
Add cell.
Definition at line 308 of file class.ilPCGridGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilPCGridGUI::afterCreation | ( | ) |
Definition at line 183 of file class.ilPCGridGUI.php.
References ILIAS\Repository\ctrl(), edit(), and ilPageContentGUI\setHierId().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCGridGUI::cancelCellDeletion | ( | ) |
Cancel cell deletion.
Definition at line 351 of file class.ilPCGridGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilPCGridGUI::confirmCellDeletion | ( | array | $tids | ) |
Confirm cell deletion.
Definition at line 320 of file class.ilPCGridGUI.php.
References $data, ILIAS\Repository\ctrl(), getGridTable(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilPCGridGUI::create | ( | ) |
Create new grid element.
Definition at line 154 of file class.ilPCGridGUI.php.
References afterCreation(), ilPageContentGUI\getPage(), initCreationForm(), insert(), and ILIAS\Repository\int().
Here is the call graph for this function:| ilPCGridGUI::deleteCells | ( | ) |
Delete Cells.
Definition at line 359 of file class.ilPCGridGUI.php.
References ilPageContentGUI\$ctrl, and getGridTable().
Here is the call graph for this function:| ilPCGridGUI::edit | ( | ) |
List all cells.
Definition at line 203 of file class.ilPCGridGUI.php.
References ILIAS\Repository\lng(), setTabs(), ILIAS\Repository\tabs(), and ILIAS\Repository\toolbar().
Referenced by afterCreation().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCGridGUI::editWidths | ( | string | $id | ) |
Definition at line 252 of file class.ilPCGridGUI.php.
References getEditWidthsForm(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilPCGridGUI::executeCommand | ( | ) |
Definition at line 57 of file class.ilPCGridGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:
|
protected |
Definition at line 260 of file class.ilPCGridGUI.php.
References $data, $id, ILIAS\UI\Implementation\Component\Input\Field\$options, ILIAS\Repository\ctrl(), ilPCGrid\getSizes(), ilPCGrid\getWidths(), and ILIAS\Repository\lng().
Referenced by editWidths(), and saveWidths().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 226 of file class.ilPCGridGUI.php.
References ILIAS\Repository\Table\TableAdapterGUI\getTable().
Referenced by confirmCellDeletion(), deleteCells(), and savePositions().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCGridGUI::initCreationForm | ( | ) |
Init creation form.
Definition at line 97 of file class.ilPCGridGUI.php.
References ilPageContentGUI\$lng, ILIAS\UI\Implementation\Component\Input\Field\$options, ILIAS\Repository\ctrl(), ilPCGrid\getSizes(), ilPCGrid\getWidths(), ILIAS\Repository\lng(), and ilLanguage\txt().
Referenced by create(), and insert().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCGridGUI::insert | ( | ) |
Definition at line 72 of file class.ilPCGridGUI.php.
References ILIAS\Repository\ctrl(), ilPageContentGUI\displayValidationError(), and initCreationForm().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCGridGUI::saveCellData | ( | ) |
Save tabs properties in db and return to page edit screen.
Definition at line 392 of file class.ilPCGridGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilPCGridGUI::savePositions | ( | ) |
Save positions.
Definition at line 238 of file class.ilPCGridGUI.php.
References ILIAS\Repository\ctrl(), getGridTable(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 288 of file class.ilPCGridGUI.php.
References $id, ILIAS\Repository\ctrl(), getEditWidthsForm(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilPCGridGUI::setTabs | ( | ) |
Definition at line 375 of file class.ilPCGridGUI.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\tabs().
Referenced by edit().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 34 of file class.ilPCGridGUI.php.
|
protected |
Definition at line 37 of file class.ilPCGridGUI.php.
|
protected |
Definition at line 36 of file class.ilPCGridGUI.php.
| const ilPCGridGUI::TEMPLATE_MAIN_SIDE = 3 |
Definition at line 32 of file class.ilPCGridGUI.php.
Referenced by ilPCGrid\applyTemplate(), PCGridTest\getPageWithGrid(), PCGridTest\testCellData(), PCGridTest\testDelete(), PCGridTest\testPositions(), and PCGridTest\testWidths().
| const ilPCGridGUI::TEMPLATE_MANUAL = 0 |
Definition at line 29 of file class.ilPCGridGUI.php.
Referenced by ilPCGrid\applyTemplate(), PCGridTest\testAddCell(), PCGridTest\testAddGridCell(), and PCGridTest\testApplyTemplateManual().
| const ilPCGridGUI::TEMPLATE_THREE_COLUMN = 2 |
Definition at line 31 of file class.ilPCGridGUI.php.
Referenced by ilPCGrid\applyTemplate().
| const ilPCGridGUI::TEMPLATE_TWO_BY_TWO = 4 |
Definition at line 33 of file class.ilPCGridGUI.php.
Referenced by ilPCGrid\applyTemplate().
| const ilPCGridGUI::TEMPLATE_TWO_COLUMN = 1 |
Definition at line 30 of file class.ilPCGridGUI.php.
Referenced by ilPCGrid\applyTemplate(), PageObjectTest\testAddHierIdsWithContent(), PCGridTest\testApplyTemplateTwoColumn(), and ILIAS\COPage\Test\ID\ContentIdManagerTest\testInsertPCIds().