ILIAS
Release_3_10_x_branch Revision 61812
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
class.ilLPStatus.php
Go to the documentation of this file.
1
<?php
2
/*
3
+-----------------------------------------------------------------------------+
4
| ILIAS open source |
5
+-----------------------------------------------------------------------------+
6
| Copyright (c) 1998-2001 ILIAS open source, University of Cologne |
7
| |
8
| This program is free software; you can redistribute it and/or |
9
| modify it under the terms of the GNU General Public License |
10
| as published by the Free Software Foundation; either version 2 |
11
| of the License, or (at your option) any later version. |
12
| |
13
| This program is distributed in the hope that it will be useful, |
14
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
15
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16
| GNU General Public License for more details. |
17
| |
18
| You should have received a copy of the GNU General Public License |
19
| along with this program; if not, write to the Free Software |
20
| Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
21
+-----------------------------------------------------------------------------+
22
*/
23
36
define(
'LP_STATUS_NOT_ATTEMPTED'
,
'trac_no_attempted'
);
37
define(
'LP_STATUS_IN_PROGRESS'
,
'trac_in_progress'
);
38
define(
'LP_STATUS_COMPLETED'
,
'trac_completed'
);
39
define(
'LP_STATUS_FAILED'
,
'trac_failed'
);
40
41
// Stati for events
42
define(
'LP_STATUS_REGISTERED'
,
'trac_registered'
);
43
define(
'LP_STATUS_NOT_REGISTERED'
,
'trac_not_registered'
);
44
define(
'LP_STATUS_PARTICIPATED'
,
'trac_participated'
);
45
define(
'LP_STATUS_NOT_PARTICIPATED'
,
'trac_not_participated'
);
46
47
48
49
50
class
ilLPStatus
51
{
52
var
$obj_id
= null;
53
54
var
$db
= null;
55
56
function
ilLPStatus
($a_obj_id)
57
{
58
global $ilDB;
59
60
$this->obj_id = $a_obj_id;
61
$this->db =& $ilDB;
62
}
63
64
function
_getCountNotAttempted
($a_obj_id)
65
{
66
return
0;
67
}
68
69
function
_getNotAttempted
($a_obj_id)
70
{
71
return
array();
72
}
73
74
function
_getCountInProgress
($a_obj_id)
75
{
76
return
0;
77
}
78
function
_getInProgress
($a_obj_id)
79
{
80
return
array();
81
}
82
83
function
_getCountCompleted
($a_obj_id)
84
{
85
return
0;
86
}
87
function
_getCompleted
($a_obj_id)
88
{
89
return
array();
90
}
91
function
_getFailed
($a_obj_id)
92
{
93
return
array();
94
}
95
function
_getCountFailed
()
96
{
97
return
0;
98
}
99
function
_getStatusInfo
($a_obj_id)
100
{
101
return
array();
102
}
103
function
_getTypicalLearningTime
($a_obj_id)
104
{
105
include_once
'Services/MetaData/classes/class.ilMDEducational.php'
;
106
return
ilMDEducational::_getTypicalLearningTimeSeconds
($a_obj_id);
107
}
108
109
}
110
?>
Services
Tracking
classes
class.ilLPStatus.php
Generated on Tue Apr 26 2016 19:00:52 for ILIAS by
1.8.1.2 (using
Doxyfile
)