public function getAdaptersData($rowId, $cellValue = null, $evaluateData = true)
    {
        $returnValue = null;

        
		
		if($this->hasAdapter()){
			foreach($this->adapters as $adapter){
				if($adapter instanceof tao_helpers_grid_Cell_Adapter){
					$cellValue = $adapter->getValue($rowId, $this->id, $cellValue);
				}
			}
			$returnValue = $cellValue;
		}
		
		if($evaluateData){
			//allow returning to type "string" or "Grid" only
			if ($returnValue instanceof tao_helpers_grid_Grid) {
				$returnValue = $returnValue->toArray();
			} else if ($returnValue instanceof tao_helpers_grid_GridContainer) {
				$returnValue = $returnValue->toArray();
			} else if(is_array($returnValue)){
				//ok; authorize array type
			}else{
				$returnValue = (string) $returnValue;
			}
		}
		
        

        return $returnValue;
    }
public function getAdaptersData($rowId, $cellValue = null, $evaluateData = true)
    {
        $returnValue = null;

        
		
		if($this->hasAdapter()){
			foreach($this->adapters as $adapter){
				if($adapter instanceof tao_helpers_grid_Cell_Adapter){
					$cellValue = $adapter->getValue($rowId, $this->id, $cellValue);
				}
			}
			$returnValue = $cellValue;
		}
		
		if($evaluateData){
			//allow returning to type "string" or "Grid" only
			if ($returnValue instanceof tao_helpers_grid_Grid) {
				$returnValue = $returnValue->toArray();
			} else if ($returnValue instanceof tao_helpers_grid_GridContainer) {
				$returnValue = $returnValue->toArray();
			} else if(is_array($returnValue)){
				//ok; authorize array type
			}else{
				$returnValue = (string) $returnValue;
			}
		}
		
        

        return $returnValue;
    }
public function getAdaptersData ( $ rowId , $ cellValue = null , $ evaluateData = true ) { $ returnValue = null ; if ( $ this -> hasAdapter ( ) ) { foreach ( $ this -> adapters as $ adapter ) { if ( $ adapter instanceof tao_helpers_grid_Cell_Adapter ) { $ cellValue = $ adapter -> getValue ( $ rowId , $ this -> id , $ cellValue ) ; } } $ returnValue = $ cellValue ; } if ( $ evaluateData ) { //allow returning to type "string" or "Grid" only if ( $ returnValue instanceof tao_helpers_grid_Grid ) { $ returnValue = $ returnValue -> toArray ( ) ; } else if ( $ returnValue instanceof tao_helpers_grid_GridContainer ) { $ returnValue = $ returnValue -> toArray ( ) ; } else if ( is_array ( $ returnValue ) ) { //ok; authorize array type } else { $ returnValue = ( string ) $ returnValue ; } } return $ returnValue ; }
Short description of method getAdaptersData

@access public
@author Somsack Sipasseuth, <somsack.sipasseuth@tudor.lu>
@param  string rowId
@param  string cellValue (tao_helpers_grid_Grid, tao_helpers_grid_GridContainer or string)
@param  bool evaluateData
@return mixed
Short description of method getAdaptersData