예제 #1
0
파일: report.php 프로젝트: shuber/weeports
 protected function query()
 {
     if ($this->database !== false && !empty($this->sql)) {
         $this->connection =& ConnectionManager::connection($this->database);
         $this->result = $this->connection->query($this->sql)->fetchAll(PDO::FETCH_ASSOC);
     }
 }