1 | <?php |
||
22 | class UserListWidget extends Widget |
||
23 | { |
||
24 | /** |
||
25 | * @var ActiveDataProvider |
||
26 | */ |
||
27 | public $dataProvider; |
||
28 | /** |
||
29 | * @var array|null|string ActionColumn class configuration. Null if you do not need it. |
||
30 | * 'default' if you want to use the default configuration. |
||
31 | * Note: If you want to use your own ActionColumn class configuration, please do not |
||
32 | * forget to attach the 'class' key. |
||
33 | */ |
||
34 | public $actionColumn; |
||
35 | |||
36 | /** |
||
37 | * @var array|null Additional columns' configuration arrays. |
||
38 | * It will be appended after the existed columns. |
||
39 | * If you do not need additional columns, please set null. |
||
40 | */ |
||
41 | public $additionalColumns; |
||
42 | |||
43 | const ACTION_COLUMN_DEFAULT = 'default'; |
||
44 | |||
45 | /** |
||
46 | * @var array Column visibles. |
||
47 | */ |
||
48 | public $visible = [ |
||
49 | 'guid' => false, |
||
50 | ]; |
||
51 | |||
52 | /** |
||
53 | * @var boolean|array Tips. |
||
54 | * If you do not want to show tips, please set false. |
||
55 | * If you want to show default tips, please set true. |
||
56 | * If you want to show tips including default ones and your owns, please set an array contains all tip text. |
||
57 | */ |
||
58 | public $tips = true; |
||
59 | |||
60 | /** |
||
61 | * Initialize attributes. |
||
62 | */ |
||
63 | public function init() |
||
93 | |||
94 | /** |
||
95 | * Run action. |
||
96 | * @return string |
||
97 | */ |
||
98 | public function run() |
||
108 | } |
||
109 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.