|
ILIAS
release_4-4 Revision
|
Accordion user interface class. More...
Collaboration diagram for ilAccordionGUI:Public Member Functions | |
| __construct () | |
| Constructor. More... | |
| setId ($a_val) | |
| Set id. More... | |
| getId () | |
| Get id. More... | |
| setOrientation ($a_orientation) | |
| Set Orientation. More... | |
| getOrientation () | |
| Get Orientation. More... | |
| setContainerClass ($a_containerclass) | |
| Set Container CSS Class. More... | |
| getContainerClass () | |
| Get Container CSS Class. More... | |
| setInnerContainerClass ($a_containerclass) | |
| Set inner Container CSS Class. More... | |
| getInnerContainerClass () | |
| Get inner Container CSS Class. More... | |
| setHeaderClass ($a_headerclass) | |
| Set Header CSS Class. More... | |
| getHeaderClass () | |
| Get Header CSS Class. More... | |
| setActiveHeaderClass ($a_h_class) | |
| Set active header class. More... | |
| getActiveHeaderClass () | |
| Get active Header CSS Class. More... | |
| setContentClass ($a_contentclass) | |
| Set Content CSS Class. More... | |
| getContentClass () | |
| Get Content CSS Class. More... | |
| setContentWidth ($a_contentwidth) | |
| Set ContentWidth. More... | |
| getContentWidth () | |
| Get ContentWidth. More... | |
| setContentHeight ($a_contentheight) | |
| Set ContentHeight. More... | |
| getContentHeight () | |
| Get ContentHeight. More... | |
| setBehaviour ($a_val) | |
| Set behaviour "ForceAllOpen" | "FirstOpen" | "OneOpenSession". More... | |
| getBehaviour () | |
| Get behaviour. More... | |
| addItem ($a_header, $a_content, $a_force_open=false) | |
| Add item. More... | |
| getItems () | |
| Get all items. More... | |
| getHTML () | |
| Get accordion html. More... | |
Static Public Member Functions | |
| static | addJavaScript () |
| Add javascript files that are necessary to run accordion. More... | |
| static | addCss () |
| Add required css. More... | |
Data Fields | |
| const | VERTICAL = "vertical" |
| const | HORIZONTAL = "horizontal" |
| const | FORCE_ALL_OPEN = "ForceAllOpen" |
| const | FIRST_OPEN = "FirstOpen" |
| const | ONE_OPEN_SESSION = "OneOpenSession" |
Protected Attributes | |
| $items = array() | |
| $force_open | |
Static Protected Attributes | |
| static | $accordion_cnt = 0 |
Accordion user interface class.
Definition at line 11 of file class.ilAccordionGUI.php.
| ilAccordionGUI::__construct | ( | ) |
Constructor.
Definition at line 26 of file class.ilAccordionGUI.php.
References setOrientation(), and VERTICAL.
Here is the call graph for this function:
|
static |
Add required css.
Definition at line 253 of file class.ilAccordionGUI.php.
References $tpl.
Referenced by ilTableTemplatesTableGUI\__construct(), ilObjStyleSheetGUI\_getTemplatePreview(), getHTML(), ilPCIIMTriggerEditorGUI\getImageMapTableHTML(), ilPCTabsGUI\initForm(), ilLMPresentationGUI\layout(), and ilPageObjectGUI\showPage().
Here is the caller graph for this function:| ilAccordionGUI::addItem | ( | $a_header, | |
| $a_content, | |||
$a_force_open = false |
|||
| ) |
|
static |
Add javascript files that are necessary to run accordion.
Definition at line 238 of file class.ilAccordionGUI.php.
References $tpl, ilYuiUtil\initAnimation(), ilYuiUtil\initConnection(), ilYuiUtil\initDom(), and ilYuiUtil\initEvent().
Referenced by ilPCIIMTriggerEditorGUI\getImageMapTableHTML(), ilLMPresentationGUI\layout(), and ilPageObjectGUI\showPage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAccordionGUI::getActiveHeaderClass | ( | ) |
Get active Header CSS Class.
Definition at line 150 of file class.ilAccordionGUI.php.
Referenced by getHTML().
Here is the caller graph for this function:| ilAccordionGUI::getBehaviour | ( | ) |
Get behaviour.
Definition at line 230 of file class.ilAccordionGUI.php.
Referenced by getHTML().
Here is the caller graph for this function:| ilAccordionGUI::getContainerClass | ( | ) |
Get Container CSS Class.
Definition at line 90 of file class.ilAccordionGUI.php.
Referenced by getHTML().
Here is the caller graph for this function:| ilAccordionGUI::getContentClass | ( | ) |
Get Content CSS Class.
Definition at line 170 of file class.ilAccordionGUI.php.
Referenced by getHTML().
Here is the caller graph for this function:| ilAccordionGUI::getContentHeight | ( | ) |
Get ContentHeight.
Definition at line 210 of file class.ilAccordionGUI.php.
Referenced by getHTML().
Here is the caller graph for this function:| ilAccordionGUI::getContentWidth | ( | ) |
Get ContentWidth.
Definition at line 190 of file class.ilAccordionGUI.php.
Referenced by getHTML().
Here is the caller graph for this function:| ilAccordionGUI::getHeaderClass | ( | ) |
Get Header CSS Class.
Definition at line 130 of file class.ilAccordionGUI.php.
Referenced by getHTML().
Here is the caller graph for this function:| ilAccordionGUI::getHTML | ( | ) |
Get accordion html.
Definition at line 285 of file class.ilAccordionGUI.php.
References $force_open, $ilUser, $tpl, addCss(), getActiveHeaderClass(), getBehaviour(), getContainerClass(), getContentClass(), getContentHeight(), getContentWidth(), getHeaderClass(), getId(), getInnerContainerClass(), getItems(), getOrientation(), HORIZONTAL, and VERTICAL.
Here is the call graph for this function:| ilAccordionGUI::getId | ( | ) |
Get id.
Definition at line 46 of file class.ilAccordionGUI.php.
Referenced by getHTML().
Here is the caller graph for this function:| ilAccordionGUI::getInnerContainerClass | ( | ) |
Get inner Container CSS Class.
Definition at line 110 of file class.ilAccordionGUI.php.
Referenced by getHTML().
Here is the caller graph for this function:| ilAccordionGUI::getItems | ( | ) |
Get all items.
Definition at line 277 of file class.ilAccordionGUI.php.
References $items.
Referenced by getHTML().
Here is the caller graph for this function:| ilAccordionGUI::getOrientation | ( | ) |
Get Orientation.
Definition at line 70 of file class.ilAccordionGUI.php.
Referenced by getHTML().
Here is the caller graph for this function:| ilAccordionGUI::setActiveHeaderClass | ( | $a_h_class | ) |
Set active header class.
| string | $a_h_class | Active Header CSS Class |
Definition at line 140 of file class.ilAccordionGUI.php.
| ilAccordionGUI::setBehaviour | ( | $a_val | ) |
Set behaviour "ForceAllOpen" | "FirstOpen" | "OneOpenSession".
| string | behaviour |
Definition at line 220 of file class.ilAccordionGUI.php.
| ilAccordionGUI::setContainerClass | ( | $a_containerclass | ) |
Set Container CSS Class.
| string | $a_containerclass | Container CSS Class |
Definition at line 80 of file class.ilAccordionGUI.php.
| ilAccordionGUI::setContentClass | ( | $a_contentclass | ) |
Set Content CSS Class.
| string | $a_contentclass | Content CSS Class |
Definition at line 160 of file class.ilAccordionGUI.php.
| ilAccordionGUI::setContentHeight | ( | $a_contentheight | ) |
Set ContentHeight.
| integer | $a_contentheight | ContentHeight |
Definition at line 200 of file class.ilAccordionGUI.php.
| ilAccordionGUI::setContentWidth | ( | $a_contentwidth | ) |
Set ContentWidth.
| integer | $a_contentwidth | ContentWidth |
Definition at line 180 of file class.ilAccordionGUI.php.
| ilAccordionGUI::setHeaderClass | ( | $a_headerclass | ) |
Set Header CSS Class.
| string | $a_headerclass | Header CSS Class |
Definition at line 120 of file class.ilAccordionGUI.php.
| ilAccordionGUI::setId | ( | $a_val | ) |
| ilAccordionGUI::setInnerContainerClass | ( | $a_containerclass | ) |
Set inner Container CSS Class.
| string | $a_containerclass | Container CSS Class |
Definition at line 100 of file class.ilAccordionGUI.php.
| ilAccordionGUI::setOrientation | ( | $a_orientation | ) |
Set Orientation.
| string | $a_orientation | Orientation |
Definition at line 56 of file class.ilAccordionGUI.php.
References HORIZONTAL, and VERTICAL.
Referenced by __construct().
Here is the caller graph for this function:
|
staticprotected |
Definition at line 15 of file class.ilAccordionGUI.php.
|
protected |
Definition at line 14 of file class.ilAccordionGUI.php.
Referenced by getHTML().
|
protected |
Definition at line 13 of file class.ilAccordionGUI.php.
Referenced by addItem(), and getItems().
| const ilAccordionGUI::FIRST_OPEN = "FirstOpen" |
Definition at line 20 of file class.ilAccordionGUI.php.
Referenced by ilObjectGUI\getCreationFormsHTML(), and ilHelpGUI\showHelp().
| const ilAccordionGUI::FORCE_ALL_OPEN = "ForceAllOpen" |
Definition at line 19 of file class.ilAccordionGUI.php.
Referenced by ilObjRoleGUI\permObject().
| const ilAccordionGUI::HORIZONTAL = "horizontal" |
Definition at line 18 of file class.ilAccordionGUI.php.
Referenced by ilObjStyleSheetGUI\accordiontestObject(), getHTML(), and setOrientation().
| const ilAccordionGUI::ONE_OPEN_SESSION = "OneOpenSession" |
Definition at line 21 of file class.ilAccordionGUI.php.
| const ilAccordionGUI::VERTICAL = "vertical" |
Definition at line 17 of file class.ilAccordionGUI.php.
Referenced by __construct(), ilObjStyleSheetGUI\accordiontestObject(), getHTML(), and setOrientation().