Browse Source

Adjust doc

tags/2.0.0-beta
Thiago Talma 11 years ago
parent
commit
f906b3a10b
  1. 3
      framework/grid/DataColumn.php

3
framework/grid/DataColumn.php

@ -40,7 +40,8 @@ class DataColumn extends Column
*/
public $label;
/**
* @var \Closure an anonymous function that returns the value to be displayed for every data model.
* @var string|\Closure the attribute name to be displayed in this column or an anonymous function that returns
* the value to be displayed for every data model.
* The signature of this function is `function ($model, $index, $widget)`.
* If this is not set, `$model[$attribute]` will be used to obtain the value.
*/

Loading…
Cancel
Save