Go to the documentation of this file.00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00036 define('LP_STATUS_NOT_ATTEMPTED','trac_no_attempted');
00037 define('LP_STATUS_IN_PROGRESS','trac_in_progress');
00038 define('LP_STATUS_COMPLETED','trac_completed');
00039 define('LP_STATUS_FAILED','trac_failed');
00040
00041
00042 define('LP_STATUS_REGISTERED','trac_registered');
00043 define('LP_STATUS_NOT_REGISTERED','trac_not_registered');
00044 define('LP_STATUS_PARTICIPATED','trac_participated');
00045 define('LP_STATUS_NOT_PARTICIPATED','trac_not_participated');
00046
00047
00048
00049
00050 class ilLPStatus
00051 {
00052 var $obj_id = null;
00053
00054 var $db = null;
00055
00056 function ilLPStatus($a_obj_id)
00057 {
00058 global $ilDB;
00059
00060 $this->obj_id = $a_obj_id;
00061 $this->db =& $ilDB;
00062 }
00063
00064 function _getCountNotAttempted($a_obj_id)
00065 {
00066 return 0;
00067 }
00068
00069 function _getNotAttempted($a_obj_id)
00070 {
00071 return array();
00072 }
00073
00074 function _getCountInProgress($a_obj_id)
00075 {
00076 return 0;
00077 }
00078 function _getInProgress($a_obj_id)
00079 {
00080 return array();
00081 }
00082
00083 function _getCountCompleted($a_obj_id)
00084 {
00085 return 0;
00086 }
00087 function _getCompleted($a_obj_id)
00088 {
00089 return array();
00090 }
00091 function _getFailed($a_obj_id)
00092 {
00093 return array();
00094 }
00095 function _getCountFailed()
00096 {
00097 return 0;
00098 }
00099 function _getStatusInfo($a_obj_id)
00100 {
00101 return array();
00102 }
00103 function _getTypicalLearningTime($a_obj_id)
00104 {
00105 include_once 'Services/MetaData/classes/class.ilMDEducational.php';
00106 return ilMDEducational::_getTypicalLearningTimeSeconds($a_obj_id);
00107 }
00108
00109 }
00110 ?>