|
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 ilPCTabsGUI:
Collaboration diagram for ilPCTabsGUI:Public Member Functions | |
| __construct (ilPageObject $a_pg_obj, ?ilPageContent $a_content_obj, string $a_hier_id, string $a_pc_id="") | |
| executeCommand () | |
| insert (bool $a_omit_form_init=false) | |
| Insert new tabs. More... | |
| editProperties (bool $init_form=true) | |
| initForm (string $a_mode="edit") | |
| initCreationForm () | |
| initEditingForm () | |
| getFormValues () | |
| create () | |
| afterCreation () | |
| setPropertiesByForm () | |
| update () | |
| edit () | |
| saveTabs () | |
| Save tabs properties in db and return to page edit screen. More... | |
| addTab () | |
| Save tabs properties in db and return to page edit screen. More... | |
| confirmTabsDeletion () | |
| cancelTabDeletion () | |
| deleteTabs () | |
| setTabs () | |
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 | |
| checkWidthHeight (ilPropertyFormGUI $form) | |
| getCaptionForm (string $caption="") | |
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 PC PCDefinition | $pc_def |
| ILIAS COPage Xsl XslManager | $xsl |
| ilPropertyFormGUI | $form |
| ilDBInterface | $db |
| ilTabsGUI | $tabs |
| ilToolbarGUI | $toolbar |
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 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 User Interface for Tabbed Content
Definition at line 23 of file class.ilPCTabsGUI.php.
| ilPCTabsGUI::__construct | ( | ilPageObject | $a_pg_obj, |
| ?ilPageContent | $a_content_obj, | ||
| string | $a_hier_id, | ||
| string | $a_pc_id = "" |
||
| ) |
Definition at line 32 of file class.ilPCTabsGUI.php.
References $DIC, ILIAS\MetaData\Repository\Validation\Data\__construct(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\tabs(), and ILIAS\Repository\toolbar().
Here is the call graph for this function:| ilPCTabsGUI::addTab | ( | ) |
Save tabs properties in db and return to page edit screen.
Definition at line 479 of file class.ilPCTabsGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, ilCtrl\redirect(), and ilLanguage\txt().
Here is the call graph for this function:| ilPCTabsGUI::afterCreation | ( | ) |
Definition at line 372 of file class.ilPCTabsGUI.php.
References ilPageContentGUI\$ctrl, edit(), ilPageContentGUI\setHierId(), and ilCtrl\setParameter().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTabsGUI::cancelTabDeletion | ( | ) |
Definition at line 523 of file class.ilPCTabsGUI.php.
References ilPageContentGUI\$ctrl, and ilCtrl\redirect().
Here is the call graph for this function:
|
protected |
Definition at line 326 of file class.ilPCTabsGUI.php.
References ilPCTabs\ACCORDION_HOR, ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), and ILIAS\Repository\lng().
Referenced by create(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTabsGUI::confirmTabsDeletion | ( | ) |
Definition at line 491 of file class.ilPCTabsGUI.php.
References ilPageContentGUI\$ctrl, $id, ilPageContentGUI\$lng, ilPageContentGUI\$tpl, ilGlobalTemplateInterface\setContent(), setTabs(), and ilLanguage\txt().
Here is the call graph for this function:| ilPCTabsGUI::create | ( | ) |
Definition at line 344 of file class.ilPCTabsGUI.php.
References ilPageContentGUI\$lng, afterCreation(), checkWidthHeight(), ILIAS\Repository\form(), ilPageContentGUI\getPage(), initForm(), insert(), setPropertiesByForm(), and ilLanguage\txt().
Here is the call graph for this function:| ilPCTabsGUI::deleteTabs | ( | ) |
| ilPCTabsGUI::edit | ( | ) |
Definition at line 441 of file class.ilPCTabsGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, $tabs, $toolbar, ilPageContentGUI\$tpl, ilPageContentGUI\getEditorScriptTag(), ilPageContentGUI\initEditor(), ilGlobalTemplateInterface\setContent(), and ILIAS\Repository\tabs().
Referenced by afterCreation().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTabsGUI::editProperties | ( | bool | $init_form = true | ) |
Definition at line 83 of file class.ilPCTabsGUI.php.
References ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), ILIAS\Repository\form(), getFormValues(), initForm(), ilGlobalTemplateInterface\setContent(), and setTabs().
Referenced by update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTabsGUI::executeCommand | ( | ) |
Definition at line 51 of file class.ilPCTabsGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:
|
protected |
Definition at line 569 of file class.ilPCTabsGUI.php.
References ilPageContentGUI\$content_obj, ilPageContentGUI\$lng, $params, ilPageContentGUI\$pc_id, ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ilPageContentGUI\getPage(), ilFileUtils\getWebspaceDir(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilPCTabsGUI::getFormValues | ( | ) |
Definition at line 287 of file class.ilPCTabsGUI.php.
References ilObjStyleSheet\_lookupTemplateIdByName(), ilPCTabs\ACCORDION_VER, ilPCTabs\CAROUSEL, ILIAS\Repository\form(), and ilPageContentGUI\getStyleId().
Referenced by editProperties(), and initEditingForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTabsGUI::initCreationForm | ( | ) |
Definition at line 274 of file class.ilPCTabsGUI.php.
References $form, and initForm().
Referenced by ilPCTabsEditorGUI\getEditorElements().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTabsGUI::initEditingForm | ( | ) |
Definition at line 280 of file class.ilPCTabsGUI.php.
References $form, getFormValues(), and initForm().
Here is the call graph for this function:| ilPCTabsGUI::initForm | ( | string | $a_mode = "edit" | ) |
Definition at line 98 of file class.ilPCTabsGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, ilPCTabs\ACCORDION_VER, ilAccordionGUI\addCss(), ilPCTabs\CAROUSEL, ILIAS\Repository\form(), ilPageContentGUI\getTemplateOptions(), ILIAS\Repository\lng(), ilSelectInputGUI\setOptions(), ilRadioGroupInputGUI\setValue(), and ilLanguage\txt().
Referenced by create(), editProperties(), initCreationForm(), initEditingForm(), insert(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTabsGUI::insert | ( | bool | $a_omit_form_init = false | ) |
Insert new tabs.
Definition at line 69 of file class.ilPCTabsGUI.php.
References ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), ILIAS\Repository\form(), initForm(), and ilGlobalTemplateInterface\setContent().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTabsGUI::saveTabs | ( | ) |
Save tabs properties in db and return to page edit screen.
Definition at line 458 of file class.ilPCTabsGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, and ilLanguage\txt().
Here is the call graph for this function:| ilPCTabsGUI::setPropertiesByForm | ( | ) |
Definition at line 386 of file class.ilPCTabsGUI.php.
References Vendor\Package\$c, ilPageContentGUI\$content_obj, Vendor\Package\$f, $form, ilPCTabs\ACCORDION_HOR, ilPCTabs\ACCORDION_VER, and ilPCTabs\CAROUSEL.
Referenced by create(), and update().
Here is the caller graph for this function:| ilPCTabsGUI::setTabs | ( | ) |
Definition at line 543 of file class.ilPCTabsGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, $tabs, ILIAS\Repository\ctrl(), and ilLanguage\txt().
Referenced by confirmTabsDeletion(), and editProperties().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTabsGUI::update | ( | ) |
Definition at line 420 of file class.ilPCTabsGUI.php.
References checkWidthHeight(), ILIAS\Repository\ctrl(), editProperties(), ILIAS\Repository\form(), initForm(), ILIAS\Repository\lng(), and setPropertiesByForm().
Here is the call graph for this function:
|
protected |
Definition at line 28 of file class.ilPCTabsGUI.php.
|
protected |
Definition at line 27 of file class.ilPCTabsGUI.php.
Referenced by initCreationForm(), initEditingForm(), and setPropertiesByForm().
|
protected |
Definition at line 25 of file class.ilPCTabsGUI.php.
|
protected |
Definition at line 29 of file class.ilPCTabsGUI.php.
|
protected |
Definition at line 30 of file class.ilPCTabsGUI.php.
Referenced by edit().
|
protected |
Definition at line 26 of file class.ilPCTabsGUI.php.