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()) { } } } }
function __construct() { // Call the Model constructor parent::__construct(); }
public function __construct() { parent::__construct(); }
function __construct() { // Call the Model constructor parent::__construct(); $this->current_id = curUsrId(); }