Brandon Kelly
e6f5c46cdc
Fixes #15633 : Deprecate some things going away/changing in 2.1
...
- Deprecated `yii\base\BaseObject::className()` in favor of native PHP syntax `::class`, which does not trigger autoloading
- Deprecated XCache and Zend data cache support as caching backends
- Deprecated `yii\BaseYii::powered()` method
- Added `yii\base\InvalidArgumentException` and deprecated `yii\base\InvalidParamException`
- Added `yii\BaseYii::debug()` and deprecated `yii\BaseYii::trace()`
7 years ago
IceJOKER
01ff1f6593
Fixes #15142 : Fixed array params replacing in `yii\helpers\BaseUrl::current()`
7 years ago
Robert Korulczyk
59b635c2a6
Fixes #14921 : Fixed bug with replacing numeric keys in `yii\helpers\Url::current()`
7 years ago
Robert Korulczyk
5a8c3d537b
Enable `phpdoc_summary` rule in php-cs-fixer config ( #14675 )
...
* Enable `phpdoc_summary` rule in php-cs-fixer config.
* Fix case in "PHPDoc".
7 years ago
Robert Korulczyk
fe8a0a6a2e
Enable `no_useless_else` rule in php-cs-fixer ( #14420 )
7 years ago
Pavel Dovlatov
7e1a050a16
Fixes #13821 : fixed docs and added more tests for Url helper
8 years ago
Robert Korulczyk
8e0af24203
Fix protocol-relative URLs in `Url::to()` ( #13156 ) ( #13157 )
...
* Fix protocol-relative URLs in `Url::to()`
* Use `isRelative()` in `Url::to()`
8 years ago
Robert Korulczyk
2d91723934
Add support for creating protocol-relative URLs.
...
Improve phpdoc for protocol-relative URL creation.
Remove useless `is_string()` check.
8 years ago
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed `boolean` to `bool` and `integer` to `int` in phpdoc
8 years ago
Evgeniy Tkachenko
11d599704c
phpDoc: Url::previous() return null value ( #12625 )
8 years ago
Evgeniy Tkachenko
2365c77102
Fixes #12402 : Added clarification about array-parameters to phpdoc of Url::current() [skip ci]
8 years ago
Alexander Makarov
d3b5f4a284
Fixes #3656 : Encode / in "r" query parameter in docs as it really is
9 years ago
Carsten Brandt
191f2a4943
fixed phpdoc type names
9 years ago
Daniel Gomez Pan
8b0f28f780
Add @since [skip ci]
9 years ago
Alexander Makarov
1ec972fbf7
Fixes #10610 : Added `BaseUrl::$urlManager` to be able to set URL manager used for creating URLs
9 years ago
Alexander Makarov
1b3770fd21
Use === instead of == where possible
9 years ago
Qiang Xue
4ae7eb1819
Fixes #6697 .
10 years ago
Qiang Xue
59cc605ddd
Fixed version [skip ci]
10 years ago
Qiang Xue
52f4006c11
Fixed Url::current() implementation.
10 years ago
Alexander Makarov
9c7e4e514d
Fixes #6697 : Added `yii\helpers\Url::current()` method that allows adding or removing parameters from current URL
10 years ago
Qiang Xue
201043244d
doc fixes [skip ci]
10 years ago
Qiang Xue
cc3209cf26
Fixes #4502 : Added alias support to URL route when calling `Url::toRoute()` and `Url::to()`
10 years ago
Alexander Mohorev
bb8550886e
PHP type casting
10 years ago
Qiang Xue
f51a263570
new asset management WIP
10 years ago
Qiang Xue
1c3e61ec26
Fixes #4591 : `yii\helpers\Url::to()` will no longer prefix relative URLs with the base URL
10 years ago
Qiang Xue
e5a87af234
Fixes #4331 : `yii\helpers\Url` now uses `UrlManager` to determine base URL when generating URLs
10 years ago
Qiang Xue
24257e76c8
Fixes #3909 : `Html::to()` should not prefix base URL to URLs that already contain scheme
10 years ago
Carsten Brandt
4f9e4e2c78
ensure assetmanager and baseurl to handle relative urls correctly
11 years ago
Alexander Makarov
c7c708d454
Removed unused imports
11 years ago
Qiang Xue
0b29c9607d
fixed broken API links [skip ci]
11 years ago
Carsten Brandt
0b2aafc780
fixed private / self in helpers
...
fixes #2886
11 years ago
Carsten Brandt
94fb8672d1
fixed url helper to not prepend to relative URLs
11 years ago
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
11 years ago
Qiang Xue
6e8c460273
Fixes #2724 : consistent use of absolute and relative routes.
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Qiang Xue
252f49b97a
doc fixes.
11 years ago
Alexander Makarov
842e7eb573
Added tests, final Url helper adjustments
11 years ago
Alexander Makarov
bddad5280c
Combined $schema and $absolute into $schema
11 years ago
Alexander Makarov
577f8a5c50
Added separate schema and absolute parameters
11 years ago
Alexander Makarov
2b842ecc57
Moded URL management methods from controller to Url helper, updated docs
11 years ago
Alexander Makarov
1276970ce5
Made $url default consistent
11 years ago
Alexander Makarov
aeb25c39e1
Further adjustments for Url helper
11 years ago
Alexander Makarov
338bc86e6d
Fixed absolute URLs in Url::to
11 years ago
Alexander Makarov
67af6bc84a
Fixed inconsistent usage of getters
11 years ago
Alexander Makarov
cb5a889621
Fixed recursion
11 years ago
Alexander Makarov
5d6c314d4e
Adjusted URL helper, fixed usage
11 years ago
Alexander Makarov
92b381795b
Adjusted Url helper methods
11 years ago
Alexander Makarov
73b7e03ec3
Argument for Url::base is now optional
11 years ago
Alexander Makarov
8df9dddd70
Added Url::createAbsolute, adjusted signiatures
11 years ago
Alexander Makarov
2cd5f982fe
Renamed methods, added Url::getHome
11 years ago