"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "framework/console/widgets/Table.php" between
yii2-2.0.36.tar.gz and yii2-2.0.37.tar.gz

About: Yii 2 is a high-performance component-based PHP framework for developing large-scale Web applications (source).

Table.php  (yii2-2.0.36):Table.php  (yii2-2.0.37)
skipping to change at line 43 skipping to change at line 43
* *
* ```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']],
* ], * ],
* ]); * ]);
* *
* @property string $listPrefix List prefix. This property is write-only.
* @property int $screenWidth Screen width. This property is write-only.
*
* @author Daniel Gomez Pan <pana_1990@hotmail.com> * @author Daniel Gomez Pan <pana_1990@hotmail.com>
* @since 2.0.13 * @since 2.0.13
*/ */
class Table extends Widget class Table extends Widget
{ {
const DEFAULT_CONSOLE_SCREEN_WIDTH = 120; const DEFAULT_CONSOLE_SCREEN_WIDTH = 120;
const CONSOLE_SCROLLBAR_OFFSET = 3; const CONSOLE_SCROLLBAR_OFFSET = 3;
const CHAR_TOP = 'top'; const CHAR_TOP = 'top';
const CHAR_TOP_MID = 'top-mid'; const CHAR_TOP_MID = 'top-mid';
const CHAR_TOP_LEFT = 'top-left'; const CHAR_TOP_LEFT = 'top-left';
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)