Skip to content

Commit a384868

Browse files
authored
Merge pull request #1243 from jim-parry/docs/structure2
Move Response & APIResponseTrait to outgoing section of UG
2 parents a3d85f0 + 5e3a965 commit a384868

9 files changed

Lines changed: 7 additions & 7 deletions

File tree

user_guide_src/source/concepts/http.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ is an object-oriented representation of the HTTP request. It provides everything
9797
The request class does a lot of work in the background for you, that you never need to worry about.
9898
The ``isAJAX()`` and ``isSecure()`` methods check several different methods to determine the correct answer.
9999

100-
CodeIgniter also provides a :doc:`Response class </incoming/response>` that is an object-oriented representation
100+
CodeIgniter also provides a :doc:`Response class </outgoing/response>` that is an object-oriented representation
101101
of the HTTP response. This gives you an easy and powerful way to construct your response to the client::
102102

103103
use CodeIgniter\HTTP\Response;

user_guide_src/source/helpers/cookie_helper.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The following functions are available:
3737
:rtype: void
3838

3939
This helper function gives you friendlier syntax to set browser
40-
cookies. Refer to the :doc:`Response Library </incoming/response>` for
40+
cookies. Refer to the :doc:`Response Library </outgoing/response>` for
4141
a description of its use, as this function is an alias for
4242
``Response::setCookie()``.
4343

user_guide_src/source/incoming/controllers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ as a class property, ``$this->request``.
250250

251251
**Response Object**
252252

253-
The application's main :doc:`Response Instance </incoming/response>` is always available
253+
The application's main :doc:`Response Instance </outgoing/response>` is always available
254254
as a class property, ``$this->response``.
255255

256256
**Logger Object**

user_guide_src/source/incoming/index.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,4 @@ Controllers handle incoming requests.
1313
message
1414
request
1515
incomingrequest
16-
response
17-
api_responses
1816
content_negotiation

user_guide_src/source/incoming/message.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ requests and responses, including the message body, protocol version, utilities
77
the headers, and methods for handling content negotiation.
88

99
This class is the parent class that both the :doc:`Request Class </incoming/request>` and the
10-
:doc:`Response Class </incoming/response>` extend from. As such, some methods, such as the content
10+
:doc:`Response Class </outgoing/response>` extend from. As such, some methods, such as the content
1111
negotiation methods, may apply only to a request or response, and not the other one, but they have
1212
been included here to keep the header methods together.
1313

user_guide_src/source/libraries/curlrequest.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Working with the Library
5454
************************
5555

5656
Working with CURL requests is simply a matter of creating the Request and getting a
57-
:doc:`Response object </incoming/response>` back. It is meant to handle the communications. After that
57+
:doc:`Response object </outgoing/response>` back. It is meant to handle the communications. After that
5858
you have complete control over how the information is handled.
5959

6060
Making Requests
File renamed without changes.

user_guide_src/source/outgoing/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,7 @@ View components are used to build what is returned to the user.
1111
view_cells
1212
view_renderer
1313
view_parser
14+
response
15+
api_responses
1416
localization
1517
alternative_php
File renamed without changes.

0 commit comments

Comments
 (0)