original_string: public function fetchAll($pSingle = false)
      {
          if ($this->_stm === false) {
              return array();
          }
  
          if ($pSingle) {
              return $this->_stm->fetch(PDO::FETCH_ASSOC);
          }
  
          return $this->_stm->fetchAll(PDO::FETCH_ASSOC);
      }
code: public function fetchAll($pSingle = false)
      {
          if ($this->_stm === false) {
              return array();
          }
  
          if ($pSingle) {
              return $this->_stm->fetch(PDO::FETCH_ASSOC);
          }
  
          return $this->_stm->fetchAll(PDO::FETCH_ASSOC);
      }
code_tokens: public function fetchAll ( $ pSingle = false ) { if ( $ this -> _stm === false ) { return array ( ) ; } if ( $ pSingle ) { return $ this -> _stm -> fetch ( PDO :: FETCH_ASSOC ) ; } return $ this -> _stm -> fetchAll ( PDO :: FETCH_ASSOC ) ; }
docstring: Fetch all the results as array.
  
  @param bool $pSingle Return a single row or an array of rows.
  @return array
docstring_tokens: Fetch all the results as array .