PHP model class example
<?php
class User
{
private $id;
private $fbid;
private $name;
private $agerange;
private $gender;
private $birthday;
private $location;
private $date;
private $job;
private $email;
function __construct()
{
}
public function getId(){
return $this->id;
}
public function setId($id){
$this->id = $id;
}
public function getFbid(){
return $this->fbid;
}
public function setFbid($fbid){
$this->fbid = $fbid;
}
public function getName(){
return $this->name;
}
public function setName($name){
$this->name = $name;
}
public function getAgerange(){
return $this->agerange;
}
public function setAgerange($agerange){
$this->agerange = $agerange;
}
public function getGender(){
return $this->gender;
}
public function setGender($gender){
$this->gender = $gender;
}
public function getBirthday(){
return $this->birthday;
}
public function setBirthday($birthday){
$this->birthday = $birthday;
}
public function getLocation(){
return $this->location;
}
public function setLocation($location){
$this->location = $location;
}
public function getDate(){
return $this->date;
}
public function setDate($date){
$this->date = $date;
}
public function getJob(){
return $this->job;
}
public function setJob($job){
$this->job = $job;
}
public function getEmail(){
return $this->email;
}
public function setEmail($email){
$this->email = $email;
}
}
?>