Merge pull request #4995 from mikehaertl/master

[ci skip] Update docs for CheckboxColumn::$checkboxOptions
This commit is contained in:
Alexander Makarov
2014-09-12 13:06:49 +04:00

View File

@@ -44,7 +44,8 @@ class CheckboxColumn extends Column
*/ */
public $name = 'selection'; public $name = 'selection';
/** /**
* @var array HTML attributes for the checkboxes. * @var array|\Closure the HTML attributes for checkboxes. This can either be an array of
* attributes or an anonymous function ([[Closure]]) that returns such an array.
* @see \yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered. * @see \yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered.
*/ */
public $checkboxOptions = []; public $checkboxOptions = [];