original_string: public function getAdapter()
      {
          /**
           * Check for an adapter being defined. if not, fetch the default adapter.
           */
          if ($this->_adapter === null) {
              $this->_adapter = Zend_Db_Table_Abstract::getDefaultAdapter();
              if (null === $this->_adapter) {
  
                  throw new Zend_Validate_Exception('No database adapter present');
              }
          }
          return $this->_adapter;
      }
code: public function getAdapter()
      {
          /**
           * Check for an adapter being defined. if not, fetch the default adapter.
           */
          if ($this->_adapter === null) {
              $this->_adapter = Zend_Db_Table_Abstract::getDefaultAdapter();
              if (null === $this->_adapter) {
  
                  throw new Zend_Validate_Exception('No database adapter present');
              }
          }
          return $this->_adapter;
      }
code_tokens: public function getAdapter ( ) { /**
           * Check for an adapter being defined. if not, fetch the default adapter.
           */ if ( $ this -> _adapter === null ) { $ this -> _adapter = Zend_Db_Table_Abstract :: getDefaultAdapter ( ) ; if ( null === $ this -> _adapter ) { throw new Zend_Validate_Exception ( 'No database adapter present' ) ; } } return $ this -> _adapter ; }
docstring: Returns the set adapter
  
  @return Zend_Db_Adapter
docstring_tokens: Returns the set adapter