Location: PHPKode > scripts > PHP Lenex 2 > php-lenex-2/LenexClasses/LenexPerson.class.php
<?

	require_once("LenexBase.class.php");
	
	define ("LENEX_PERSON_GENDER_UNKNOWN","");
	define ("LENEX_PERSON_GENDER_MALE","M");
	define ("LENEX_PERSON_GENDER_FEMALE","F");
	
	/*
		nation codes according to ISO 3166 alpha-3
		http://www.swimrankings.net/files/Lenex_Nation.txt
	*/

	/*abstract*/
	class LenexPerson extends LenexBase {
		
		var $club;
		
		var $personid="";
		
		var $firstName="";
		var $gender=LENEX_PERSON_GENDER_UNKNOWN;
		var $lastName="";
		var $middleName="";
		var $namePrefix="";
		var $nation="";
		var $passport="";

		function LenexPerson($personid,$gender,$firstName,$lastName,$middleName="",$namePrefix="") {
			$this->personid=$personid;
			$this->gender=$gender;
			$this->firstName=$firstName;
			$this->lastName=$lastName;
			$this->middleName=$middleName;
			$this->namePrefix=$namePrefix;
		}
		
		function setClub(&$club) {
			$this->club =& $club;
		}
	
	}

?>
Return current item: PHP Lenex 2