public function selectMany(Select $select, ResultSet\ResultSetInterface $resultSet = null)
    {
        if ($this->usePaginator) {
            $this->usePaginator = false;
            $rows = $this->initPaginator($select, $resultSet);
        } else {
            $result = $this->select($select, $resultSet);
            $rows = array();
            foreach ($result as $row) {
                $rows[] = $row;
            }
        }
        return $rows;
    }
public function selectMany(Select $select, ResultSet\ResultSetInterface $resultSet = null)
    {
        if ($this->usePaginator) {
            $this->usePaginator = false;
            $rows = $this->initPaginator($select, $resultSet);
        } else {
            $result = $this->select($select, $resultSet);
            $rows = array();
            foreach ($result as $row) {
                $rows[] = $row;
            }
        }
        return $rows;
    }
public function selectMany ( Select $ select , ResultSet \ ResultSetInterface $ resultSet = null ) { if ( $ this -> usePaginator ) { $ this -> usePaginator = false ; $ rows = $ this -> initPaginator ( $ select , $ resultSet ) ; } else { $ result = $ this -> select ( $ select , $ resultSet ) ; $ rows = array ( ) ; foreach ( $ result as $ row ) { $ rows [ ] = $ row ; } } return $ rows ; }
returns array of rows
returns array of rows