Example #1
0
 public function __construct($db)
 {
     parent::__construct($db);
     $this->U = $this->User;
     if (method_exists($this->U, 'getRoles')) {
         $dataUser = $this->U->getName();
         if ($dataUser != 'Guest') {
             $this->Roles = $this->U->getRoles();
             $this->DataUser = $dataUser;
         }
     }
 }
Example #2
0
 public function __construct($db)
 {
     parent::__construct($db);
     $this->loadSetting();
     $this->parameters = $this->Application->getParameters();
 }
Example #3
0
 public function __construct($db)
 {
     parent::__construct($db);
     $this->setup = $this->getLogic('Setup');
     $this->DMaster = $this->getLogic('DMaster');
 }