示例#1
0
文件: CoreDAO.php 项目: Tookuk/aspid
 public function getDictionary($table)
 {
     $query = "SELECT * FROM " . $table;
     $set = $this->execQuery($query, null);
     $dictionary = new Dictionary();
     foreach ($set as $row) {
         $dictionary->addItem($row[0], $row[1]);
     }
 }