|
|
@ -32,13 +32,13 @@ use yii\helpers\Console; |
|
|
|
* or |
|
|
|
* or |
|
|
|
* |
|
|
|
* |
|
|
|
* ```php |
|
|
|
* ```php |
|
|
|
* echo Table::widget( |
|
|
|
* echo Table::widget([ |
|
|
|
* 'headers' => ['test1', 'test2', 'test3'], |
|
|
|
* 'headers' => ['test1', 'test2', 'test3'], |
|
|
|
* 'rows' => [ |
|
|
|
* 'rows' => [ |
|
|
|
* ['col1', 'col2', 'col3'], |
|
|
|
* ['col1', 'col2', 'col3'], |
|
|
|
* ['col1', 'col2', ['col3-0', 'col3-1', 'col3-2']], |
|
|
|
* ['col1', 'col2', ['col3-0', 'col3-1', 'col3-2']], |
|
|
|
* ], |
|
|
|
* ], |
|
|
|
* ); |
|
|
|
* ]); |
|
|
|
* |
|
|
|
* |
|
|
|
* @author Daniel Gomez Pan <pana_1990@hotmail.com> |
|
|
|
* @author Daniel Gomez Pan <pana_1990@hotmail.com> |
|
|
|
* @since 2.0.13 |
|
|
|
* @since 2.0.13 |
|
|
|