|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilAccordionGUI:Public Member Functions | |
| __construct () | |
| setId (string $a_val) | |
| getId () | |
| setOrientation (string $a_orientation) | |
| getOrientation () | |
| setContainerClass (string $a_containerclass) | |
| getContainerClass () | |
| setInnerContainerClass (string $a_containerclass) | |
| getInnerContainerClass () | |
| setHeaderClass (string $a_headerclass) | |
| getHeaderClass () | |
| setActiveHeaderClass (string $a_h_class) | |
| getActiveHeaderClass () | |
| setContentClass (string $a_contentclass) | |
| getContentClass () | |
| setContentWidth (?int $a_contentwidth) | |
| getContentWidth () | |
| setContentHeight (?int $a_contentheight) | |
| getContentHeight () | |
| setBehaviour (string $a_val) | |
| Set behaviour "ForceAllOpen" | "FirstOpen" | "AllClosed". More... | |
| getBehaviour () | |
| setUseSessionStorage (bool $a_val) | |
| getUseSessionStorage () | |
| setAllowMultiOpened (bool $a_val) | |
| getAllowMultiOpened () | |
| setShowAllElement (string $a_val) | |
| getShowAllElement () | |
| setHideAllElement (string $a_val) | |
| getHideAllElement () | |
| addItem (string $a_header, string $a_content, bool $a_force_open=false) | |
| getItems () | |
| getHTML (bool $async=false) | |
Static Public Member Functions | |
| static | addJavaScript (ilGlobalTemplate $main_tpl=null) |
| Add javascript files that are necessary to run accordion. More... | |
| static | addCss () |
| Add required css. More... | |
| static | getLocalJavascriptFiles () |
| static | getLocalCssFiles () |
Data Fields | |
| const | VERTICAL = "vertical" |
| const | HORIZONTAL = "horizontal" |
| const | FORCE_ALL_OPEN = "ForceAllOpen" |
| const | FIRST_OPEN = "FirstOpen" |
| const | ALL_CLOSED = "AllClosed" |
Static Public Attributes | |
| static string | $owl_path = "./libs/bower/bower_components/owl.carousel/dist" |
| static string | $owl_js_path = "/owl.carousel.js" |
| static string | $owl_css_path = "/assets/owl.carousel.css" |
Protected Member Functions | |
| getOnloadCode (array $options) | |
Protected Attributes | |
| string | $orientation |
| ilObjUser | $user |
| array | $items = array() |
| array | $force_open = array() |
| bool | $use_session_storage = false |
| bool | $allow_multi_opened = false |
| string | $show_all_element = "" |
| string | $hide_all_element = "" |
| int | $contentwidth = null |
| int | $contentheight = null |
| string | $headerclass = "" |
| string | $contentclass = "" |
| string | $icontainerclass = "" |
| string | $containerclass = "" |
| string | $id = "" |
| bool | $head_class_set = false |
| ilGlobalTemplateInterface | $main_tpl |
| string | $active_headerclass = "" |
| string | $behaviour = self::FIRST_OPEN |
Static Protected Attributes | |
| static int | $accordion_cnt = 0 |
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 Accordion user interface class
Definition at line 23 of file class.ilAccordionGUI.php.
| ilAccordionGUI::__construct | ( | ) |
Definition at line 54 of file class.ilAccordionGUI.php.
References $DIC, setOrientation(), ILIAS\Repository\user(), and VERTICAL.
Here is the call graph for this function:
|
static |
Add required css.
Definition at line 243 of file class.ilAccordionGUI.php.
References $DIC, Vendor\Package\$f, and $tpl.
Referenced by ilPCIIMTriggerEditorGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilLMPresentationGUI\addResourceFiles(), ilLMPresentationGUI\glossary(), and ilPageObjectGUI\showPage().
Here is the caller graph for this function:| ilAccordionGUI::addItem | ( | string | $a_header, |
| string | $a_content, | ||
| bool | $a_force_open = false |
||
| ) |
Definition at line 270 of file class.ilAccordionGUI.php.
References $items.
Referenced by ilObjFileGUI\addUIFormToAccordion().
Here is the caller graph for this function:
|
static |
Add javascript files that are necessary to run accordion.
Definition at line 221 of file class.ilAccordionGUI.php.
References $DIC, Vendor\Package\$f, $main_tpl, $tpl, ilYuiUtil\initConnection(), and iljQueryUtil\initjQueryUI().
Referenced by ilPCIIMTriggerEditorGUI\__construct(), ilLMPresentationGUI\addResourceFiles(), ilLMPresentationGUI\glossary(), ilObjStudyProgrammeTreeGUI\initAsyncUIElements(), and ilPageObjectGUI\showPage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAccordionGUI::getActiveHeaderClass | ( | ) |
Definition at line 124 of file class.ilAccordionGUI.php.
References $active_headerclass.
| ilAccordionGUI::getAllowMultiOpened | ( | ) |
Definition at line 187 of file class.ilAccordionGUI.php.
References $allow_multi_opened.
| ilAccordionGUI::getBehaviour | ( | ) |
Definition at line 167 of file class.ilAccordionGUI.php.
References $behaviour.
| ilAccordionGUI::getContainerClass | ( | ) |
Definition at line 94 of file class.ilAccordionGUI.php.
References $containerclass.
| ilAccordionGUI::getContentClass | ( | ) |
Definition at line 134 of file class.ilAccordionGUI.php.
References $contentclass.
| ilAccordionGUI::getContentHeight | ( | ) |
Definition at line 154 of file class.ilAccordionGUI.php.
References $contentheight.
| ilAccordionGUI::getContentWidth | ( | ) |
Definition at line 144 of file class.ilAccordionGUI.php.
References $contentwidth.
| ilAccordionGUI::getHeaderClass | ( | ) |
Definition at line 114 of file class.ilAccordionGUI.php.
References $headerclass.
| ilAccordionGUI::getHideAllElement | ( | ) |
Definition at line 213 of file class.ilAccordionGUI.php.
References $hide_all_element.
| ilAccordionGUI::getHTML | ( | bool | $async = false | ) |
Definition at line 288 of file class.ilAccordionGUI.php.
References $ilUser, $tpl, ILIAS\Survey\Mode\getId(), HORIZONTAL, ILIAS\Repository\int(), and VERTICAL.
Here is the call graph for this function:| ilAccordionGUI::getId | ( | ) |
| ilAccordionGUI::getInnerContainerClass | ( | ) |
Definition at line 104 of file class.ilAccordionGUI.php.
References $icontainerclass.
| ilAccordionGUI::getItems | ( | ) |
Definition at line 283 of file class.ilAccordionGUI.php.
|
static |
Definition at line 262 of file class.ilAccordionGUI.php.
Referenced by ilPCTabs\getCssFiles().
Here is the caller graph for this function:
|
static |
Definition at line 254 of file class.ilAccordionGUI.php.
Referenced by ilPCTabs\getJavascriptFiles().
Here is the caller graph for this function:
|
protected |
Definition at line 422 of file class.ilAccordionGUI.php.
| ilAccordionGUI::getOrientation | ( | ) |
Definition at line 84 of file class.ilAccordionGUI.php.
References $orientation.
| ilAccordionGUI::getShowAllElement | ( | ) |
Definition at line 200 of file class.ilAccordionGUI.php.
References $show_all_element.
| ilAccordionGUI::getUseSessionStorage | ( | ) |
Definition at line 177 of file class.ilAccordionGUI.php.
References $use_session_storage.
| ilAccordionGUI::setActiveHeaderClass | ( | string | $a_h_class | ) |
Definition at line 119 of file class.ilAccordionGUI.php.
| ilAccordionGUI::setAllowMultiOpened | ( | bool | $a_val | ) |
Definition at line 182 of file class.ilAccordionGUI.php.
| ilAccordionGUI::setBehaviour | ( | string | $a_val | ) |
Set behaviour "ForceAllOpen" | "FirstOpen" | "AllClosed".
Definition at line 162 of file class.ilAccordionGUI.php.
| ilAccordionGUI::setContainerClass | ( | string | $a_containerclass | ) |
Definition at line 89 of file class.ilAccordionGUI.php.
| ilAccordionGUI::setContentClass | ( | string | $a_contentclass | ) |
Definition at line 129 of file class.ilAccordionGUI.php.
| ilAccordionGUI::setContentHeight | ( | ?int | $a_contentheight | ) |
Definition at line 149 of file class.ilAccordionGUI.php.
| ilAccordionGUI::setContentWidth | ( | ?int | $a_contentwidth | ) |
Definition at line 139 of file class.ilAccordionGUI.php.
| ilAccordionGUI::setHeaderClass | ( | string | $a_headerclass | ) |
Definition at line 109 of file class.ilAccordionGUI.php.
| ilAccordionGUI::setHideAllElement | ( | string | $a_val | ) |
| string | $a_val | ID of hide all html element |
Definition at line 208 of file class.ilAccordionGUI.php.
| ilAccordionGUI::setId | ( | string | $a_val | ) |
Definition at line 64 of file class.ilAccordionGUI.php.
| ilAccordionGUI::setInnerContainerClass | ( | string | $a_containerclass | ) |
Definition at line 99 of file class.ilAccordionGUI.php.
| ilAccordionGUI::setOrientation | ( | string | $a_orientation | ) |
Definition at line 74 of file class.ilAccordionGUI.php.
References HORIZONTAL, and VERTICAL.
Referenced by __construct().
Here is the caller graph for this function:| ilAccordionGUI::setShowAllElement | ( | string | $a_val | ) |
| string | $a_val | ID of show all html element |
Definition at line 195 of file class.ilAccordionGUI.php.
| ilAccordionGUI::setUseSessionStorage | ( | bool | $a_val | ) |
Definition at line 172 of file class.ilAccordionGUI.php.
|
staticprotected |
Definition at line 34 of file class.ilAccordionGUI.php.
|
protected |
Definition at line 51 of file class.ilAccordionGUI.php.
Referenced by getActiveHeaderClass().
|
protected |
Definition at line 36 of file class.ilAccordionGUI.php.
Referenced by getAllowMultiOpened().
|
protected |
Definition at line 52 of file class.ilAccordionGUI.php.
Referenced by getBehaviour().
|
protected |
Definition at line 44 of file class.ilAccordionGUI.php.
Referenced by getContainerClass().
|
protected |
Definition at line 42 of file class.ilAccordionGUI.php.
Referenced by getContentClass().
|
protected |
Definition at line 40 of file class.ilAccordionGUI.php.
Referenced by getContentHeight().
|
protected |
Definition at line 39 of file class.ilAccordionGUI.php.
Referenced by getContentWidth().
|
protected |
Definition at line 33 of file class.ilAccordionGUI.php.
|
protected |
Definition at line 46 of file class.ilAccordionGUI.php.
|
protected |
Definition at line 41 of file class.ilAccordionGUI.php.
Referenced by getHeaderClass().
|
protected |
Definition at line 38 of file class.ilAccordionGUI.php.
Referenced by getHideAllElement().
|
protected |
Definition at line 43 of file class.ilAccordionGUI.php.
Referenced by getInnerContainerClass().
|
protected |
Definition at line 45 of file class.ilAccordionGUI.php.
Referenced by getId().
|
protected |
Definition at line 32 of file class.ilAccordionGUI.php.
Referenced by addItem().
|
protected |
Definition at line 50 of file class.ilAccordionGUI.php.
Referenced by addJavaScript().
|
protected |
Definition at line 30 of file class.ilAccordionGUI.php.
Referenced by getOrientation().
|
static |
Definition at line 49 of file class.ilAccordionGUI.php.
|
static |
Definition at line 48 of file class.ilAccordionGUI.php.
|
static |
Definition at line 47 of file class.ilAccordionGUI.php.
|
protected |
Definition at line 37 of file class.ilAccordionGUI.php.
Referenced by getShowAllElement().
|
protected |
Definition at line 35 of file class.ilAccordionGUI.php.
Referenced by getUseSessionStorage().
|
protected |
Definition at line 31 of file class.ilAccordionGUI.php.
| const ilAccordionGUI::ALL_CLOSED = "AllClosed" |
Definition at line 29 of file class.ilAccordionGUI.php.
Referenced by ilObjMediaPoolGUI\editTitlesAndDescriptions(), and ilMediaCreationGUI\editTitlesAndDescriptions().
| const ilAccordionGUI::FIRST_OPEN = "FirstOpen" |
Definition at line 28 of file class.ilAccordionGUI.php.
Referenced by ilObjStudyProgrammeTreeGUI\create(), ilObjForumGUI\createEmptyThread(), ilObjForumGUI\createThread(), ilObjForumGUI\createThreadObject(), ilMediaCreationGUI\creationSelection(), ilObjFileGUI\getCreationFormsHTML(), ilObjectGUI\getCreationFormsHTML(), ilHelpGUI\showHelp(), and ilContainerObjectiveGUI\showObjectives().
| const ilAccordionGUI::FORCE_ALL_OPEN = "ForceAllOpen" |
Definition at line 27 of file class.ilAccordionGUI.php.
Referenced by ilObjRoleTemplateGUI\permObject(), and ilObjRoleGUI\permObject().
| const ilAccordionGUI::HORIZONTAL = "horizontal" |
Definition at line 26 of file class.ilAccordionGUI.php.
Referenced by getHTML(), and setOrientation().
| const ilAccordionGUI::VERTICAL = "vertical" |
Definition at line 25 of file class.ilAccordionGUI.php.
Referenced by __construct(), getHTML(), and setOrientation().