code/libraries/joomlatools/library/database/query/abstract.php
public function getAdapter()
    {
        if(!$this->_adapter instanceof KDatabaseAdapterInterface)
        {
            $this->_adapter = $this->getObject($this->_adapter);

            if(!$this->_adapter instanceof KDatabaseAdapterInterface)
            {
                throw new UnexpectedValueException(
                    'Adapter: '.get_class($this->_adapter).' does not implement KDatabaseAdapterInterface'
                );
            }
        }

        return $this->_adapter;
    }
public function getAdapter()
    {
        if(!$this->_adapter instanceof KDatabaseAdapterInterface)
        {
            $this->_adapter = $this->getObject($this->_adapter);

            if(!$this->_adapter instanceof KDatabaseAdapterInterface)
            {
                throw new UnexpectedValueException(
                    'Adapter: '.get_class($this->_adapter).' does not implement KDatabaseAdapterInterface'
                );
            }
        }

        return $this->_adapter;
    }
public function getAdapter ( ) { if ( ! $ this -> _adapter instanceof KDatabaseAdapterInterface ) { $ this -> _adapter = $ this -> getObject ( $ this -> _adapter ) ; if ( ! $ this -> _adapter instanceof KDatabaseAdapterInterface ) { throw new UnexpectedValueException ( 'Adapter: ' . get_class ( $ this -> _adapter ) . ' does not implement KDatabaseAdapterInterface' ) ; } } return $ this -> _adapter ; }
Gets the database adapter

@throws	\UnexpectedValueException	If the adapter doesn't implement KDatabaseAdapterInterface
@return KDatabaseAdapterInterface
Gets the database adapter