ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
class.ilLearningModuleLP.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5include_once "Services/Object/classes/class.ilObjectLP.php";
6
15{
16 public static function getDefaultModes($a_lp_active)
17 {
18 if(!$a_lp_active)
19 {
20 return array(
24 );
25 }
26 else
27 {
28 return array(
33 );
34 }
35 }
36
37 public function getDefaultMode()
38 {
40 }
41
42 public function getValidModes()
43 {
44 return array(
53 );
54 }
55}
56
57?>
An exception for terminatinating execution or to throw for unit testing.
static getDefaultModes($a_lp_active)
Get available type-specific default modes (no administration needed)