ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilItemGroupBehaviour Class Reference

Different types of behaviour for item groups. More...

+ Collaboration diagram for ilItemGroupBehaviour:

Static Public Member Functions

static getAll ()
 Get all behaviours. More...
 

Data Fields

const ALWAYS_OPEN = 0
 
const EXPANDABLE_CLOSED = 1
 
const EXPANDABLE_OPEN = 2
 

Detailed Description

Different types of behaviour for item groups.

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

Definition at line 12 of file class.ilItemGroupBehaviour.php.

Member Function Documentation

◆ getAll()

static ilItemGroupBehaviour::getAll ( )
static

Get all behaviours.

Returns
array

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

References $DIC, and $lng.

Referenced by ilObjItemGroupGUI\initEditCustomForm().

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  }
global $DIC
Definition: saml.php:7
$lng
+ Here is the caller graph for this function:

Field Documentation

◆ ALWAYS_OPEN

const ilItemGroupBehaviour::ALWAYS_OPEN = 0

◆ EXPANDABLE_CLOSED

const ilItemGroupBehaviour::EXPANDABLE_CLOSED = 1

◆ EXPANDABLE_OPEN

const ilItemGroupBehaviour::EXPANDABLE_OPEN = 2

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