ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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;
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}
An exception for terminatinating execution or to throw for unit testing.
Different types of behaviour for item groups.
static getAll()
Get all behaviours.
global $lng
Definition: privfeed.php:17
global $DIC
Definition: saml.php:7