diff --git a/assets/php/common/manager.php b/assets/php/common/manager.php index 6c79ae9..69d5e48 100644 --- a/assets/php/common/manager.php +++ b/assets/php/common/manager.php @@ -16,9 +16,16 @@ $this->_email = $email; $this->_roll = $roll; } - + //Methods: - + public static function getManager($id){ + $bd = new Manager_DAO('complucine'); + if($bd ) { + return $bd->GetManager($id); + } + return ""; + } + //Getters && Setters: public function setId($id){ $this->_id = $id; } public function getId(){ return $this->_id; } @@ -32,4 +39,4 @@ public function getRoll(){return $this->_roll;} } -?> \ No newline at end of file +?>