fc4f449e21
Fix #18083 : Add Controller::$request and $response
2020-06-14 21:19:27 +03:00
4ea484ca68
Fix #17722 : Add action injection support
2020-06-12 10:06:18 +03:00
4b6d3c0290
Fix #17929 : Actions can now have bool typed params bound
2020-03-24 18:44:43 +03:00
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
2019-12-10 15:08:45 +03:00
40797c1139
Fix #17701 : Throw BadRequetHttpException when request params can’t be bound to bool, int, and float controller action arguments
2019-12-03 12:40:56 +03:00
c82aedb86d
add a comment to explain why Url::to() is called in Controller::redirect()
...
close #16887
2018-11-14 15:56:03 +01:00
65f6b59b35
@inheritdoc notation changed
2018-01-23 13:11:24 +02:00
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
2017-08-21 01:58:49 +03:00
d38908fc13
Fixed #14469 : updated RFC links
2017-07-17 16:21:49 +03:00
8eabff0698
#13975 : make documentation of current behaviour more clear [skip ci]
2017-04-16 00:55:35 +03:00
323568c2e9
Remove trailing spaces from sources and tests ( #13621 ) [skip ci]
2017-02-19 17:34:22 +03:00
eab3489ec7
Reverted #13393 : Removed redundant call to yii\helpers\Url::to() in yii\web\Controller::redirect() (reverted from commit e5d169beb8257ba47654275cbee2e98fb910f5d5)
2017-01-24 13:09:57 +03:00
e5d169beb8
Fixes #13393 : Removed redundant call to yii\helpers\Url::to() in yii\web\Controller::redirect()
2017-01-22 11:56:52 +03:00
081ee7c5b1
Implemented shortcut methods for returning JSON and XML ( #13101 )
...
fixes #13036
2016-12-01 10:33:49 +01:00
4aa935e69e
Fixes #12055 : Changed boolean to bool and integer to int in phpdoc
2016-11-07 02:51:39 +03:00
32f4dc8997
Fixes #5385 : links created from classes to corresponding guide articles ( #12920 )
2016-11-04 18:55:14 +03:00
79a4241fff
fixed rest controller PHPdoc
...
fixes #11215
2016-03-28 16:00:16 +02:00
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
2016-02-06 18:40:50 +01:00
4bc2eb7945
Fixes controller DI
2015-10-12 15:52:19 +02:00
0407407b76
fix coding style to follow PSR-2
2015-10-05 13:58:47 +06:00
b7020065c8
Fixes #9476 : Added DI injection via controller action method signature
2015-09-27 19:35:43 +03:00
ae42a054bb
PSR-2 spaces, commas, etc
2015-06-09 00:05:06 +03:00
32bc19ae9b
Updated web/Controller.php, simplified code design
...
close #8387
2015-05-13 12:53:44 +02:00
af7ae33d5b
Use (array) cast instead of !is_array check for both readability and performance
2015-02-08 17:56:14 +03:00
f1edafffaf
PHPDoc comment doesn't contain all necessary @throws tag
...
close #5762
2014-10-25 12:47:08 +02:00
3a1e0f3a5c
property codestyle framework
2014-07-30 00:21:31 +02:00
4717571e22
improved docs about goBack()
...
fixes #4343
2014-07-17 20:45:44 +02:00
a07b4afea6
Update Controller.php
2014-05-18 02:56:38 +07:00
0b29c9607d
fixed broken API links [skip ci]
2014-04-09 22:22:49 -04:00
d4ad533d48
moved error handling related methods from app to errorhandler
2014-03-28 19:57:11 +01:00
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
2014-03-23 20:51:09 +01:00
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
7a3fd41afc
Fixes #2701
2014-03-11 15:44:09 +04:00
ca3b2cd057
Fix some references to removed Html::url in phpdoc
2014-03-11 11:15:21 +01:00
2b842ecc57
Moded URL management methods from controller to Url helper, updated docs
2014-03-10 19:40:32 +04:00
5d6c314d4e
Adjusted URL helper, fixed usage
2014-03-10 15:25:15 +04:00
92b381795b
Adjusted Url helper methods
2014-03-10 01:34:05 +04:00
3400eb5215
#2630 : yii\heplers\Html::url moved to new yii\helpers\Url::create
2014-03-09 16:41:55 +04:00
6a1816a94e
Allow using string for URL in case there are no parameters
2014-02-20 20:45:16 +04:00
43c17d99cc
Fixes #2426 : Changed URL creation method signatures to be consistent
2014-02-20 20:10:33 +04:00
098567ce16
fixed phpdoc errors and updated properties
2014-02-20 13:42:30 +01:00
02b908bd9c
Fixes #938 : added yii\web\View::renderAjax and yii\web\Controller::renderAjax.
2014-01-28 14:03:39 -05:00
4844886431
added schema parameter to createAbsoluteUrl() to force 'http' or 'https'
...
fixes #1585
2014-01-21 19:00:17 +01:00
0c38655217
psr-4 move
2014-01-10 21:41:43 -05:00
0d814fa523
Moved "framework" to "iii".
2013-05-09 12:00:15 -04:00
4be9e195c2
Add Newlines
...
Appended newlines to every PHP document that did not have a newline as the last character in the file.
2013-05-05 17:04:55 +01:00
147b3155c8
Added contact page. Fixed various form bugs.
2013-05-03 17:09:02 -04:00
c0d0d1dc35
Finished User.
2013-03-28 23:53:36 -04:00
6aa86712e2
User WIP
2013-03-28 21:51:31 -04:00
cd1b3d321a
refactored url creation shortcut method.
2013-03-26 21:03:43 -04:00