public function setColumnsAdapter($columnIds,  tao_helpers_grid_Cell_Adapter $adapter)
    {
        $returnValue = (bool) false;

        
		if(is_string($columnIds)){
			$columnIds = array($columnIds);
		}
		if(is_array($columnIds)){
			foreach($columnIds as $colId){
				if (!isset($this->columns[$colId]) || !$this->columns[$colId] instanceof tao_helpers_grid_Column) {
					throw new common_Exception('cannot set the column\'s adapter : the column with the id ' . $colId . ' does not exist');
				} else {
					$returnValue = $this->columns[$colId]->setAdapter($adapter);
				}
			}
		}
        

        return (bool) $returnValue;
    }
public function setColumnsAdapter($columnIds,  tao_helpers_grid_Cell_Adapter $adapter)
    {
        $returnValue = (bool) false;

        
		if(is_string($columnIds)){
			$columnIds = array($columnIds);
		}
		if(is_array($columnIds)){
			foreach($columnIds as $colId){
				if (!isset($this->columns[$colId]) || !$this->columns[$colId] instanceof tao_helpers_grid_Column) {
					throw new common_Exception('cannot set the column\'s adapter : the column with the id ' . $colId . ' does not exist');
				} else {
					$returnValue = $this->columns[$colId]->setAdapter($adapter);
				}
			}
		}
        

        return (bool) $returnValue;
    }
public function setColumnsAdapter ( $ columnIds , tao_helpers_grid_Cell_Adapter $ adapter ) { $ returnValue = ( bool ) false ; if ( is_string ( $ columnIds ) ) { $ columnIds = array ( $ columnIds ) ; } if ( is_array ( $ columnIds ) ) { foreach ( $ columnIds as $ colId ) { if ( ! isset ( $ this -> columns [ $ colId ] ) || ! $ this -> columns [ $ colId ] instanceof tao_helpers_grid_Column ) { throw new common_Exception ( 'cannot set the column\'s adapter : the column with the id ' . $ colId . ' does not exist' ) ; } else { $ returnValue = $ this -> columns [ $ colId ] -> setAdapter ( $ adapter ) ; } } } return ( bool ) $ returnValue ; }
Short description of method setColumnsAdapter

@access public
@author Cédric Alfonsi, <cedric.alfonsi@tudor.lu>
@param  array columnIds
@param  Adapter adapter
@return boolean
Short description of method setColumnsAdapter