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
Alexander Makarov
43c17d99cc
Fixes #2426 : Changed URL creation method signatures to be consistent
11 years ago
Carsten Brandt
098567ce16
fixed phpdoc errors and updated properties
11 years ago
Qiang Xue
02b908bd9c
Fixes #938 : added `yii\web\View::renderAjax` and `yii\web\Controller::renderAjax`.
11 years ago
Carsten Brandt
4844886431
added schema parameter to createAbsoluteUrl() to force 'http' or 'https'
...
fixes #1585
11 years ago
Qiang Xue
0c38655217
psr-4 move
11 years ago
Carsten Brandt
5eed149f24
fixed links in phpdoc
11 years ago
Alexander Makarov
be5afe7da8
Fixes #1572 : Added `yii\web\Controller::createAbsoluteUrl()`
11 years ago
Qiang Xue
c7c13a6693
Added concrete http exception classes.
11 years ago
Qiang Xue
a5e3c00d75
replaced inheritdoc tags.
11 years ago
Panagiotis Moustafellos
2ff8ac3d61
fixed PhpDoc by swapping to {@inheritdoc}
11 years ago
Qiang Xue
4b353c7bce
Fixes #1297 : CSRF not generated on error pages
11 years ago
Carsten Brandt
33f4a142ee
fixes invalid value in controller redirect
...
fixes #1261
11 years ago
Carsten Brandt
a82330b212
reverted duplicated fix for #1244
...
fixes #1244
11 years ago
Carsten Brandt
64862f96ca
disable CSRF validation after validation has failed
...
this allows to be able to call error action.
fixes #1244
11 years ago
Carsten Brandt
539e233d9c
massive improvement on class documentation
...
- added example code for application components
- added missing short description
[ci skip]
11 years ago
Qiang Xue
dbecf848f4
Fixes #1156 : action parameter binding now checks for array type.
11 years ago
Carsten Brandt
5ddb0e2cbf
controller php-doc
11 years ago
Carsten Brandt
913eb62294
updated phpdoc and fixed generator read/write-only annotation
11 years ago
Qiang Xue
eeed9c3ff2
Fixes #998 : Added support for generating canonical URL.
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Carsten Brandt
6507e2e316
applied new style of Yii::t params to all occurences
11 years ago
Carsten Brandt
2c30ddfcb0
added web\Controller::goBack() as shortcut
...
goBack() will redirect user to his returnUrl
fixes #925
11 years ago
Qiang Xue
ae39324e54
Support ajax redirection.
11 years ago
Qiang Xue
4f555a5751
Fixed CSRF validation bug.
11 years ago
Qiang Xue
f9b957554f
Added Controller::enableCsrfValidation to support turning on/off CSRF validation for particular actions.
11 years ago
Carsten Brandt
147558ea19
added some class documentation
11 years ago
Carsten Brandt
bdb77f33ba
updated @property annotations of many classes
11 years ago
Qiang Xue
27ad7e1fc7
Added Controller::goHome().
11 years ago
Qiang Xue
21eab82413
Refactored redirect() methods.
11 years ago
Qiang Xue
d1212bc73b
Support relative route in Controller::createUrl()
11 years ago
Qiang Xue
9cf82b3ae1
Added Model::load(). Added Controller::refresh() and redirect().
11 years ago
Qiang Xue
f18d6df625
Revert "Merge pull request #548 from cebe/action-response"
...
This reverts commit 9d7597d61a
, reversing
changes made to 6b6390f72b
.
11 years ago
Carsten Brandt
b138199c59
implementation of Response tied to actions
...
Result of a discussion with @qiangxue
- there is not global Yii::$app->response anymore, every action has
dedicated response class
- implementation allows using HMVC pattern now, nested actions do not
interfer
11 years ago
Qiang Xue
03e07f4340
cleaned up "use" statements.
11 years ago
Qiang Xue
ad218c6719
moved HttpException to web.
11 years ago
Qiang Xue
f690f0db13
Fixes issue #441 : InvalidRequestException should be HttpException
12 years ago
Qiang Xue
f72105166c
reorganized the main repo to satisfy PSR-0.
12 years ago
Qiang Xue
0d814fa523
Moved "framework" to "iii".
12 years ago
Zander Baldwin
4be9e195c2
Add Newlines
...
Appended newlines to every PHP document that did not have a newline as the last character in the file.
12 years ago