Commit Graph

111 Commits

Author SHA1 Message Date
Alexander Makarov
5c4e2d4372 Removed unnecessary parentheses 2016-02-16 14:08:43 +03:00
Alexander Makarov
97bc4e0567 Fixed wrong case in method calls 2016-02-16 13:53:53 +03:00
Daniel Gomez Pan
e630072408 Add phpdoc [skip ci] 2016-01-26 18:01:17 +01:00
SilverFire - Dmitry Naumenko
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
Vit S
bdddcc54ad code review fixes 2016-01-25 22:56:44 +03:00
Vit S
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
SilverFire - Dmitry Naumenko
6bff405287 Code style minor fix 2016-01-17 12:31:52 +02:00
SilverFire - Dmitry Naumenko
32c560e629 Merge branch 'master' into gridview-checkboxcolumn 2016-01-17 12:30:43 +02:00
SilverFire - Dmitry Naumenko
eda1e7b027 Fixed yii\grid\GridView::guessColumns() to work with numeric column names
Closes #10580
2016-01-15 13:35:08 +02:00
freezy
b6254dd68b Fixes #10056: Allowed any callable to be passed to ActionColumn::$urlCreator 2015-10-30 22:37:23 +03:00
Alexander Makarov
1b3770fd21 Use === instead of == where possible 2015-10-10 01:04:35 +03:00
Alexander Makarov
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
Vit S
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
Alexey Rogachev
ad69fb9c7e Closed #9635: Added default CSS class for \yii\grid\ActionColumn header 2015-09-10 18:01:30 +06:00
Vit S
dacd9cdcd4 add buttonsVisible suggestion (issue #9198) 2015-07-24 22:57:54 +04:00
Carsten Brandt
1ea1cacc11 improved GridView docs about empty cell
fixes #9159
2015-07-22 08:35:41 +02:00
maks feltrin
d613719298 Update ActionColumn.php 2015-06-15 01:34:35 +02:00
Alexander Mohorev
afe21a986a PSR-2 anonymous functions 2015-06-09 00:14:44 +03:00
Qiang Xue
78d3a856d3 Added Json::htmlEncode() to support safer JSON data encoding in HTML code 2015-05-09 23:38:17 -04:00
Qiang Xue
fdb730a12a syntax fix [skip ci] 2015-04-10 21:51:33 -04:00
Aleksey Loban
af202f1ad8 Fixes #7912: Added aria-label to ActionColumn buttons 2015-03-30 19:08:44 +03:00
Carsten Brandt
d33e75a7fd possible fix for gridview checkall name
https://github.com/yiisoft/yii/issues/3810
2015-03-20 17:55:46 +01:00
Carsten Brandt
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
Carsten Brandt
cd0093f7bd rework grid/list/detail view guide and docs 2015-03-06 07:43:00 +01:00
Ivan Yakovlev
dec4a4f239 Fixes #7008: Removed extra white space in GridView filter cell 2015-01-31 00:31:14 +03:00
caboosesw
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
Carsten Brandt
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
Alexander Kochetov
9ee3627891 \yii\grid\ActionColumn better phpDoc. 2014-12-19 15:39:16 +03:00
Alexander Kochetov
98d4650f12 \yii\grid\ActionColumn better phpDoc. 2014-12-19 14:51:57 +03:00
Alexander Makarov
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
Alexander Kochetov
267da3cc3f \yii\grid\ActionColumn incomplete anonymous functions signature fix. 2014-12-19 09:26:58 +03:00
Carsten Brandt
eeb4e29d55 improve gridview phpdoc 2014-12-17 09:18:00 +01:00
Alexander Makarov
ebdd56f0db Changed #4277 behavior 2014-11-27 20:42:31 +03:00
Alexander Makarov
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
Qiang Xue
de8966079f Fixes #5367: Added yii\grid\DataColumn::encodeLabel 2014-11-13 21:28:47 -05:00
Serge Postrash
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
Alexander Mohorev
899b778994 Correct type declarations 2014-10-25 16:35:50 +03:00
Alexander Mohorev
bb8550886e PHP type casting 2014-10-25 15:30:03 +03:00
Alexander Makarov
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
Qiang Xue
be2828d593 Fixes #5484: Fixed potential string suffix detection failure on 5.5.11 2014-10-11 09:35:55 -04:00
Michael Härtl
e28edb3ed1 Improve docs for CheckboxColumn::$checkboxOptions 2014-09-12 11:01:00 +02:00
Carsten Brandt
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
Carsten Brandt
d82195706f UPGRADE and CHANGELOG notes for the Formatter changes 2014-09-10 17:56:25 +02:00
disem
5c79ab202c Added key param to ActionColumn button Closure
fixes #4602, close #4624
2014-08-06 22:30:35 +02:00
Carsten Brandt
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
Alexander Makarov
07f01bcf2b Used substr_compare instead of substr when we don't care about result 2014-07-23 16:37:49 +04:00
Carsten Brandt
085f2c0142 gridview and listview use widget ID in base tag 2014-06-27 20:26:26 +02:00
Carsten Brandt
1c1dcc2c15 fixed gridview documentation
fixes #4045
2014-06-25 18:33:50 +02:00
Alexander Makarov
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00