ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
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="") | |
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 () | |
![]() | |
__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="") | |
![]() | |
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 |
![]() | |
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 | _getCommonBBButtons () |
![]() | |
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 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\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\tabs(), and ILIAS\Repository\toolbar().
ilPCTabsGUI::addTab | ( | ) |
Save tabs properties in db and return to page edit screen.
Definition at line 444 of file class.ilPCTabsGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, ilCtrl\redirect(), and ilLanguage\txt().
ilPCTabsGUI::afterCreation | ( | ) |
Definition at line 337 of file class.ilPCTabsGUI.php.
References ilPageContentGUI\$ctrl, edit(), ilPageContentGUI\setHierId(), and ilCtrl\setParameter().
Referenced by create().
ilPCTabsGUI::cancelTabDeletion | ( | ) |
Definition at line 488 of file class.ilPCTabsGUI.php.
References ilPageContentGUI\$ctrl, and ilCtrl\redirect().
|
protected |
Definition at line 291 of file class.ilPCTabsGUI.php.
References ilPCTabs\ACCORDION_HOR, ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), and ILIAS\Repository\lng().
Referenced by create(), and update().
ilPCTabsGUI::confirmTabsDeletion | ( | ) |
Definition at line 456 of file class.ilPCTabsGUI.php.
References ilPageContentGUI\$ctrl, $id, ilPageContentGUI\$lng, ilPageContentGUI\$tpl, ILIAS\UICore\GlobalTemplate\setContent(), setTabs(), and ilLanguage\txt().
ilPCTabsGUI::create | ( | ) |
Definition at line 309 of file class.ilPCTabsGUI.php.
References ilPageContentGUI\$lng, afterCreation(), checkWidthHeight(), ILIAS\Repository\form(), ilPageContentGUI\getPage(), initForm(), insert(), setPropertiesByForm(), and ilLanguage\txt().
ilPCTabsGUI::deleteTabs | ( | ) |
ilPCTabsGUI::edit | ( | ) |
Definition at line 406 of file class.ilPCTabsGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, $tabs, $toolbar, ilPageContentGUI\$tpl, ilPageContentGUI\getEditorScriptTag(), ilPageContentGUI\initEditor(), ILIAS\UICore\GlobalTemplate\setContent(), and ILIAS\Repository\tabs().
Referenced by afterCreation().
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(), ILIAS\UICore\GlobalTemplate\setContent(), and setTabs().
Referenced by update().
ilPCTabsGUI::executeCommand | ( | ) |
Definition at line 51 of file class.ilPCTabsGUI.php.
References ILIAS\Repository\ctrl().
|
protected |
Definition at line 534 of file class.ilPCTabsGUI.php.
References $components, ilPageContentGUI\$content_obj, ilPageContentGUI\$lng, $params, ilPageContentGUI\$pc_id, ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ilPageContentGUI\getPage(), ilFileUtils\getWebspaceDir(), and ILIAS\Repository\lng().
ilPCTabsGUI::getFormValues | ( | ) |
Definition at line 252 of file class.ilPCTabsGUI.php.
References ilObjStyleSheet\_lookupTemplateIdByName(), ilPCTabs\ACCORDION_VER, ilPCTabs\CAROUSEL, ILIAS\Repository\form(), and ilPageContentGUI\getStyleId().
Referenced by editProperties(), and initEditingForm().
ilPCTabsGUI::initCreationForm | ( | ) |
Definition at line 239 of file class.ilPCTabsGUI.php.
References $form, and initForm().
Referenced by ilPCTabsEditorGUI\getEditorElements().
ilPCTabsGUI::initEditingForm | ( | ) |
Definition at line 245 of file class.ilPCTabsGUI.php.
References $form, getFormValues(), and initForm().
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(), ilNumberInputGUI\setMaxLength(), ilSelectInputGUI\setOptions(), ilRadioGroupInputGUI\setValue(), and ilLanguage\txt().
Referenced by create(), editProperties(), initCreationForm(), initEditingForm(), insert(), and update().
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 ILIAS\UICore\GlobalTemplate\setContent().
Referenced by create().
ilPCTabsGUI::saveTabs | ( | ) |
Save tabs properties in db and return to page edit screen.
Definition at line 423 of file class.ilPCTabsGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, and ilLanguage\txt().
ilPCTabsGUI::setPropertiesByForm | ( | ) |
Definition at line 351 of file class.ilPCTabsGUI.php.
References $c, ilPageContentGUI\$content_obj, Vendor\Package\$f, $form, ilPCTabs\ACCORDION_HOR, ilPCTabs\ACCORDION_VER, and ilPCTabs\CAROUSEL.
Referenced by create(), and update().
ilPCTabsGUI::setTabs | ( | ) |
Definition at line 508 of file class.ilPCTabsGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, $tabs, ILIAS\Repository\ctrl(), and ilLanguage\txt().
Referenced by confirmTabsDeletion(), and editProperties().
ilPCTabsGUI::update | ( | ) |
Definition at line 385 of file class.ilPCTabsGUI.php.
References checkWidthHeight(), ILIAS\Repository\ctrl(), editProperties(), ILIAS\Repository\form(), initForm(), ILIAS\Repository\lng(), and setPropertiesByForm().
|
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.