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; } } }
public function __construct($db) { parent::__construct($db); $this->loadSetting(); $this->parameters = $this->Application->getParameters(); }
public function __construct($db) { parent::__construct($db); $this->setup = $this->getLogic('Setup'); $this->DMaster = $this->getLogic('DMaster'); }