Location: PHPKode > projects > SASHA > SASHA/inc/inc.constants.php
<?php

/**
 * SASHA :: inc/inc.constants.php
 *
 * Catalog of values that are constant.
 *
 * @package SASHA
 * @copyright (C) 2006-2010 Gordon P. Hemsley
 * @license docs/LICENSE BSD License
 * @version $Id: inc.constants.php 78 2010-01-04 23:32:19Z gphemsley $
 */

/**
 * Date and time constants
 */
define( 'DAT_SECOND', 1 );
define( 'DAT_MINUTE', DAT_SECOND * 60 );
define( 'DAT_HOUR', DAT_MINUTE * 60 );
define( 'DAT_DAY', DAT_HOUR * 24 );
define( 'DAT_WEEK', DAT_DAY * 7 );
define( 'DAT_MONTH', DAT_DAY * 30 );
define( 'DAT_YEAR', DAT_DAY * 365 );
define( 'DAT_LEAP_YEAR', DAT_DAY * 366 );

/**
 * User constants
 */
define( 'USER_ANONYMOUS', -1 );

/**
 * User types
 */
define( 'UT_ANONYMOUS', -1 );
define( 'UT_STUDENT', 0 );
define( 'UT_INSTRUCTOR', 10 );
define( 'UT_ADMIN', 100 );

/**
 * Instructor types
 */
define( 'IT_OTHER', -1 );

define( 'IT_LECTURER', 0 );
define( 'IT_INSTRUCTOR', 1 );
define( 'IT_ASSISTANT_PROFESSOR', 2 );
define( 'IT_ASSOCIATE_PROFESSOR', 3 );
define( 'IT_PROFESSOR', 4 );
define( 'IT_SENIOR_LECTURER', 5 );

define( 'IT_CLINICAL_LECTURER', 10 );
define( 'IT_CLINICAL_INSTRUCTOR', 11 );
define( 'IT_CLINICAL_ASSISTANT_PROFESSOR', 12 );
define( 'IT_CLINICAL_ASSOCIATE_PROFESSOR', 13 );
define( 'IT_CLINICAL_PROFESSOR', 14 );

define( 'IT_RESEARCH_LECTURER', 20 );
define( 'IT_RESEARCH_INSTRUCTOR', 21 );
define( 'IT_RESEARCH_ASSISTANT_PROFESSOR', 22 );
define( 'IT_RESEARCH_ASSOCIATE_PROFESSOR', 23 );
define( 'IT_RESEARCH_PROFESSOR', 24 );

define( 'IT_ADJUNCT_LECTURER', 30 );
define( 'IT_ADJUNCT_INSTRUCTOR', 31 );
define( 'IT_ADJUNCT_ASSISTANT_PROFESSOR', 32 );
define( 'IT_ADJUNCT_ASSOCIATE_PROFESSOR', 33 );
define( 'IT_ADJUNCT_PROFESSOR', 34 );

define( 'IT_VISITING_LECTURER', 40 );
define( 'IT_VISITING_INSTRUCTOR', 41 );
define( 'IT_VISITING_ASSISTANT_PROFESSOR', 42 );
define( 'IT_VISITING_ASSOCIATE_PROFESSOR', 43 );
define( 'IT_VISITING_PROFESSOR', 44 );
define( 'IT_VISITING_SENIOR_LECTURER', 45 );

define( 'IT_EXTENSION_LECTURER', 50 );
define( 'IT_EXTENSION_INSTRUCTOR', 51 );
define( 'IT_EXTENSION_ASSISTANT_PROFESSOR', 52 );
define( 'IT_EXTENSION_ASSOCIATE_PROFESSOR', 53 );
define( 'IT_EXTENSION_PROFESSOR', 54 );

define( 'IT_LIBRARY_LECTURER', 60 );
define( 'IT_LIBRARY_INSTRUCTOR', 61 );
define( 'IT_LIBRARY_ASSISTANT_PROFESSOR', 62 );
define( 'IT_LIBRARY_ASSOCIATE_PROFESSOR', 63 );
define( 'IT_LIBRARY_PROFESSOR', 64 );

define( 'IT_LECTURER_EMERITUS', 100 );
define( 'IT_INSTRUCTOR_EMERITUS', 101 );
define( 'IT_ASSISTANT_PROFESSOR_EMERITUS', 102 );
define( 'IT_ASSOCIATE_PROFESSOR_EMERITUS', 103 );
define( 'IT_PROFESSOR_EMERITUS', 104 );
define( 'IT_SENIOR_LECTURER_EMERITUS', 105 );

define( 'IT_CLINICAL_LECTURER_EMERITUS', 110 );
define( 'IT_CLINICAL_INSTRUCTOR_EMERITUS', 111 );
define( 'IT_CLINICAL_ASSISTANT_PROFESSOR_EMERITUS', 112 );
define( 'IT_CLINICAL_ASSOCIATE_PROFESSOR_EMERITUS', 113 );
define( 'IT_CLINICAL_PROFESSOR_EMERITUS', 114 );

define( 'IT_RESEARCH_LECTURER_EMERITUS', 120 );
define( 'IT_RESEARCH_INSTRUCTOR_EMERITUS', 121 );
define( 'IT_RESEARCH_ASSISTANT_PROFESSOR_EMERITUS', 122 );
define( 'IT_RESEARCH_ASSOCIATE_PROFESSOR_EMERITUS', 123 );
define( 'IT_RESEARCH_PROFESSOR_EMERITUS', 124 );

define( 'IT_ADJUNCT_LECTURER_EMERITUS', 130 );
define( 'IT_ADJUNCT_INSTRUCTOR_EMERITUS', 131 );
define( 'IT_ADJUNCT_ASSISTANT_PROFESSOR_EMERITUS', 132 );
define( 'IT_ADJUNCT_ASSOCIATE_PROFESSOR_EMERITUS', 133 );
define( 'IT_ADJUNCT_PROFESSOR_EMERITUS', 134 );

define( 'IT_VISITING_LECTURER_EMERITUS', 140 );
define( 'IT_VISITING_INSTRUCTOR_EMERITUS', 141 );
define( 'IT_VISITING_ASSISTANT_PROFESSOR_EMERITUS', 142 );
define( 'IT_VISITING_ASSOCIATE_PROFESSOR_EMERITUS', 143 );
define( 'IT_VISITING_PROFESSOR_EMERITUS', 144 );
define( 'IT_VISITING_SENIOR_LECTURER_EMERITUS', 145 );

define( 'IT_EXTENSION_LECTURER_EMERITUS', 150 );
define( 'IT_EXTENSION_INSTRUCTOR_EMERITUS', 151 );
define( 'IT_EXTENSION_ASSISTANT_PROFESSOR_EMERITUS', 152 );
define( 'IT_EXTENSION_ASSOCIATE_PROFESSOR_EMERITUS', 153 );
define( 'IT_EXTENSION_PROFESSOR_EMERITUS', 154 );

define( 'IT_LIBRARY_LECTURER_EMERITUS', 160 );
define( 'IT_LIBRARY_INSTRUCTOR_EMERITUS', 161 );
define( 'IT_LIBRARY_ASSISTANT_PROFESSOR_EMERITUS', 162 );
define( 'IT_LIBRARY_ASSOCIATE_PROFESSOR_EMERITUS', 163 );
define( 'IT_LIBRARY_PROFESSOR_EMERITUS', 164 );

/**
 * Schedule types
 */
define( 'ST_LECTURE', 0 );
define( 'ST_LABORATORY', 1 );
define( 'ST_DISCUSSION', 2 );
define( 'ST_SEMINAR', 3 );
define( 'ST_TESTING', 4 );
define( 'ST_LECTDISC', 5 );

/**
 * Assignment types
 */
define( 'AT_DONE', 100 );
define( 'AT_ALMOST', 75 );
define( 'AT_MIDWAY', 50 );
define( 'AT_STARTED', 25 );
define( 'AT_TODO', 0 );

/**
 * Test types
 */
define( 'TT_FINAL', 100 );
define( 'TT_MIDTERM', 75 );
define( 'TT_EXAM', 50 );
define( 'TT_QUIZ', 25 );

?>
Return current item: SASHA