Location: PHPKode > scripts > class_person > class_person/class_person.php
<?php
class Person {
	var $name;
	var $surname;
	var $initials;
	var $title;
	var $id_number;
	var $dob;
	var $gender;
	var $address;
	var $tel_number;
	var $cell_number;
	var $fax_number;
	var $email;
	var $language;
	var $bank;
	var $branch;
	var $branch_code;
	var $account_number;
	var $account_type;
	var $account_holder;


//***   CONSTRUCTOR   ***//
	function Person() {
	}

//***   ACCESSOR METHODS --  GET   ***//

	function getName() {
		return $this->name;
	}

	function getSurname() {
		return $this->surname;
	}

	function getInitials() {
		return $this->initials;
	}

	function getId_Number() {
		return $this->id_number;
	}

	function getDob() {
		return $this->dob;
	}

	function getGender() {
		return $this->gender;
	}

	function getAddress() {
		return $this->address;
	}

	function getTel_Number() {
		return $this->tel_number;
	}

	function getCell_Number() {
		return $this->cell_number;
	}

	function getFax_Number() {
		return $this->fax_number;
	}

	function getEmail() {
		return $this->email;
	}

	function getLanguage() {
		return $this->language;
	}

	function getBank() {
		return $this->bank;
	}

	function getBranch() {
		return $this->branch;
	}

	function getBranch_Code() {
		return $this->branch_code;
	}

	function getAccount_Number() {
		return $this->account_number;
	}

	function getAccount_Type() {
		return $this->account_type;
	}

	function getAccount_Holder() {
		return $this->account_holder;
	}

//***   ACCESSOR METHODS --  SET   ***//

	function setName($new) {
		$this->name = $new;
	}

	function setSurname($new) {
		$this->surname = $new;
	}

	function setInitials($new) {
		$this->initials = $new;
	}

	function setId_Number($new) {
		$this->id_number = $new;
	}

	function setDob($new) {
		$this->dob = $new;
	}

	function setGender($new) {
		$this->gender = $new;
	}

	function setAddress($new) {
		$this->address = $new;
	}

	function setTel_Number($new) {
		$this->tel_number = $new;
	}

	function setCell_Number($new) {
		$this->cell_number = $new;
	}

	function setFax_Number($new) {
		$this->fax_number = $new;
	}

	function setEmail($new) {
		$this->email = $new;
	}

	function setLanguage($new) {
		$this->language = $new;
	}

	function setBank($new) {
		$this->bank = $new;
	}

	function setBranch($new) {
		$this->branch = $new;
	}

	function setBranch_Code($new) {
		$this->branch_code = $new;
	}

	function setAccount_Number($new) {
		$this->account_number = $new;
	}

	function setAccount_Type($new) {
		$this->account_type = $new;
	}

	function setAccount_Holder($new) {
		$this->account_holder = $new;
	}
}
?>
Return current item: class_person