public function __construct(LoggerInterface $logger) { $this->db = parent::getDb(); $this->logger = $logger; $this->fields = "uid, trid, content, attachments"; $this->fieldsPrepared = ":uid, :trid, :content, :attachments"; }
public function __construct(LoggerInterface $logger) { $this->dbh = parent::getDb(); $this->logger = $logger; $this->permissions = new Permissions($this->logger); $this->config = parent::loadConfig('users'); }
public function __construct() { $this->db = parent::getDb(); }
public function __construct(LoggerInterface $logger) { $this->db = parent::getDb(); $this->logger = $logger; $this->allowedQuestions = ['createOrganization', 'removeOrganization', 'createGroup', 'removeGroup', 'viewOtherGroup', 'removeOtherGroup', 'addUser', 'removeUser', 'viewOtherUser', 'removeOtherUser', 'assignUserGroup', 'removeUserGroup']; }
public function __construct(LoggerInterface $logger) { $this->db = parent::getDb(); $this->logger = $logger; }