Qiang Xue
|
664d2aa007
|
Supported adding a new response formatter without the need to reconfigure existing formatters
|
11 years ago |
Qiang Xue
|
0b29c9607d
|
fixed broken API links [skip ci]
|
11 years ago |
Qiang Xue
|
134d3d4610
|
Fixes #2034: Added `ContentNegotiator` to support response format and language negotiation
|
11 years ago |
Qiang Xue
|
c4af1569a3
|
typo fix [skip ci]
|
11 years ago |
Qiang Xue
|
aec1b8172b
|
Added `HtmlResponseFormatter` and `JsonResponseFormatter`
|
11 years ago |
Carsten Brandt
|
435747cf98
|
apidoc and codestyle fixes
|
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 |
Christophe BOULAIN
|
ca3b2cd057
|
Fix some references to removed Html::url in phpdoc
|
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 |
Qiang Xue
|
3dead3386c
|
CS fix.
|
11 years ago |
tof06
|
61767861fb
|
Add X-PJAX-URL header when redirect a pjax request
|
11 years ago |
Qiang Xue
|
d53f4dd9ea
|
Fixes #2139: error found while sending response is not displayed.
|
11 years ago |
Carsten Brandt
|
3519c14e60
|
throw exceptions in case of invalid response content
fixes #1842
|
11 years ago |
Carsten Brandt
|
262189533a
|
huge amount of documentation link fixes
|
11 years ago |
Qiang Xue
|
0c38655217
|
psr-4 move
|
11 years ago |
Qiang Xue
|
c6c51baa3c
|
Fixes #1844: `Response::sendFile()` and other file sending methods will not send the response
|
11 years ago |
Qiang Xue
|
50703f8a82
|
Fixes #1844: Calling `Response::sendFile()` would cause sending the response twice
|
11 years ago |
Alexander Makarov
|
a29df58516
|
Removed translations for messages intended for developers
|
11 years ago |
Qiang Xue
|
34dc150f63
|
doc fixes.
|
11 years ago |
Carsten Brandt
|
5eed149f24
|
fixed links in phpdoc
|
11 years ago |
Alexander Makarov
|
404757bf82
|
Fixes #1631: Charset is now explicitly set to UTF-8 when serving JSON
|
11 years ago |
Alexander Kozhevnikov
|
41d24ee903
|
Replace request with response in code example
|
11 years ago |
Alexander Makarov
|
26767735dc
|
Renamed byte methods, moved path methods back to StringHelper
|
11 years ago |
Alexander Makarov
|
5f2a612c78
|
Moved file and path related methods from StringHelper to FileHelper, renamed StringHelper byte methods not to be misused as string methods
|
11 years ago |
Panagiotis Moustafellos
|
58bd2fb958
|
Only whitespace removal
|
11 years ago |
Panagiotis Moustafellos
|
f6a3496e8d
|
Removed trailing whitespace.. (OCD really kicking in)
|
11 years ago |
Qiang Xue
|
248e0cb916
|
Added default status code setting.
|
11 years ago |
Carsten Brandt
|
e775c82dd8
|
Changed usage of self to static to allow extendibility
code style section has been added here:
https://github.com/yiisoft/yii2/wiki/Core-framework-code-style#self-vs-static
verification code for properties:
https://gist.github.com/cebe/7566916
|
11 years ago |
Carsten Brandt
|
f5219d2481
|
Response status code default is 200
fixes #1220
|
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 |
Alexander Makarov
|
1f6a823073
|
Short array syntax
|
11 years ago |
Carsten Brandt
|
7817514e86
|
fixed default status code for Response::redirect()
fixes #961
|
11 years ago |
Alexander Makarov
|
6488fe47ec
|
Better phpdoc for chained method calls
|
11 years ago |
Qiang Xue
|
ba1496cd50
|
doc fix.
|
11 years ago |
Qiang Xue
|
b59812507a
|
reverted doc change: the original one is correct.
|
11 years ago |
Alexander Makarov
|
45778a4bd7
|
Added ->send() to redirect phpdoc example
|
11 years ago |
Alexander Makarov
|
e19d0dacf9
|
Fixes #823: consistent interface naming
|
11 years ago |
Qiang Xue
|
ae39324e54
|
Support ajax redirection.
|
11 years ago |
Qiang Xue
|
947a557240
|
Reverted changeset 595ac6d0be
|
11 years ago |
Qiang Xue
|
595ac6d0be
|
Fixes #833: added charset to json response.
|
11 years ago |
Carsten Brandt
|
147558ea19
|
added some class documentation
|
11 years ago |
Carsten Brandt
|
ca69ef09d4
|
update of @property annotations
|
11 years ago |
Carsten Brandt
|
bdb77f33ba
|
updated @property annotations of many classes
|
11 years ago |
Borro
|
9f72973b83
|
Bug in XML format
|
11 years ago |
Qiang Xue
|
a9e71d5565
|
better handling with exceptions in __toString()
|
11 years ago |
Qiang Xue
|
27ad7e1fc7
|
Added Controller::goHome().
|
11 years ago |
Qiang Xue
|
21eab82413
|
Refactored redirect() methods.
|
11 years ago |