Commit 2081d0e8 by Carsten Brandt

Merge pull request #6587 from creocoder/yii-grid-action-column-php-doc

\yii\grid\ActionColumn better phpDoc.
parents 0e7652b6 9ee36278
......@@ -21,7 +21,7 @@ use yii\helpers\Url;
* 'columns' => [
* // ...
* [
* 'class' => 'yii\grid\ActionColumn',
* 'class' => ActionColumn::className(),
* // you may configure additional properties here
* ],
* ]
......@@ -68,7 +68,7 @@ class ActionColumn extends Column
* ```php
* [
* 'update' => function ($url, $model, $key) {
* return $model->status == 'editable' ? Html::a('Update', $url) : '';
* return $model->status === 'editable' ? Html::a('Update', $url) : '';
* };
* ],
* ```
......@@ -92,7 +92,7 @@ class ActionColumn extends Column
}
/**
* Initializes the default button rendering callbacks
* Initializes the default button rendering callbacks.
*/
protected function initDefaultButtons()
{
......
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