@@ -21,27 +21,27 @@ |
||
| 21 | 21 | |
| 22 | 22 | |
| 23 | 23 | /** |
| 24 | - * Render table element |
|
| 25 | - * |
|
| 26 | - * How to use $elements: |
|
| 27 | - * array( |
|
| 28 | - * array( // row |
|
| 29 | - * 'cells'=>array( // cell |
|
| 30 | - * 'value'=>'text', |
|
| 31 | - * 'attributes'=>[] |
|
| 32 | - * ), |
|
| 33 | - * attributes'=>[] |
|
| 34 | - * ) |
|
| 35 | - * ) |
|
| 36 | - * |
|
| 37 | - * @access public |
|
| 38 | - * |
|
| 39 | - * @param array $elements table elements |
|
| 40 | - * @param array $attributes attributes tag |
|
| 41 | - * |
|
| 42 | - * @return string |
|
| 43 | - * @static |
|
| 44 | - */ |
|
| 24 | + * Render table element |
|
| 25 | + * |
|
| 26 | + * How to use $elements: |
|
| 27 | + * array( |
|
| 28 | + * array( // row |
|
| 29 | + * 'cells'=>array( // cell |
|
| 30 | + * 'value'=>'text', |
|
| 31 | + * 'attributes'=>[] |
|
| 32 | + * ), |
|
| 33 | + * attributes'=>[] |
|
| 34 | + * ) |
|
| 35 | + * ) |
|
| 36 | + * |
|
| 37 | + * @access public |
|
| 38 | + * |
|
| 39 | + * @param array $elements table elements |
|
| 40 | + * @param array $attributes attributes tag |
|
| 41 | + * |
|
| 42 | + * @return string |
|
| 43 | + * @static |
|
| 44 | + */ |
|
| 45 | 45 | public static function table(array $elements = [], array $attributes = []) |
| 46 | 46 | { |
| 47 | 47 | $output = null; |