mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
huge amount of documentation link fixes
This commit is contained in:
@ -72,7 +72,7 @@ class Column extends Object
|
||||
* Renders a data cell.
|
||||
* @param mixed $model the data model being rendered
|
||||
* @param mixed $key the key associated with the data model
|
||||
* @param integer $index the zero-based index of the data item among the item array returned by [[dataProvider]].
|
||||
* @param integer $index the zero-based index of the data item among the item array returned by [[GridView::dataProvider]].
|
||||
* @return string the rendering result
|
||||
*/
|
||||
public function renderDataCell($model, $key, $index)
|
||||
@ -119,7 +119,7 @@ class Column extends Object
|
||||
* Renders the data cell content.
|
||||
* @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 [[dataProvider]].
|
||||
* @param integer $index the zero-based index of the data model among the models array returned by [[GridView::dataProvider]].
|
||||
* @return string the rendering result
|
||||
*/
|
||||
protected function renderDataCellContent($model, $key, $index)
|
||||
|
@ -35,8 +35,8 @@ class DataColumn extends Column
|
||||
* @var string label to be displayed in the [[header|header cell]] and also to be used as the sorting
|
||||
* link label when sorting is enabled for this column.
|
||||
* If it is not set and the models provided by the GridViews data provider are instances
|
||||
* of [[yii\db\ActiveRecord]], the label will be determined using [[yii\db\ActiveRecord::getAttributeLabel()]].
|
||||
* Otherwise [[yii\helpers\Inflector::camel2words()]] will be used to get a label.
|
||||
* of [[\yii\db\ActiveRecord]], the label will be determined using [[\yii\db\ActiveRecord::getAttributeLabel()]].
|
||||
* Otherwise [[\yii\helpers\Inflector::camel2words()]] will be used to get a label.
|
||||
*/
|
||||
public $label;
|
||||
/**
|
||||
@ -60,7 +60,7 @@ class DataColumn extends Column
|
||||
public $enableSorting = true;
|
||||
/**
|
||||
* @var array the HTML attributes for the link tag in the header cell
|
||||
* generated by [[Sort::link]] when sorting is enabled for this column.
|
||||
* generated by [[\yii\data\Sort::link]] when sorting is enabled for this column.
|
||||
*/
|
||||
public $sortLinkOptions = [];
|
||||
/**
|
||||
|
Reference in New Issue
Block a user