Commit eaa1ba02 by Qiang Xue

minor cs fixes.

parent 3ad7d6d3
......@@ -116,7 +116,8 @@ class Column extends Object
}
/**
* Get the raw data cell content.
* Returns the raw data cell content.
* This method is called by [[renderDataCellContent()]] when rendering the content of a data cell.
* @param mixed $model the data model
* @param mixed $key the key associated with the data model
* @param integer $index the zero-based index of the data model among the models array returned by [[GridView::dataProvider]].
......@@ -140,7 +141,7 @@ class Column extends Object
*/
protected function renderDataCellContent($model, $key, $index)
{
return ($this->content !== null) ? $this->getDataCellContent($model, $key, $index) : $this->grid->emptyCell;
return $this->content !== null ? $this->getDataCellContent($model, $key, $index) : $this->grid->emptyCell;
}
/**
......
......@@ -136,7 +136,7 @@ class DataColumn extends Column
}
/**
* Return raw content
* @inheritdoc
*/
protected function getDataCellContent($model, $key, $index)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment