protected function renderDataCellContent($row, $data)
	{
		$content = $this->emptyText;
		if ($this->imagePathExpression && $imagePath = $this->evaluateExpression(
			$this->imagePathExpression,
			array('row' => $row, 'data' => $data)
		)
		) {
			$this->imageOptions['src'] = $imagePath;
			$content = CHtml::tag('img', $this->imageOptions);
		} elseif ($this->usePlaceHoldIt && !empty($this->placeHoldItSize)) {
			$content = CHtml::tag(
				'img',
				array('src' => 'http://placehold.it/' . $this->placeHoldItSize)
			);
		} elseif ($this->usePlaceKitten && !empty($this->placeKittenSize)) {
			$content = CHtml::tag('img', array('src' => 'http://placekitten.com/' . $this->placeKittenSize));
		}
		echo $content;
	}
protected function renderDataCellContent($row, $data)
	{
		$content = $this->emptyText;
		if ($this->imagePathExpression && $imagePath = $this->evaluateExpression(
			$this->imagePathExpression,
			array('row' => $row, 'data' => $data)
		)
		) {
			$this->imageOptions['src'] = $imagePath;
			$content = CHtml::tag('img', $this->imageOptions);
		} elseif ($this->usePlaceHoldIt && !empty($this->placeHoldItSize)) {
			$content = CHtml::tag(
				'img',
				array('src' => 'http://placehold.it/' . $this->placeHoldItSize)
			);
		} elseif ($this->usePlaceKitten && !empty($this->placeKittenSize)) {
			$content = CHtml::tag('img', array('src' => 'http://placekitten.com/' . $this->placeKittenSize));
		}
		echo $content;
	}
protected function renderDataCellContent ( $ row , $ data ) { $ content = $ this -> emptyText ; if ( $ this -> imagePathExpression && $ imagePath = $ this -> evaluateExpression ( $ this -> imagePathExpression , array ( 'row' => $ row , 'data' => $ data ) ) ) { $ this -> imageOptions [ 'src' ] = $ imagePath ; $ content = CHtml :: tag ( 'img' , $ this -> imageOptions ) ; } elseif ( $ this -> usePlaceHoldIt && ! empty ( $ this -> placeHoldItSize ) ) { $ content = CHtml :: tag ( 'img' , array ( 'src' => 'http://placehold.it/' . $ this -> placeHoldItSize ) ) ; } elseif ( $ this -> usePlaceKitten && ! empty ( $ this -> placeKittenSize ) ) { $ content = CHtml :: tag ( 'img' , array ( 'src' => 'http://placekitten.com/' . $ this -> placeKittenSize ) ) ; } echo $ content ; }
Renders the data cell content

@param int $row the row number (zero based)
@param mixed $data teh data associated with the row
Renders the data cell content