From e28edb3ed12a2da9a1a9a4d820a99e3ea03ce2c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20H=C3=A4rtl?= Date: Fri, 12 Sep 2014 11:01:00 +0200 Subject: [PATCH] Improve docs for CheckboxColumn::$checkboxOptions --- framework/grid/CheckboxColumn.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/framework/grid/CheckboxColumn.php b/framework/grid/CheckboxColumn.php index 94035deec9..17cbedcb8d 100644 --- a/framework/grid/CheckboxColumn.php +++ b/framework/grid/CheckboxColumn.php @@ -44,7 +44,8 @@ class CheckboxColumn extends Column */ 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. */ public $checkboxOptions = [];