コード例 #1
0
 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()) {
             }
         }
     }
 }
コード例 #2
0
 function __construct()
 {
     // Call the Model constructor
     parent::__construct();
 }
コード例 #3
0
ファイル: Forummodel.php プロジェクト: stromkalle/examproject
 public function __construct()
 {
     parent::__construct();
 }
コード例 #4
0
 function __construct()
 {
     // Call the Model constructor
     parent::__construct();
     $this->current_id = curUsrId();
 }