112 Commits

Author SHA1 Message Date
191f2a4943 fixed phpdoc type names 2016-02-25 20:24:32 +01:00
5c4e2d4372 Removed unnecessary parentheses 2016-02-16 14:08:43 +03:00
97bc4e0567 Fixed wrong case in method calls 2016-02-16 13:53:53 +03:00
e630072408 Add phpdoc [skip ci] 2016-01-26 18:01:17 +01:00
275a7827c3 ActionColumn::visibleButtins() - changed PHPDoc wording 2016-01-26 10:17:16 +02:00
Vit
f17a881539 fix typo 2016-01-26 10:29:32 +03:00
bdddcc54ad code review fixes 2016-01-25 22:56:44 +03:00
c6c765b014 Merge branches '9198-buttons-visible-in-action-column' and 'master' of github.com:fornit1917/yii2 into 9198-buttons-visible-in-action-column 2016-01-25 21:28:54 +03:00
6bff405287 Code style minor fix 2016-01-17 12:31:52 +02:00
32c560e629 Merge branch 'master' into gridview-checkboxcolumn 2016-01-17 12:30:43 +02:00
eda1e7b027 Fixed yii\grid\GridView::guessColumns() to work with numeric column names
Closes #10580
2016-01-15 13:35:08 +02:00
b6254dd68b Fixes #10056: Allowed any callable to be passed to ActionColumn::$urlCreator 2015-10-30 22:37:23 +03:00
1b3770fd21 Use === instead of == where possible 2015-10-10 01:04:35 +03:00
5ab4f0f090 Better quotes usage in strings
- Use single quote where interpolation isn't necessary
- Use interpolation when it's better than concatenation
2015-10-10 00:23:52 +03:00
88612a49b4 Merge branches '9198-buttons-visible-in-action-column' and 'master' of github.com:fornit1917/yii2 into 9198-buttons-visible-in-action-column
Conflicts:
	framework/CHANGELOG.md
2015-10-05 22:16:21 +03:00
ad69fb9c7e Closed #9635: Added default CSS class for \yii\grid\ActionColumn header 2015-09-10 18:01:30 +06:00
dacd9cdcd4 add buttonsVisible suggestion (issue #9198) 2015-07-24 22:57:54 +04:00
1ea1cacc11 improved GridView docs about empty cell
fixes #9159
2015-07-22 08:35:41 +02:00
d613719298 Update ActionColumn.php 2015-06-15 01:34:35 +02:00
afe21a986a PSR-2 anonymous functions 2015-06-09 00:14:44 +03:00
78d3a856d3 Added Json::htmlEncode() to support safer JSON data encoding in HTML code 2015-05-09 23:38:17 -04:00
fdb730a12a syntax fix [skip ci] 2015-04-10 21:51:33 -04:00
af202f1ad8 Fixes #7912: Added aria-label to ActionColumn buttons 2015-03-30 19:08:44 +03:00
d33e75a7fd possible fix for gridview checkall name
https://github.com/yiisoft/yii/issues/3810
2015-03-20 17:55:46 +01:00
26392372c0 added ActionColumn::$buttonOptions
allows for configuration of the default buttons like this:

```php
[
	'class' => ActionColumn::className(),
	'template' => '<div class="btn-group text-center">{view} {update} {delete}</div>',
	'buttonOptions' => [
		'class' => 'btn btn-default btn-xs',
	],
],
```

close #7633
2015-03-08 23:23:39 +01:00
cd0093f7bd rework grid/list/detail view guide and docs 2015-03-06 07:43:00 +01:00
dec4a4f239 Fixes #7008: Removed extra white space in GridView filter cell 2015-01-31 00:31:14 +03:00
f83ad4a05e Update ActionColumn.php
Added content to give a clear example to those that don't intuitively know how to set the template property using array notation.

close #6811
2015-01-10 15:20:40 +01:00
2081d0e80c Merge pull request #6587 from creocoder/yii-grid-action-column-php-doc
\yii\grid\ActionColumn better phpDoc.
2014-12-19 13:41:34 +01:00
9ee3627891 \yii\grid\ActionColumn better phpDoc. 2014-12-19 15:39:16 +03:00
98d4650f12 \yii\grid\ActionColumn better phpDoc. 2014-12-19 14:51:57 +03:00
0e7652b67f Merge pull request #6584 from creocoder/yii-grid-action-column-incomplete-signature-fixes
\yii\grid\ActionColumn incomplete anonymous functions signature fix
2014-12-19 12:32:25 +03:00
267da3cc3f \yii\grid\ActionColumn incomplete anonymous functions signature fix. 2014-12-19 09:26:58 +03:00
eeb4e29d55 improve gridview phpdoc 2014-12-17 09:18:00 +01:00
ebdd56f0db Changed #4277 behavior 2014-11-27 20:42:31 +03:00
af50f5a290 Fixes #4277: yii\grid\GridView is no longer throwing an exception in non-debug mode when results are empty and columns aren't defined 2014-11-27 13:47:40 +03:00
de8966079f Fixes #5367: Added yii\grid\DataColumn::encodeLabel 2014-11-13 21:28:47 -05:00
c6cb205653 Added encodeLabel param to \yii\grid\DataColumn
Use case:

```
    echo GridView::widget([
        ...
        'columns' => [
            ...
            [
                'attribute' => 'created_at',
                'label' => '<span data-toggle="tooltip" class="glyphicon glyphicon-time" title="'.Yii::t('app', 'Created At').'"></span>',
                'encodeLabel' => false,
                ...
            ],
```
2014-11-13 21:26:39 -05:00
899b778994 Correct type declarations 2014-10-25 16:35:50 +03:00
bb8550886e PHP type casting 2014-10-25 15:30:03 +03:00
48ec791e4a Fixes #5587: json_encode is now used with JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE where it makes sense, also it is now default for Json::encode() 2014-10-19 18:50:46 +04:00
be2828d593 Fixes #5484: Fixed potential string suffix detection failure on 5.5.11 2014-10-11 09:35:55 -04:00
e28edb3ed1 Improve docs for CheckboxColumn::$checkboxOptions 2014-09-12 11:01:00 +02:00
b5af2f6ab3 fixed size format plural rule to not format number itself
This fix ensures the format configured in the formatter class is used in the message instead
of the default ICU format.

fixes #4960
2014-09-10 21:53:29 +02:00
d82195706f UPGRADE and CHANGELOG notes for the Formatter changes 2014-09-10 17:56:25 +02:00
5c79ab202c Added key param to ActionColumn button Closure
fixes #4602, close #4624
2014-08-06 22:30:35 +02:00
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
07f01bcf2b Used substr_compare instead of substr when we don't care about result 2014-07-23 16:37:49 +04:00
085f2c0142 gridview and listview use widget ID in base tag 2014-06-27 20:26:26 +02:00
1c1dcc2c15 fixed gridview documentation
fixes #4045
2014-06-25 18:33:50 +02:00