示例#1
0
 public function __construct(LoggerInterface $logger)
 {
     $this->db = parent::getDb();
     $this->logger = $logger;
     $this->fields = "uid, trid, content, attachments";
     $this->fieldsPrepared = ":uid, :trid, :content, :attachments";
 }
示例#2
0
文件: Users.php 项目: wappr/ticklr
 public function __construct(LoggerInterface $logger)
 {
     $this->dbh = parent::getDb();
     $this->logger = $logger;
     $this->permissions = new Permissions($this->logger);
     $this->config = parent::loadConfig('users');
 }
示例#3
0
 public function __construct()
 {
     $this->db = parent::getDb();
 }
示例#4
0
 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'];
 }
示例#5
0
 public function __construct(LoggerInterface $logger)
 {
     $this->db = parent::getDb();
     $this->logger = $logger;
 }