Bizley
ae82b58d85
Fix #18909 : Fix bug with binding default action parameters for controllers
3 years ago
Bizley
ea60fba0ae
Fix yii\base\Controller::bindInjectedParams() to not throw error when argument of `ReflectionUnionType` type is passed ( #18869 )
3 years ago
Pigo
14a581562a
Fix #18566 : Throw the original exception when `yii\web\Controller::bindInjectedParams()` catches HttpException
4 years ago
Bizley
d610853fdf
Fix #18450 : Allow empty string to be passed as a nullable typed argument to a controller's action
4 years ago
Alexander Makarov
835971c6f6
Fix Controller phpdoc annotations
4 years ago
Sergei Predvoditelev
306171b582
Add phpdoc for properties "request" and "response" in web and console controllers ( #18361 )
4 years ago
Alex
1d7baabab5
Fix #18297 : Replace usage of deprecated `ReflectionParameter::isArray()` method in PHP8
4 years ago
Alexander Makarov
dab7a6c317
Update phpdoc
4 years ago
Brandon Kelly
fc4f449e21
Fix #18083 : Add `Controller::$request` and `$response`
4 years ago
Sam
4ea484ca68
Fix #17722 : Add action injection support
4 years ago
Alex
4b6d3c0290
Fix #17929 : Actions can now have bool typed params bound
5 years ago
Alexander Makarov
69b1966b4a
PHP 7.4 fixes
...
- Fix `Model::activeAttributes()` to access array offset on value of non-string
- Fix incorrect decoding of default binary value for PostgreSQL
- Fix incorrect type-casting of reflection type to string
5 years ago
Brandon Kelly
40797c1139
Fix #17701 : Throw `BadRequetHttpException` when request params can’t be bound to `bool`, `int`, and `float` controller action arguments
5 years ago
Carsten Brandt
c82aedb86d
add a comment to explain why Url::to() is called in Controller::redirect()
...
close #16887
6 years ago
Klimov Paul
65f6b59b35
`@inheritdoc` notation changed
7 years ago
Robert Korulczyk
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
7 years ago
Alexander Makarov
d38908fc13
Fixed #14469 : updated RFC links
7 years ago
micro-maureen
8eabff0698
#13975 : make documentation of current behaviour more clear [skip ci]
8 years ago
Nikolay Oleynikov
323568c2e9
Remove trailing spaces from sources and tests ( #13621 ) [skip ci]
8 years ago
Alexander Makarov
eab3489ec7
Reverted #13393 : Removed redundant call to `yii\helpers\Url::to()` in `yii\web\Controller::redirect()` (reverted from commit e5d169beb8
)
8 years ago
Vladimir Kuprienko
e5d169beb8
Fixes #13393 : Removed redundant call to `yii\helpers\Url::to()` in `yii\web\Controller::redirect()`
8 years ago
Carsten Brandt
081ee7c5b1
Implemented shortcut methods for returning JSON and XML ( #13101 )
...
fixes #13036
8 years ago
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed `boolean` to `bool` and `integer` to `int` in phpdoc
8 years ago
Boudewijn Vahrmeijer
32f4dc8997
Fixes #5385 : links created from classes to corresponding guide articles ( #12920 )
8 years ago
Carsten Brandt
79a4241fff
fixed rest controller PHPdoc
...
fixes #11215
9 years ago
Carsten Brandt
42b8569846
Revert DI injection via controller action method signature
...
reverts b7020065c
and related commits.
reverts implementation of #9476
For reasons, see discussion https://github.com/yiisoft/yii2/issues/9476#issuecomment-179749039
9 years ago
kidol
4bc2eb7945
Fixes controller DI
9 years ago
jeicd
0407407b76
fix coding style to follow PSR-2
9 years ago
mdmunir
b7020065c8
Fixes #9476 : Added DI injection via controller action method signature
9 years ago
╃巡洋艦㊣
586684b050
2.0.5 bf7edc5
9 years ago
Alexander Mohorev
ae42a054bb
PSR-2 spaces, commas, etc
9 years ago
Mike Grigorieff
32bc19ae9b
Updated web/Controller.php, simplified code design
...
close #8387
10 years ago
Alexander Makarov
af7ae33d5b
Use (array) cast instead of !is_array check for both readability and performance
10 years ago
╃巡洋艦㊣
1468bd4d3d
version 2.0.1 84b42ab
10 years ago
Alexander Mohorev
f1edafffaf
PHPDoc comment doesn't contain all necessary @throws tag
...
close #5762
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Carsten Brandt
3a1e0f3a5c
property codestyle framework
10 years ago
Carsten Brandt
4717571e22
improved docs about goBack()
...
fixes #4343
10 years ago
Alexandr
a07b4afea6
Update Controller.php
11 years ago
Qiang Xue
0b29c9607d
fixed broken API links [skip ci]
11 years ago
Carsten Brandt
d4ad533d48
moved error handling related methods from app to errorhandler
11 years ago
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Alexander Makarov
7a3fd41afc
Fixes #2701
11 years ago
Christophe BOULAIN
ca3b2cd057
Fix some references to removed Html::url in phpdoc
11 years ago
Alexander Makarov
2b842ecc57
Moded URL management methods from controller to Url helper, updated docs
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
3400eb5215
#2630 : `yii\heplers\Html::url` moved to new `yii\helpers\Url::create`
11 years ago
Alexander Makarov
6a1816a94e
Allow using string for URL in case there are no parameters
11 years ago