function __construct()
 {
     // Call the Model constructor
     parent::__construct();
     if ($this->aauth->isUser()) {
         $this->company_id = curUsrPid();
     } else {
         if ($this->aauth->isCompany()) {
             $this->company_id = curUsrId();
         } else {
             if ($this->aauth->isAdmin()) {
             }
         }
     }
 }
Example #2
0
 function __construct()
 {
     // Call the Model constructor
     parent::__construct();
 }
Example #3
0
 public function __construct()
 {
     parent::__construct();
 }
 function __construct()
 {
     // Call the Model constructor
     parent::__construct();
     $this->current_id = curUsrId();
 }