Difference between revisions of "Person.Inc"

From WolfTech
Jump to navigation Jump to search
 
Line 1: Line 1:
person.inc.php initialized with:
+
<pre>person.inc.php initialized with:
  
 
new Person($UnityID);
 
new Person($UnityID);
Line 5: Line 5:
 
Methods:
 
Methods:
 
function getID()
 
function getID()
 
 
function getCollegesAsStudent()
 
function getCollegesAsStudent()
 
function getCollegesAsFaculty()
 
function getCollegesAsFaculty()
Line 14: Line 13:
 
function getDeptsAsStaff()
 
function getDeptsAsStaff()
 
function getDeptsAsEmployee()
 
function getDeptsAsEmployee()
 
  
 
function getCurrAsStudent()
 
function getCurrAsStudent()
 
function getClassAsStudent()
 
function getClassAsStudent()
 
 
  
 
function getEmployeeType()
 
function getEmployeeType()
 
 
 
 
 
  
 
function getCurr() -- Alias of getCurrAsStudent();
 
function getCurr() -- Alias of getCurrAsStudent();
 
function getClass() -- Alias of getClassAsStudent();
 
function getClass() -- Alias of getClassAsStudent();
 
 
  
 
function getFirstName()
 
function getFirstName()
Line 38: Line 27:
  
 
function getPhoneNumber()
 
function getPhoneNumber()
 
 
 
  
 
function inCollegeAsStudent($College)
 
function inCollegeAsStudent($College)
Line 47: Line 33:
 
function inCollegeAsEmployee($College)
 
function inCollegeAsEmployee($College)
 
function inCollege($College)
 
function inCollege($College)
 
 
  
 
function inDeptAsStudent($Dept)
 
function inDeptAsStudent($Dept)
Line 57: Line 41:
  
 
function inCurriculumAsStudent($Curr)
 
function inCurriculumAsStudent($Curr)
 
 
  
 
function inCurriculum($Curr) -- Alias of inCurriculumAsStudent
 
function inCurriculum($Curr) -- Alias of inCurriculumAsStudent
 +
</pre>

Revision as of 11:44, 23 October 2006

person.inc.php initialized with:

new Person($UnityID);

Methods:
	function getID()
	function getCollegesAsStudent()
	function getCollegesAsFaculty()
	function getCollegesAsStaff()
	function getCollegesAsEmployee()
	function getDeptsAsStudent()
	function getDeptsAsFaculty()
	function getDeptsAsStaff()
	function getDeptsAsEmployee()

	function getCurrAsStudent()
	function getClassAsStudent()

	function getEmployeeType()

	function getCurr() -- Alias of getCurrAsStudent();
	function getClass() -- Alias of getClassAsStudent();

	function getFirstName()
	function getMiddleName()
	function getLastName()

	function getPhoneNumber()

	function inCollegeAsStudent($College)
	function inCollegeAsFaculty($College)
	function inCollegeAsStaff($College)
	function inCollegeAsEmployee($College)
	function inCollege($College)

	function inDeptAsStudent($Dept)
	function inDeptAsFaculty($Dept)
	function inDeptAsStaff($Dept)
	function inDeptAsEmployee($Dept)
	function inDept($Dept)

	function inCurriculumAsStudent($Curr)

	function inCurriculum($Curr) -- Alias of inCurriculumAsStudent