Skip to content

Commit 11df684

Browse files
committed
Part 1 of restructuring
1 parent 229e440 commit 11df684

42 files changed

Lines changed: 115 additions & 103 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

user_guide_src/source/concepts/http.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Working with Requests and Responses
6767
-----------------------------------
6868

6969
While PHP provides ways to interact with the request and response headers, CodeIgniter, like most frameworks,
70-
abstracts them so that you have a consistent, simple interface to them. The :doc:`IncomingRequest class </libraries/incomingrequest>`
70+
abstracts them so that you have a consistent, simple interface to them. The :doc:`IncomingRequest class </incoming/incomingrequest>`
7171
is an object-oriented representation of the HTTP request. It provides everything you need::
7272

7373
use CodeIgniter\HTTP\IncomingRequest;
@@ -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 </libraries/response>` that is an object-oriented representation
100+
CodeIgniter also provides a :doc:`Response class </incoming/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/concepts/mvc.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ You might store the view file for this method in **/application/Views/User/Profi
4646
That type of organization works great as a base habit to get into. At times you might need to organize it differently.
4747
That's not a problem. As long as CodeIgniter can find the file, it can display it.
4848

49-
:doc:`Find out more about views </general/views>`
49+
:doc:`Find out more about views </outgoing/views>`
5050

5151
Models
5252
======
@@ -80,4 +80,4 @@ be there, and they get the data they need in a format they can use.
8080
Controllers are typically stored in **/application/Controllers**, though they can use a namespace to be grouped however
8181
you need.
8282

83-
:doc:`Find out more about controllers </general/controllers>`
83+
:doc:`Find out more about controllers </incoming/controllers>`

user_guide_src/source/concepts/security.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ OWASP recommendations
3434
CodeIgniter provisions
3535
----------------------
3636

37-
- `HTTP library <../libraries/message.html>`_ provides for input field filtering & content metadata
37+
- `HTTP library </incoming/message.html>`_ provides for input field filtering & content metadata
3838
- Form validation library
3939

4040
*********************************************
@@ -57,7 +57,7 @@ CodeIgniter provisions
5757
----------------------
5858

5959
- `Session <../libraries/sessions.html>`_ library
60-
- `HTTP library <../libraries/message.html>`_ provides for CSRF validation
60+
- `HTTP library </incoming/message.html>`_ provides for CSRF validation
6161
- Easy to add third party authentication
6262

6363
*****************************
@@ -162,7 +162,7 @@ CodeIgniter provisions
162162
----------------------
163163

164164
- Public folder, with application and system outside
165-
- `HTTP library <../libraries/message.html>`_ provides for CSRF validation
165+
- `HTTP library </incoming/message.html>`_ provides for CSRF validation
166166

167167
************************************
168168
A8 Cross Site Request Forgery (CSRF)
@@ -181,7 +181,7 @@ OWASP recommendations
181181
CodeIgniter provisions
182182
----------------------
183183

184-
- `HTTP library <../libraries/message.html>`_ provides for CSRF validation
184+
- `HTTP library </incoming/message.html>`_ provides for CSRF validation
185185

186186
**********************************************
187187
A9 Using Components with Known Vulnerabilities
@@ -217,6 +217,6 @@ OWASP recommendations
217217
CodeIgniter provisions
218218
----------------------
219219

220-
- `HTTP library <../libraries/message.html>`_ provides for ...
220+
- `HTTP library </incoming/message.html>`_ provides for ...
221221
- `Session <../libraries/sessions.html>`_ library provides flashdata
222222

user_guide_src/source/database/events.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Database Events
44

55
The Database classes contain a few :doc:`Events </general/events>` that you can tap into in
66
order to learn more about what is happening during the database execution. These events can
7-
be used to collect data for analysis and reporting. The :doc:`Debug Toolbar </general/debugging>`
7+
be used to collect data for analysis and reporting. The :doc:`Debug Toolbar </testing/debugging>`
88
uses this to collect the queries to display in the Toolbar.
99

1010
==========

user_guide_src/source/database/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
##################
2-
Database Reference
3-
##################
1+
#############
2+
Managing Data
3+
#############
44

55
CodeIgniter comes with a full-featured and very fast abstracted database
66
class that supports both traditional structures and Query Builder

user_guide_src/source/general/cli.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Running via the Command Line
33
############################
44

5-
As well as calling an applications :doc:`Controllers <./controllers>`
5+
As well as calling an applications :doc:`Controllers </incoming/controllers>`
66
via the URL in a browser they can also be loaded via the command-line
77
interface (CLI).
88

@@ -93,7 +93,7 @@ works exactly like a normal route definition::
9393

9494
$routes->cli('tools/message/(:segment)', 'Tools::message/$1');
9595

96-
For more information, see the :doc:`Routes </general/routing>` page.
96+
For more information, see the :doc:`Routes </incoming/routing>` page.
9797

9898
The CLI Library
9999
---------------

user_guide_src/source/general/common_functions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ Service Accessors
163163

164164
echo view('user_profile', $data);
165165

166-
For more details, see the :doc:`Views <views>` page.
166+
For more details, see the :doc:`Views </outgoing/views>` page.
167167

168168
Miscellaneous Functions
169169
=======================
@@ -267,7 +267,7 @@ Miscellaneous Functions
267267
Generates a relative URI for you based on either a named route alias, or a controller::method
268268
combination. Will take parameters into effect, if provided.
269269

270-
For full details, see the :doc:`routing` page.
270+
For full details, see the :doc:`/incoming/routing` page.
271271

272272
.. php:function:: service ( $name [, ...$params] )
273273

user_guide_src/source/general/helpers.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ functions.
2020

2121
CodeIgniter does not load Helper Files by default, so the first step in
2222
using a Helper is to load it. Once loaded, it becomes globally available
23-
in your :doc:`controller <../general/controllers>` and
24-
:doc:`views <../general/views>`.
23+
in your :doc:`controller </incoming/controllers>` and
24+
:doc:`views </outgoing/views>`.
2525

2626
Helpers are typically stored in your **system/Helpers**, or
2727
**application/Helpers directory**. CodeIgniter will look first in your

user_guide_src/source/general/index.rst

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,15 @@ General Topics
77

88
configuration
99
urls
10-
controllers
11-
views
12-
view_cells
13-
view_renderer
14-
view_parser
1510
helpers
1611
core_classes
1712
events
1813
common_functions
19-
routing
20-
filters
2114
logging
2215
errors
23-
debugging
2416
caching
2517
cli
2618
cli_commands
2719
modules
2820
managing_apps
2921
environments
30-
alternative_php

user_guide_src/source/general/modules.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ file types, including:
7171

7272
- :doc:`Events </general/events>`
7373
- :doc:`Registrars </general/configuration>`
74-
- :doc:`Route files </general/routing>`
74+
- :doc:`Route files </incoming/routing>`
7575
- :doc:`Services </concepts/services>`
7676

7777
This is configured in the file **application/Config/Modules.php**.
@@ -107,7 +107,7 @@ guide, but is being reproduced here so that it's easier to grasp how all of the
107107
Routes
108108
======
109109

110-
By default, :doc:`routes </general/routing>` are automatically scanned for within modules. If can be turned off in
110+
By default, :doc:`routes </incoming/routing>` are automatically scanned for within modules. If can be turned off in
111111
the **Modules** config file, described above.
112112

113113
.. note:: Since the files are being included into the current scope, the ``$routes`` instance is already defined for you.
@@ -184,6 +184,6 @@ Models are always instantiated by their fully-qualified class name, so no specia
184184
Views
185185
=====
186186

187-
Views can be loaded using the class namespace as described in the :doc:`views </general/views>` documentation::
187+
Views can be loaded using the class namespace as described in the :doc:`views </outgoing/views>` documentation::
188188

189189
echo view('Acme\Blog\Views\index');

0 commit comments

Comments
 (0)