• Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

Services/Tracking/classes/class.ilLPStatus.php

Go to the documentation of this file.
00001 <?php
00002 /*
00003         +-----------------------------------------------------------------------------+
00004         | ILIAS open source                                                           |
00005         +-----------------------------------------------------------------------------+
00006         | Copyright (c) 1998-2001 ILIAS open source, University of Cologne            |
00007         |                                                                             |
00008         | This program is free software; you can redistribute it and/or               |
00009         | modify it under the terms of the GNU General Public License                 |
00010         | as published by the Free Software Foundation; either version 2              |
00011         | of the License, or (at your option) any later version.                      |
00012         |                                                                             |
00013         | This program is distributed in the hope that it will be useful,             |
00014         | but WITHOUT ANY WARRANTY; without even the implied warranty of              |
00015         | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               |
00016         | GNU General Public License for more details.                                |
00017         |                                                                             |
00018         | You should have received a copy of the GNU General Public License           |
00019         | along with this program; if not, write to the Free Software                 |
00020         | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. |
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 // Stati for events
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 ?>

Generated on Fri Dec 13 2013 13:52:12 for ILIAS Release_3_7_x_branch .rev 46817 by  doxygen 1.7.1