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
12 years ago
Qiang Xue
a9e71d5565
better handling with exceptions in __toString()
12 years ago
Qiang Xue
27ad7e1fc7
Added Controller::goHome().
12 years ago
Qiang Xue
21eab82413
Refactored redirect() methods.
12 years ago
Ryadnov
2409624894
fix typos - `Yii::app()`
12 years ago
Qiang Xue
9f4ccb6243
Added status code display to debugger toolbar.
12 years ago
Qiang Xue
a6cd7b72bb
refactored helper organization.
12 years ago
Qiang Xue
194d5a86b5
normalize header names.
12 years ago
Carsten Brandt
13f1e7af8a
added usage example to Response::redirect()
12 years ago
Qiang Xue
7f1b8c109e
Adjust for test integration.
12 years ago
Qiang Xue
22839ae922
Fixed jsonp response handling.
12 years ago
Qiang Xue
4782b19739
Better handling of sending response content.
12 years ago
Qiang Xue
3e18479d1f
Fixes issue #545 : PageCache doesn't work.
12 years ago
Qiang Xue
5a8e4b648b
Added XmlResponseFormatter.
12 years ago
Qiang Xue
2d118a4c24
Added doc.
12 years ago
Qiang Xue
03e07f4340
cleaned up "use" statements.
12 years ago
Qiang Xue
1181c1cc1b
Removed unused methods.
12 years ago
Qiang Xue
a951e1c8e1
Replaced Jsonable with Arrayable.
...
Added support for different response formats.
Support for error response in different formats.
12 years ago
Qiang Xue
420637443c
Refactored the way of sending response in controller actions.
12 years ago
Qiang Xue
0b8d239ad3
Renamed HeaderCollection::addDefault to setDefault.
12 years ago
Qiang Xue
d7cb4ce97c
Fixes issue #276 : support range request for sending content as a file.
12 years ago
Qiang Xue
d19446ba10
Minor adjustment of Response::redirect()
12 years ago
Carsten Brandt
e5d8e4adcb
fixed usage of renamed method in Response
12 years ago
Carsten Brandt
a0762e7d29
API consistency in Response class
...
use `getIs...` instead of `is...` to allow these methods to be used as
virtual properties.
This is forconsistency to the rest of the framework.
Only methods that take parameters may be named `is...`.
12 years ago
Carsten Brandt
95bfd82524
removed unnecessary defaul value from Response
12 years ago
Qiang Xue
47655843a7
Adjusted parameter order.
12 years ago
Qiang Xue
ad218c6719
moved HttpException to web.
12 years ago
Qiang Xue
f14774dfb6
Fixes issue #276 : Enable Response::sendFile() to operate on resources
12 years ago
Qiang Xue
9806563f7f
Minor refactoring.
12 years ago
Qiang Xue
22053cdc60
Response::sendStream WIP
12 years ago