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().
12 years ago
Qiang Xue
21eab82413
Refactored redirect() methods.
12 years ago
Qiang Xue
d1212bc73b
Support relative route in Controller::createUrl()
12 years ago
Qiang Xue
9cf82b3ae1
Added Model::load(). Added Controller::refresh() and redirect().
12 years ago
Qiang Xue
f18d6df625
Revert "Merge pull request #548 from cebe/action-response"
...
This reverts commit 9d7597d61a
, reversing
changes made to 6b6390f72b
.
12 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
12 years ago
Qiang Xue
03e07f4340
cleaned up "use" statements.
12 years ago
Qiang Xue
ad218c6719
moved HttpException to web.
12 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
Qiang Xue
147b3155c8
Added contact page. Fixed various form bugs.
12 years ago
Qiang Xue
c0d0d1dc35
Finished User.
12 years ago
Qiang Xue
6aa86712e2
User WIP
12 years ago
Qiang Xue
cd1b3d321a
refactored url creation shortcut method.
12 years ago
Qiang Xue
a5ababe4c6
Finished HtmlTest.
12 years ago
Qiang Xue
30d70be071
Finished Html helper.
12 years ago
Qiang Xue
4fdaab3560
updated file header.
12 years ago
Qiang Xue
1c375b9097
bug fixes.
12 years ago
Qiang Xue
8b2b7915b4
Renamed application to app.
12 years ago
Qiang Xue
3c1452e84b
Changed the separator of message category.
12 years ago
Qiang Xue
54ee8c44a0
refactored exceptions.
...
I18N WIP.
12 years ago
Qiang Xue
8e05e6e62d
changed copyright line.
12 years ago
Alexander Makarov
32818ab19a
added getter and setter for application title to web Controller
12 years ago
Qiang Xue
e7a5e8ab37
...
13 years ago