Exemplo n.º 1
0
 /**
  *
  * @return \ZendT_Db_Recordset 
  */
 public function getRecordSet()
 {
     $stmt = $this->_table->getAdapter()->query($this->getSql());
     $obj = new ZendT_Db_Recordset($stmt, $this->_mappers, true);
     if (count($this->_replaceAlias) > 0) {
         foreach ($this->_replaceAlias as $key => $value) {
             $obj->addReplaceAlias($key, $value);
         }
     }
     return $obj;
 }