mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-15 22:09:48 +08:00
Merge pull request #10670 from pana1990/update-docs
Add phpdoc [skip ci]
This commit is contained in:
@@ -52,7 +52,7 @@ class ActionColumn extends Column
|
|||||||
*
|
*
|
||||||
* As an example, to only have the view, and update button you can add the ActionColumn to your GridView columns as follows:
|
* As an example, to only have the view, and update button you can add the ActionColumn to your GridView columns as follows:
|
||||||
*
|
*
|
||||||
* ```
|
* ```php
|
||||||
* ['class' => 'yii\grid\ActionColumn', 'template' => '{view} {update}'],
|
* ['class' => 'yii\grid\ActionColumn', 'template' => '{view} {update}'],
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
@@ -103,6 +103,7 @@ class ActionColumn extends Column
|
|||||||
* 'update' => \Yii::$app->user->can('update'),
|
* 'update' => \Yii::$app->user->can('update'),
|
||||||
* ],
|
* ],
|
||||||
* ```
|
* ```
|
||||||
|
* @since 2.0.7
|
||||||
*/
|
*/
|
||||||
public $visibleButtons = [];
|
public $visibleButtons = [];
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user