Update manager.php

This commit is contained in:
Markines16 2021-05-09 17:39:27 +02:00 committed by GitHub
parent 67279ed25b
commit b3362d8a86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 3 deletions

View File

@ -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;}
}
?>
?>