public function hasAdapter($type = '')
    {
        $returnValue = (bool) false;

        
		$adapterClass = empty($type)?'tao_helpers_grid_Cell_Adapter':$type;
		foreach($this->adapters as $adapter){
			if($adapter instanceof $adapterClass){
				$returnValue = true;
				break;
			}
		}
		
        

        return (bool) $returnValue;
    }
public function hasAdapter($type = '')
    {
        $returnValue = (bool) false;

        
		$adapterClass = empty($type)?'tao_helpers_grid_Cell_Adapter':$type;
		foreach($this->adapters as $adapter){
			if($adapter instanceof $adapterClass){
				$returnValue = true;
				break;
			}
		}
		
        

        return (bool) $returnValue;
    }
public function hasAdapter ( $ type = '' ) { $ returnValue = ( bool ) false ; $ adapterClass = empty ( $ type ) ? 'tao_helpers_grid_Cell_Adapter' : $ type ; foreach ( $ this -> adapters as $ adapter ) { if ( $ adapter instanceof $ adapterClass ) { $ returnValue = true ; break ; } } return ( bool ) $ returnValue ; }
Short description of method hasAdapter

@access public
@author Somsack Sipasseuth, <somsack.sipasseuth@tudor.lu>
@param  string type (to check if the adaptor is of a certain type)
@return boolean
Short description of method hasAdapter