示例#1
0
文件: ZF2.php 项目: cnamaq/zac2
 public function read(Adapter $request)
 {
     $sql = $request->getDataSourceAdapter();
     $select = $request->getSelect();
     return $sql->prepareStatementForSqlObject($select)->execute();
 }
示例#2
0
文件: DataFile.php 项目: cnamaq/zac2
 /**
  * @param  Adapter $request
  * @return mixed
  */
 public function read(Adapter $request)
 {
     $this->params['requete'] = $request->getRequest();
     return $this->getSoapClient()->Requeteur($this->getParams());
 }