00001 <?php 00002 /* 00003 +-----------------------------------------------------------------------------+ 00004 | ILIAS open source | 00005 +-----------------------------------------------------------------------------+ 00006 | Copyright (c) 1998-2007 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 /* 00024 PHP port of ADL SeqCondition.java 00025 @author Hendrik Holtmann <holtmann@mac.com> 00026 00027 This .php file is GPL licensed (see above) but based on 00028 SeqCondition.java by ADL Co-Lab, which is licensed as: 00029 00030 Advanced Distributed Learning Co-Laboratory (ADL Co-Lab) Hub grants you 00031 ("Licensee") a non-exclusive, royalty free, license to use, modify and 00032 redistribute this software in source and binary code form, provided that 00033 i) this copyright notice and license appear on all copies of the software; 00034 and ii) Licensee does not utilize the software in a manner which is 00035 disparaging to ADL Co-Lab Hub. 00036 00037 This software is provided "AS IS," without a warranty of any kind. ALL 00038 EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING 00039 ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE 00040 OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. ADL Co-Lab Hub AND ITS LICENSORS 00041 SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF 00042 USING, MODIFYING OR DISTRIBUTING THE SOFTWARE OR ITS DERIVATIVES. IN NO 00043 EVENT WILL ADL Co-Lab Hub OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, 00044 PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, 00045 INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE 00046 THEORY OF LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE 00047 SOFTWARE, EVEN IF ADL Co-Lab Hub HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 00048 DAMAGES. 00049 */ 00050 00051 define("SATISFIED","satisfied"); 00052 define("OBJSTATUSKNOWN","objectiveStatusKnown"); 00053 define("OBJMEASUREKNOWN","objectiveMeasureKnown"); 00054 define("OBJMEASUREGRTHAN","objectiveMeasureGreaterThan"); 00055 define("OBJMEASURELSTHAN","objectiveMeasureLessThan"); 00056 define("COMPLETED","completed"); 00057 define("PROGRESSKNOWN","activityProgressKnown"); 00058 define("ATTEMPTED","attempted"); 00059 define("ATTEMPTSEXCEEDED","attemptLimitExceeded"); 00060 define("TIMELIMITEXCEEDED","timeLimitExceeded"); 00061 define("OUTSIDETIME","outsideAvailableTimeRange"); 00062 define("ALWAYS","always"); 00063 define("NEVER","never"); 00064 00065 class SeqCondition{ 00066 00067 public $mCondition = null; 00068 public $mNot = false; 00069 public $mObjID = null; 00070 public $mThreshold = 0.0; 00071 00072 public function __construct() { 00073 00074 } 00075 00076 } 00077 00078 00079 ?>
1.7.1