ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 return array(
23 );
24 } else {
25 return array(
30 );
31 }
32 }
33
34 public function getDefaultMode()
35 {
37 }
38
39 public function getValidModes()
40 {
41 return array(
50 );
51 }
52}
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)