예제 #1
0
파일: XmlDb.php 프로젝트: bizio/xmlreader
 /**
  * Get the list of saved documents
  * 
  * @return array, documents list
  * @todo add pagination
  */
 public function getDocumentsList()
 {
     $selectDocuments = 'SELECT * FROM documents';
     $st = $this->_db->prepare($selectDocuments);
     $this->_execute($st);
     $list = $st->fetchAll(\PDO::FETCH_ASSOC);
     return $list;
 }