ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilAccordionGUI Class Reference

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" | "AllClosed". More...
 
 getBehaviour ()
 Get behaviour. More...
 
 setUseSessionStorage ($a_val)
 Set use session storage. More...
 
 getUseSessionStorage ()
 Get use session storage. More...
 
 setAllowMultiOpened ($a_val)
 Set allow multi opened. More...
 
 getAllowMultiOpened ()
 Get allow multi opened. More...
 
 setShowAllElement ($a_val)
 Set show all element. More...
 
 getShowAllElement ()
 Get show all element. More...
 
 setHideAllElement ($a_val)
 Set hide all element. More...
 
 getHideAllElement ()
 Get hide all element. 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...
 
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 $owl_path = "./Services/Accordion/lib/owl.carousel.2.0.0-beta.2.4"
 
static $owl_js_path = "/owl.carousel.js"
 
static $owl_css_path = "/assets/owl.carousel.css"
 

Protected Attributes

 $items = array()
 
 $force_open = array()
 
 $use_session_storage = false
 
 $allow_multi_opened = false
 
 $show_all_element = null
 
 $hide_all_element = null
 

Static Protected Attributes

static $accordion_cnt = 0
 

Detailed Description

Accordion user interface class.

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id:$

Definition at line 11 of file class.ilAccordionGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilAccordionGUI::__construct ( )

Constructor.

Definition at line 34 of file class.ilAccordionGUI.php.

References setOrientation(), and VERTICAL.

35  {
37  }
setOrientation($a_orientation)
Set Orientation.
+ Here is the call graph for this function:

Member Function Documentation

◆ addCss()

static ilAccordionGUI::addCss ( )
static

Add required css.

Definition at line 346 of file class.ilAccordionGUI.php.

References $tpl.

Referenced by ilTableTemplatesTableGUI\__construct(), ilObjStyleSheetGUI\_getTemplatePreview(), getHTML(), ilPCIIMTriggerEditorGUI\getImageMapTableHTML(), ilPCTabsGUI\initForm(), ilLMPresentationGUI\layout(), and ilPageObjectGUI\showPage().

347  {
348  global $tpl;
349 
350  foreach (self::getLocalCssFiles() as $f)
351  {
352  $tpl->addCss($f);
353  }
354  }
global $tpl
Definition: ilias.php:8
+ Here is the caller graph for this function:

◆ addItem()

ilAccordionGUI::addItem (   $a_header,
  $a_content,
  $a_force_open = false 
)

Add item.

Definition at line 381 of file class.ilAccordionGUI.php.

References $a_content, $items, and array.

382  {
383  $this->items[] = array("header" => $a_header,
384  "content" => $a_content, "force_open" => $a_force_open);
385 
386  if($a_force_open)
387  {
388  $this->force_open[] = sizeof($this->items);
389  }
390  }
$a_content
Definition: workflow.php:94
Create styles array
The data for the language used.

◆ addJavaScript()

static ilAccordionGUI::addJavaScript ( )
static

Add javascript files that are necessary to run accordion.

Definition at line 326 of file class.ilAccordionGUI.php.

References $tpl, ilYuiUtil\initConnection(), and iljQueryUtil\initjQueryUI().

Referenced by ilPCIIMTriggerEditorGUI\getImageMapTableHTML(), ilObjStudyProgrammeTreeGUI\initAsyncUIElements(), ilLMPresentationGUI\layout(), and ilPageObjectGUI\showPage().

327  {
328  global $tpl;
329 
330 
331  include_once("./Services/YUI/classes/class.ilYuiUtil.php");
333 
334  include_once("./Services/jQuery/classes/class.iljQueryUtil.php");
336 
337  foreach (self::getLocalJavascriptFiles() as $f)
338  {
339  $tpl->addJavaScript($f, true, 3);
340  }
341  }
static initjQueryUI()
Init jQuery UI (see included_components.txt for included components)
static initConnection()
Init YUI Connection module.
global $tpl
Definition: ilias.php:8
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getActiveHeaderClass()

ilAccordionGUI::getActiveHeaderClass ( )

Get active Header CSS Class.

Returns
string Active header CSS Class

Definition at line 158 of file class.ilAccordionGUI.php.

Referenced by getHTML().

159  {
160  return $this->active_headerclass;
161  }
+ Here is the caller graph for this function:

◆ getAllowMultiOpened()

ilAccordionGUI::getAllowMultiOpened ( )

Get allow multi opened.

Returns
bool allow multiple accordions being opened

Definition at line 278 of file class.ilAccordionGUI.php.

References $allow_multi_opened.

Referenced by getHTML().

279  {
281  }
+ Here is the caller graph for this function:

◆ getBehaviour()

ilAccordionGUI::getBehaviour ( )

Get behaviour.

Returns

Definition at line 238 of file class.ilAccordionGUI.php.

Referenced by getHTML().

239  {
240  return $this->behaviour;
241  }
+ Here is the caller graph for this function:

◆ getContainerClass()

ilAccordionGUI::getContainerClass ( )

Get Container CSS Class.

Returns
string Container CSS Class

Definition at line 98 of file class.ilAccordionGUI.php.

Referenced by getHTML().

99  {
100  return $this->containerclass;
101  }
+ Here is the caller graph for this function:

◆ getContentClass()

ilAccordionGUI::getContentClass ( )

Get Content CSS Class.

Returns
string Content CSS Class

Definition at line 178 of file class.ilAccordionGUI.php.

Referenced by getHTML().

179  {
180  return $this->contentclass;
181  }
+ Here is the caller graph for this function:

◆ getContentHeight()

ilAccordionGUI::getContentHeight ( )

Get ContentHeight.

Returns
integer ContentHeight

Definition at line 218 of file class.ilAccordionGUI.php.

Referenced by getHTML().

219  {
220  return $this->contentheight;
221  }
+ Here is the caller graph for this function:

◆ getContentWidth()

ilAccordionGUI::getContentWidth ( )

Get ContentWidth.

Returns
integer ContentWidth

Definition at line 198 of file class.ilAccordionGUI.php.

Referenced by getHTML().

199  {
200  return $this->contentwidth;
201  }
+ Here is the caller graph for this function:

◆ getHeaderClass()

ilAccordionGUI::getHeaderClass ( )

Get Header CSS Class.

Returns
string Header CSS Class

Definition at line 138 of file class.ilAccordionGUI.php.

Referenced by getHTML().

139  {
140  return $this->headerclass;
141  }
+ Here is the caller graph for this function:

◆ getHideAllElement()

ilAccordionGUI::getHideAllElement ( )

Get hide all element.

Returns
string ID of hide all html element

Definition at line 318 of file class.ilAccordionGUI.php.

References $hide_all_element.

Referenced by getHTML().

319  {
321  }
+ Here is the caller graph for this function:

◆ getHTML()

ilAccordionGUI::getHTML ( )

Get accordion html.

Definition at line 403 of file class.ilAccordionGUI.php.

References $ilUser, $options, $tpl, addCss(), ilJsonUtil\encode(), getActiveHeaderClass(), getAllowMultiOpened(), getBehaviour(), getContainerClass(), getContentClass(), getContentHeight(), getContentWidth(), getHeaderClass(), getHideAllElement(), getId(), getInnerContainerClass(), getItems(), getOrientation(), getShowAllElement(), getUseSessionStorage(), HORIZONTAL, and VERTICAL.

404  {
405  global $ilUser;
406 
407  self::$accordion_cnt++;
408 
409  $or_short = ($this->getOrientation() == ilAccordionGUI::HORIZONTAL)
410  ? "H"
411  : "V";
412 
413  $width = (int) $this->getContentWidth();
414  $height = (int) $this->getContentHeight();
416  {
417  if ($width == 0)
418  {
419  $width = 200;
420  }
421  if ($height == 0)
422  {
423  $height = 100;
424  }
425  }
426 
427  $this->addJavascript();
428  $this->addCss();
429 
430  $tpl = new ilTemplate("tpl.accordion.html", true, true, "Services/Accordion");
431  foreach ($this->getItems() as $item)
432  {
433  $tpl->setCurrentBlock("item");
434  $tpl->setVariable("HEADER", $item["header"]);
435  $tpl->setVariable("CONTENT", $item["content"]);
436  $tpl->setVariable("HEADER_CLASS", $this->getHeaderClass()
437  ? $this->getHeaderClass() : "il_".$or_short."AccordionHead");
438  $tpl->setVariable("CONTENT_CLASS", $this->getContentClass()
439  ? $this->getContentClass() : "il_".$or_short."AccordionContent");
440 
441  if ($this->getBehaviour() != self::FORCE_ALL_OPEN)
442  {
443  $tpl->setVariable("HIDE_CONTENT_CLASS", "ilAccHideContent");
444  }
445 
446  $tpl->setVariable("OR_SHORT", $or_short);
447 
448  $tpl->setVariable("INNER_CONTAINER_CLASS", $this->getInnerContainerClass()
449  ? $this->getInnerContainerClass() : "il_".$or_short."AccordionInnerContainer");
450 
451 
452  if ($height > 0)
453  {
454  $tpl->setVariable("HEIGHT", "height:".$height."px;");
455  }
456  if ($height > 0 && $this->getOrientation() == ilAccordionGUI::HORIZONTAL)
457  {
458  $tpl->setVariable("HHEIGHT", "height:".$height."px;");
459  }
460  $tpl->parseCurrentBlock();
461  }
462 
463  $tpl->setVariable("CONTAINER_CLASS", $this->getContainerClass()
464  ? $this->getContainerClass() : "il_".$or_short."AccordionContainer");
465 
466  $options["orientation"] = $this->getOrientation();
467  $options["int_id"] = $this->getId();
468 
469  if ($this->getUseSessionStorage() && $this->getId() != "")
470  {
471  include_once("./Services/Accordion/classes/class.ilAccordionPropertiesStorage.php");
472  $stor = new ilAccordionPropertiesStorage();
473 
474  $ctab = $stor->getProperty($this->getId(), $ilUser->getId(),
475  "opened");
476  $ctab_arr = explode(";", $ctab);
477 
478  foreach ($this->force_open as $fo)
479  {
480  if (!in_array($fo, $ctab_arr))
481  {
482  $ctab_arr[] = $fo;
483  }
484  }
485  $ctab = implode(";", $ctab_arr);
486 
487  if ($ctab == "0") {
488  $ctab = "";
489  }
490 
491  $options["initial_opened"] = $ctab;
492  $options["save_url"] = "./ilias.php?baseClass=ilaccordionpropertiesstorage&cmd=setOpenedTab".
493  "&accordion_id=".$this->getId()."&user_id=".$ilUser->getId();
494  }
495 
496  $options["behaviour"] = $this->getBehaviour();
498  {
499  $options["toggle_class"] = 'il_HAccordionToggleDef';
500  $options["toggle_act_class"] = 'il_HAccordionToggleActiveDef';
501  $options["content_class"] = 'il_HAccordionContentDef';
502  }
503  else
504  {
505  $options["toggle_class"] = 'il_VAccordionToggleDef';
506  $options["toggle_act_class"] = 'il_VAccordionToggleActiveDef';
507  $options["content_class"] = 'il_VAccordionContentDef';
508  }
509 
510 
511  if ($width > 0)
512  {
513  $options["width"] = $width;
514  }
515  else
516  {
517  $options["width"] = null;
518  }
519  if ($width > 0 && $this->getOrientation() == ilAccordionGUI::VERTICAL)
520  {
521  $tpl->setVariable("CWIDTH", 'style="width:'.$width.'px;"');
522  }
523 
524  if ($this->head_class_set)
525  {
526  $options["active_head_class"] = $this->getActiveHeaderClass();
527  }
528  else
529  {
531  {
532  $options["active_head_class"] = "il_HAccordionHeadActive";
533  }
534  else
535  {
536  $options["active_head_class"] = "il_VAccordionHeadActive";
537  }
538  }
539 
540  $options["height"] = null;
541  $options["id"] = 'accordion_'.$this->getId().'_'.self::$accordion_cnt;
542  $options["multi"] = (bool) $this->getAllowMultiOpened();
543  $options["show_all_element"] = $this->getShowAllElement();
544  $options["hide_all_element"] = $this->getHideAllElement();
545 
546  include_once("./Services/JSON/classes/class.ilJsonUtil.php");
547  $tpl->setVariable("OPTIONS", $str = ilJsonUtil::encode($options));
548  $tpl->setVariable("ACC_ID", $options["id"]);
549 //echo "<br><br><br><br><br><br>".$str;
550  return $tpl->get();
551  }
getContentWidth()
Get ContentWidth.
getContentHeight()
Get ContentHeight.
getContainerClass()
Get Container CSS Class.
getOrientation()
Get Orientation.
getActiveHeaderClass()
Get active Header CSS Class.
getHeaderClass()
Get Header CSS Class.
getAllowMultiOpened()
Get allow multi opened.
global $tpl
Definition: ilias.php:8
getShowAllElement()
Get show all element.
getHideAllElement()
Get hide all element.
getInnerContainerClass()
Get inner Container CSS Class.
static encode($mixed, $suppress_native=false)
static addCss()
Add required css.
if(!is_array($argv)) $options
special template class to simplify handling of ITX/PEAR
$ilUser
Definition: imgupload.php:18
getContentClass()
Get Content CSS Class.
getUseSessionStorage()
Get use session storage.
getItems()
Get all items.
Saves (mostly asynchronously) user properties of accordions.
getBehaviour()
Get behaviour.
+ Here is the call graph for this function:

◆ getId()

ilAccordionGUI::getId ( )

Get id.

Returns
string id

Definition at line 54 of file class.ilAccordionGUI.php.

Referenced by getHTML().

55  {
56  return $this->id;
57  }
+ Here is the caller graph for this function:

◆ getInnerContainerClass()

ilAccordionGUI::getInnerContainerClass ( )

Get inner Container CSS Class.

Returns
string Container CSS Class

Definition at line 118 of file class.ilAccordionGUI.php.

Referenced by getHTML().

119  {
120  return $this->icontainerclass;
121  }
+ Here is the caller graph for this function:

◆ getItems()

ilAccordionGUI::getItems ( )

Get all items.

Definition at line 395 of file class.ilAccordionGUI.php.

References $items.

Referenced by getHTML().

396  {
397  return $this->items;
398  }
+ Here is the caller graph for this function:

◆ getLocalCssFiles()

static ilAccordionGUI::getLocalCssFiles ( )
static
Returns
array

Definition at line 370 of file class.ilAccordionGUI.php.

References array.

Referenced by ilCOPageHTMLExport\exportSupportScripts(), ilPCTabs\getCssFiles(), and ilCOPageHTMLExport\getPreparedMainTemplate().

371  {
372  return array(
373  "./Services/Accordion/css/accordion.css",
374  self::$owl_path.self::$owl_css_path
375  );
376  }
Create styles array
The data for the language used.
+ Here is the caller graph for this function:

◆ getLocalJavascriptFiles()

static ilAccordionGUI::getLocalJavascriptFiles ( )
static
Returns
array

Definition at line 359 of file class.ilAccordionGUI.php.

References array.

Referenced by ilCOPageHTMLExport\exportSupportScripts(), ilPCTabs\getJavascriptFiles(), and ilCOPageHTMLExport\getPreparedMainTemplate().

360  {
361  return array(
362  "./Services/Accordion/js/accordion.js",
363  self::$owl_path.self::$owl_js_path
364  );
365  }
Create styles array
The data for the language used.
+ Here is the caller graph for this function:

◆ getOrientation()

ilAccordionGUI::getOrientation ( )

Get Orientation.

Returns
string Orientation

Definition at line 78 of file class.ilAccordionGUI.php.

Referenced by getHTML().

79  {
80  return $this->orientation;
81  }
+ Here is the caller graph for this function:

◆ getShowAllElement()

ilAccordionGUI::getShowAllElement ( )

Get show all element.

Returns
string ID of show all html element

Definition at line 298 of file class.ilAccordionGUI.php.

References $show_all_element.

Referenced by getHTML().

299  {
301  }
+ Here is the caller graph for this function:

◆ getUseSessionStorage()

ilAccordionGUI::getUseSessionStorage ( )

Get use session storage.

Returns
bool use session storage

Definition at line 258 of file class.ilAccordionGUI.php.

References $use_session_storage.

Referenced by getHTML().

259  {
261  }
+ Here is the caller graph for this function:

◆ setActiveHeaderClass()

ilAccordionGUI::setActiveHeaderClass (   $a_h_class)

Set active header class.

Parameters
string$a_h_classActive Header CSS Class

Definition at line 148 of file class.ilAccordionGUI.php.

149  {
150  $this->active_headerclass = $a_h_class;
151  }

◆ setAllowMultiOpened()

ilAccordionGUI::setAllowMultiOpened (   $a_val)

Set allow multi opened.

Parameters
bool$a_valallow multiple accordions being opened

Definition at line 268 of file class.ilAccordionGUI.php.

269  {
270  $this->allow_multi_opened = $a_val;
271  }

◆ setBehaviour()

ilAccordionGUI::setBehaviour (   $a_val)

Set behaviour "ForceAllOpen" | "FirstOpen" | "AllClosed".

Parameters
stringbehaviour

Definition at line 228 of file class.ilAccordionGUI.php.

229  {
230  $this->behaviour = $a_val;
231  }

◆ setContainerClass()

ilAccordionGUI::setContainerClass (   $a_containerclass)

Set Container CSS Class.

Parameters
string$a_containerclassContainer CSS Class

Definition at line 88 of file class.ilAccordionGUI.php.

89  {
90  $this->containerclass = $a_containerclass;
91  }

◆ setContentClass()

ilAccordionGUI::setContentClass (   $a_contentclass)

Set Content CSS Class.

Parameters
string$a_contentclassContent CSS Class

Definition at line 168 of file class.ilAccordionGUI.php.

169  {
170  $this->contentclass = $a_contentclass;
171  }

◆ setContentHeight()

ilAccordionGUI::setContentHeight (   $a_contentheight)

Set ContentHeight.

Parameters
integer$a_contentheightContentHeight

Definition at line 208 of file class.ilAccordionGUI.php.

209  {
210  $this->contentheight = $a_contentheight;
211  }

◆ setContentWidth()

ilAccordionGUI::setContentWidth (   $a_contentwidth)

Set ContentWidth.

Parameters
integer$a_contentwidthContentWidth

Definition at line 188 of file class.ilAccordionGUI.php.

189  {
190  $this->contentwidth = $a_contentwidth;
191  }

◆ setHeaderClass()

ilAccordionGUI::setHeaderClass (   $a_headerclass)

Set Header CSS Class.

Parameters
string$a_headerclassHeader CSS Class

Definition at line 128 of file class.ilAccordionGUI.php.

129  {
130  $this->headerclass = $a_headerclass;
131  }

◆ setHideAllElement()

ilAccordionGUI::setHideAllElement (   $a_val)

Set hide all element.

Parameters
string$a_valID of hide all html element

Definition at line 308 of file class.ilAccordionGUI.php.

309  {
310  $this->hide_all_element = $a_val;
311  }

◆ setId()

ilAccordionGUI::setId (   $a_val)

Set id.

Parameters
stringid

Definition at line 44 of file class.ilAccordionGUI.php.

45  {
46  $this->id = $a_val;
47  }

◆ setInnerContainerClass()

ilAccordionGUI::setInnerContainerClass (   $a_containerclass)

Set inner Container CSS Class.

Parameters
string$a_containerclassContainer CSS Class

Definition at line 108 of file class.ilAccordionGUI.php.

109  {
110  $this->icontainerclass = $a_containerclass;
111  }

◆ setOrientation()

ilAccordionGUI::setOrientation (   $a_orientation)

Set Orientation.

Parameters
string$a_orientationOrientation

Definition at line 64 of file class.ilAccordionGUI.php.

References array, HORIZONTAL, and VERTICAL.

Referenced by __construct().

65  {
66  if (in_array($a_orientation,
68  {
69  $this->orientation = $a_orientation;
70  }
71  }
Create styles array
The data for the language used.
+ Here is the caller graph for this function:

◆ setShowAllElement()

ilAccordionGUI::setShowAllElement (   $a_val)

Set show all element.

Parameters
string$a_valID of show all html element

Definition at line 288 of file class.ilAccordionGUI.php.

289  {
290  $this->show_all_element = $a_val;
291  }

◆ setUseSessionStorage()

ilAccordionGUI::setUseSessionStorage (   $a_val)

Set use session storage.

Parameters
bool$a_valuse session storage

Definition at line 248 of file class.ilAccordionGUI.php.

249  {
250  $this->use_session_storage = $a_val;
251  }

Field Documentation

◆ $accordion_cnt

ilAccordionGUI::$accordion_cnt = 0
staticprotected

Definition at line 15 of file class.ilAccordionGUI.php.

◆ $allow_multi_opened

ilAccordionGUI::$allow_multi_opened = false
protected

Definition at line 17 of file class.ilAccordionGUI.php.

Referenced by getAllowMultiOpened().

◆ $force_open

ilAccordionGUI::$force_open = array()
protected

Definition at line 14 of file class.ilAccordionGUI.php.

◆ $hide_all_element

ilAccordionGUI::$hide_all_element = null
protected

Definition at line 19 of file class.ilAccordionGUI.php.

Referenced by getHideAllElement().

◆ $items

ilAccordionGUI::$items = array()
protected

Definition at line 13 of file class.ilAccordionGUI.php.

Referenced by addItem(), and getItems().

◆ $owl_css_path

ilAccordionGUI::$owl_css_path = "/assets/owl.carousel.css"
static

Definition at line 29 of file class.ilAccordionGUI.php.

◆ $owl_js_path

ilAccordionGUI::$owl_js_path = "/owl.carousel.js"
static

Definition at line 28 of file class.ilAccordionGUI.php.

◆ $owl_path

ilAccordionGUI::$owl_path = "./Services/Accordion/lib/owl.carousel.2.0.0-beta.2.4"
static

Definition at line 27 of file class.ilAccordionGUI.php.

◆ $show_all_element

ilAccordionGUI::$show_all_element = null
protected

Definition at line 18 of file class.ilAccordionGUI.php.

Referenced by getShowAllElement().

◆ $use_session_storage

ilAccordionGUI::$use_session_storage = false
protected

Definition at line 16 of file class.ilAccordionGUI.php.

Referenced by getUseSessionStorage().

◆ ALL_CLOSED

const ilAccordionGUI::ALL_CLOSED = "AllClosed"

Definition at line 25 of file class.ilAccordionGUI.php.

◆ FIRST_OPEN

◆ FORCE_ALL_OPEN

const ilAccordionGUI::FORCE_ALL_OPEN = "ForceAllOpen"

Definition at line 23 of file class.ilAccordionGUI.php.

Referenced by ilObjRoleGUI\permObject().

◆ HORIZONTAL

const ilAccordionGUI::HORIZONTAL = "horizontal"

◆ VERTICAL

const ilAccordionGUI::VERTICAL = "vertical"

The documentation for this class was generated from the following file: