Ejemplo n.º 1
0
 public function __construct()
 {
     $authorizeObj = new authorize($_SESSION['empID'], $_SESSION['isAdmin']);
     $this->setAuthorize($authorizeObj);
     $tmpLeaveObj = new Leave();
     $tmpLeaveObj->takeLeave();
 }