You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: user_guide_src/source/installation/upgrade_responses.rst
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
-
Upgrade HTTP Responses
2
-
######################
1
+
Upgrade Output Class
2
+
####################
3
3
4
4
.. contents::
5
5
:local:
@@ -12,11 +12,12 @@ Documentations
12
12
13
13
What has been changed
14
14
=====================
15
-
- The methods have been renamed
15
+
- The Output class has been changed to the Response class.
16
+
- The methods have been renamed.
16
17
17
18
Upgrade Guide
18
19
=============
19
-
1. The methods in the HTTP Responses class are named slightly different. The most important change in the naming is the switch from underscored method names to camelCase. The method ``set_content_type()`` from version 3 is now named ``setContentType()`` and so on.
20
+
1. The methods in the HTTP Response class are named slightly different. The most important change in the naming is the switch from underscored method names to camelCase. The method ``set_content_type()`` from version 3 is now named ``setContentType()`` and so on.
20
21
2. In the most cases you have to change ``$this->output`` to ``$this->response`` followed by the method. You can find all methods in :doc:`../outgoing/response`.
0 commit comments