ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilItemGroupBehaviour.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 1998-2017 ILIAS open source, Extended GPL, see docs/LICENSE */
4 
13 {
14  const ALWAYS_OPEN = 0;
15  const EXPANDABLE_CLOSED = 1;
16  const EXPANDABLE_OPEN = 2;
17 
23  public static function getAll()
24  {
25  global $DIC;
26 
27  $lng = $DIC->language();
28 
29  return array(
30  self::ALWAYS_OPEN => $lng->txt("itgr_always_open"),
31  self::EXPANDABLE_CLOSED => $lng->txt("itgr_expandable_closed"),
32  self::EXPANDABLE_OPEN => $lng->txt("itgr_expandable_open")
33  );
34  }
35 }
global $DIC
Definition: saml.php:7
$lng
static getAll()
Get all behaviours.
Different types of behaviour for item groups.