Update manager.php
This commit is contained in:
parent
67279ed25b
commit
b3362d8a86
@ -16,9 +16,16 @@
|
|||||||
$this->_email = $email;
|
$this->_email = $email;
|
||||||
$this->_roll = $roll;
|
$this->_roll = $roll;
|
||||||
}
|
}
|
||||||
|
|
||||||
//Methods:
|
//Methods:
|
||||||
|
public static function getManager($id){
|
||||||
|
$bd = new Manager_DAO('complucine');
|
||||||
|
if($bd ) {
|
||||||
|
return $bd->GetManager($id);
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
//Getters && Setters:
|
//Getters && Setters:
|
||||||
public function setId($id){ $this->_id = $id; }
|
public function setId($id){ $this->_id = $id; }
|
||||||
public function getId(){ return $this->_id; }
|
public function getId(){ return $this->_id; }
|
||||||
@ -32,4 +39,4 @@
|
|||||||
public function getRoll(){return $this->_roll;}
|
public function getRoll(){return $this->_roll;}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user