Wilmer Arambula
f66d5c8864
Fixed error PHPCS lasted version in PHP 8.5. ( #20721 )
2026-01-27 05:53:03 -03:00
Alexander Makarov
1389aacf03
release version 2.0.54
2026-01-10 01:24:11 +03:00
Maksim Spirkov
33bcf7fffa
Fix PHPStan errors ( #20609 )
2025-10-14 19:30:00 +03:00
Maksim Spirkov
c82da8dc82
Add visibility for all class elements ( #20557 )
2025-10-02 01:27:23 +03:00
Maksim Spirkov
53256fdd24
Fix #20513 : Fix code examples in PHPDoc
2025-09-06 00:22:56 +03:00
Wilmer Arambula
a6257d8f46
Fix #20226 : Revert all PR for "Data providers perform unnecessary COUNT queries that negatively affect performance"
2024-07-12 08:48:58 +03:00
Alex
3fa2d61e54
Fix #20175 : Fix bad result for pagination when used with GridView
2024-06-08 10:29:40 +03:00
Alexander Makarov
52e4a3e645
release version 2.0.50
2024-05-30 20:23:31 +03:00
Razvan Grigore
e2a167028b
Upgrade to PSR12 coding standard ( #20121 )
2024-03-19 17:21:27 +03:00
Allan
e8bf240c80
Small update in language ( #19769 )
...
* Use correct English terms
* Use a better word
2023-02-20 08:07:38 +01:00
Bizley
161526cd41
HTTPS everywhere ( #19503 )
2022-08-03 12:32:18 +03:00
Brandon Kelly
a87c02c712
Fix more types ( #19333 )
...
* Migration::upsert() returns void
* Unneeded `@property` tags
* Add missing `null` param/return types
* Null types for db\Query + db\ActiveQuery
* Fixed testSelect
* Null types for Validator
* Several more null types
* One more
* Make AccessRule::$allow always a boolean
It doesn't have any special null handling, so it's safe to default to false
* Validator::$skipOnEmpty is always a boolean
* Catch all throwable from Widget::widget()
* Don't limit $previous args to \Exception
The actual \Exception allows $previous to be any throwable in PHP 7+
* Add Throwable catch block to Instance::get()
* Throwable cleanup
Comment changes only.
- Document \Throwable instead of \Exception wherever appropriate
- Removed redundant exception/error classes when \Throwable is referenced
* Yii::setlogger() accepts null
* ArrayHelper::removeValue() can remove any type of value
* Change default $allow value to false
2022-04-03 11:20:21 +02:00
Brandon Kelly
4628b91e73
Fix types ( #19332 )
...
* Migration::upsert() returns void
* Unneeded `@property` tags
* Add missing `null` param/return types
* Null types for db\Query + db\ActiveQuery
* Fixed testSelect
2022-03-30 18:40:10 +02:00
Alexander Makarov
655786b7ed
release version 2.0.44
2021-12-30 10:50:56 +03:00
Dmitry Eliseev
4479c66522
Fixed phpdoc types
2021-03-12 23:41:48 +03:00
Alexander Makarov
ccb14ff667
release version 2.0.39
2020-11-10 13:58:35 +03:00
Bizley
67728476ec
Fix #16418 : Fixed yii\data\Pagination::getLinks() to return links to the first and the last pages regardless of the current page
2020-09-21 00:18:52 +03:00
tsvetiligo
2d15c484ef
Fix #17961 : Fix pagination pageSizeLimit ignore if set as array with more then 2 elements
2020-05-02 12:03:01 +03:00
Alexander Makarov
26789ed04e
Fixes #17093 by reverting #16891 ( #17154 )
2019-02-23 00:29:20 +03:00
taobig
e1623868f9
Fixes #16891 : Fixed Pagination::totalCount initialized incorrectly
2019-01-01 13:24:14 -05:00
Carsten Brandt
69673c0c94
Rename Object -> BaseObject for PHP 7.2 compatibility
...
issue #7936
2017-07-19 10:51:46 +02:00
Robert Korulczyk
fe8a0a6a2e
Enable no_useless_else rule in php-cs-fixer ( #14420 )
2017-07-10 11:26:21 +03:00
Carsten Brandt
c19b2f7dc8
release version 2.0.11
2017-02-01 17:46:29 +01:00
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed boolean to bool and integer to int in phpdoc
2016-11-07 02:51:39 +03:00
Boudewijn Vahrmeijer
32f4dc8997
Fixes #5385 : links created from classes to corresponding guide articles ( #12920 )
2016-11-04 18:55:14 +03:00
Lanrik
333c4b6b4f
Remove unnecessary comparsion ( #12833 )
...
* Remove unnecessary comparsion
* Clarify condition
2016-10-27 10:06:39 +02:00
Roman Grinyov
6bffb78391
Added public keyword to example ( #12789 ) [skip ci]
2016-10-20 00:39:57 +03:00
Evgeniy Tkachenko
f6094ee519
Update Pagination.php ( #11343 )
2016-04-13 13:01:46 +03:00
SilverFire - Dmitry Naumenko
cd87d67f34
Global DOCS update: ~~~ replaced with ```
2015-12-02 23:15:28 +02:00
Qiang Xue
985119350b
2.0.3 release.
2015-03-01 01:22:44 -05:00
Alexander Makarov
6481d13494
Optimized checks order in conditions
2015-02-08 17:56:36 +03:00
Qiang Xue
54e35baa1b
Fixes #7074 : yii\data\ArrayDataProvider did not correctly handle the case Pagination::pageSize = 0
2015-01-29 13:27:47 -05:00
Qiang Xue
65edc03b49
Fixes #5127 .
2014-09-22 08:27:04 -04:00
Qiang Xue
6230aa7523
minor fix. [skip ci]
2014-09-17 11:19:28 -04:00
Qiang Xue
a3cfafc761
Fixes #5058 : Added $pageSize parameter to Pagination::createUrl() to allow creating URLs with arbitrary page sizes
2014-09-17 11:14:05 -04:00
Carsten Brandt
3a1e0f3a5c
property codestyle framework
2014-07-30 00:21:31 +02:00
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
2014-03-23 20:51:09 +01:00
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
Carsten Brandt
40cb98bb02
updated @property annotations
2014-03-11 16:21:25 +01:00
Qiang Xue
fad635440b
Fixes #2655 : Arrayable and ArrayableTrait are incompatible for some PHP versions.
2014-03-07 19:08:27 -05:00
Qiang Xue
3f42d5826a
REST wip.
2014-03-05 13:29:24 -05:00
Qiang Xue
a8c7d36c02
Finished HATEOAS support.
2014-03-03 14:58:37 -05:00
Qiang Xue
8e8bbf4ed1
Improved page size and page number validation.
2014-02-27 20:55:48 -05:00
Qiang Xue
5d0ec52a52
Added support for reading page size from query parameters by Pagination
2014-02-27 20:01:09 -05:00
Qiang Xue
f2a3dafb21
Added Pagination::getLinks()
2014-02-27 15:38:31 -05:00
Alexander Makarov
43c17d99cc
Fixes #2426 : Changed URL creation method signatures to be consistent
2014-02-20 20:10:33 +04:00
Qiang Xue
26cb7b2a3c
Renamed fooVar to fooParam for various classes.
2014-02-15 18:18:27 -05:00
Carsten Brandt
262189533a
huge amount of documentation link fixes
2014-01-28 17:54:40 +01:00
Carsten Brandt
0d669f5e6b
refactored params methods in Request
...
issue #2043
2014-01-21 15:04:43 +01:00
Carsten Brandt
ed14eaaae5
added docs about # link to sort and paginiation
...
fixes #2072
2014-01-20 14:33:04 +01:00