original_string: public function fetchAll(array $where = null, array $column = null, array $order = null, $limit = null, $lazy = false)
      {
          $qp = $this->_fetch($where, $column, $order, $limit);
          $rows = $this->_fetchAll($qp['query'], $qp['params']);
  
          if (!$rows) {
              return false;
          }
  
          if (!$lazy) {
              $hydratedRows = array();
              foreach ($rows as $id => $row) {
                  $className = $this->_rowClass;
                  $class = new $className($this);
                  $class->setData($row);
                  $hydratedRows[$id] = $class;
              }
  
              return $hydratedRows;
          }
          return $rows;
      }
code: public function fetchAll(array $where = null, array $column = null, array $order = null, $limit = null, $lazy = false)
      {
          $qp = $this->_fetch($where, $column, $order, $limit);
          $rows = $this->_fetchAll($qp['query'], $qp['params']);
  
          if (!$rows) {
              return false;
          }
  
          if (!$lazy) {
              $hydratedRows = array();
              foreach ($rows as $id => $row) {
                  $className = $this->_rowClass;
                  $class = new $className($this);
                  $class->setData($row);
                  $hydratedRows[$id] = $class;
              }
  
              return $hydratedRows;
          }
          return $rows;
      }
code_tokens: public function fetchAll ( array $ where = null , array $ column = null , array $ order = null , $ limit = null , $ lazy = false ) { $ qp = $ this -> _fetch ( $ where , $ column , $ order , $ limit ) ; $ rows = $ this -> _fetchAll ( $ qp [ 'query' ] , $ qp [ 'params' ] ) ; if ( ! $ rows ) { return false ; } if ( ! $ lazy ) { $ hydratedRows = array ( ) ; foreach ( $ rows as $ id => $ row ) { $ className = $ this -> _rowClass ; $ class = new $ className ( $ this ) ; $ class -> setData ( $ row ) ; $ hydratedRows [ $ id ] = $ class ; } return $ hydratedRows ; } return $ rows ; }
docstring: Fetch all rows
  @param array $where Where conditions array
  @param array $column Array with columns that you want.
  @param array $order Array with order condition ('first_name, last_name' => 'DESC')
  @param string $limit String with limit value
  @param bool $lazy Lazy return. If this is true, the response will be an array
  @return array | bool
docstring_tokens: Fetch all rows