Skip to content

Commit 3ba1b21

Browse files
committed
Restructuring part 2
1 parent 11df684 commit 3ba1b21

33 files changed

Lines changed: 111 additions & 52 deletions
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,4 @@ The CLI library makes working with the CLI interface simple.
102102
It provides easy ways to output text in multiple colors to the terminal window. It also
103103
allows you to prompt a user for information, making it easy to build flexible, smart tools.
104104

105-
See the :doc:`CLI Library </libraries/cli>` page for detailed information.
105+
See the :doc:`CLI Library </cli/cli_library>` page for detailed information.

user_guide_src/source/general/cli_commands.rst renamed to user_guide_src/source/cli/cli_commands.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Then **foo** is the command name, and the ``$params`` array would be::
120120

121121
$params = ['bar', 'baz'];
122122

123-
This can also be accessed through the :doc:`CLI </libraries/cli>` library, but this already has your command removed
123+
This can also be accessed through the :doc:`CLI </cli/cli_library>` library, but this already has your command removed
124124
from the string. These parameters can be used to customize how your scripts behave.
125125

126126
Our demo command might have a ``run`` method something like::
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
##################
2+
Command Line Usage
3+
##################
4+
5+
CodeIgniter 4 can also be used with command line programs.
6+
7+
.. toctree::
8+
:titlesonly:
9+
10+
cli
11+
cli_commands
12+
cli_library

user_guide_src/source/concepts/mvc.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ miss updating an area.
6363

6464
Models are typically stored in **/application/Models**, though they can use a namespace to be grouped however you need.
6565

66-
:doc:`Find out more about models </database/model>`
66+
:doc:`Find out more about models </models/model>`
6767

6868
Controllers
6969
===========

user_guide_src/source/database/events.rst

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

5-
The Database classes contain a few :doc:`Events </general/events>` that you can tap into in
5+
The Database classes contain a few :doc:`Events </extending/events>` that you can tap into in
66
order to learn more about what is happening during the database execution. These events can
77
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.

user_guide_src/source/database/index.rst

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#############
2-
Managing Data
3-
#############
1+
######################
2+
Working With Databases
3+
######################
44

55
CodeIgniter comes with a full-featured and very fast abstracted database
66
class that supports both traditional structures and Query Builder
@@ -19,9 +19,4 @@ patterns. The database functions offer clear, simple syntax.
1919
Transactions <transactions>
2020
Getting MetaData <metadata>
2121
Custom Function Calls <call_function>
22-
Using CodeIgniter's Model <model>
23-
Using Entity Classes <entities>
24-
Database Manipulation with Database Forge <forge>
25-
Database Migrations <migration>
26-
Database Seeding <seeds>
2722
Database Events <events>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
##################
2+
Managing Databases
3+
##################
4+
5+
CodeIgniter comes with tools to restructure or sees your database.
6+
7+
.. toctree::
8+
:titlesonly:
9+
10+
Database Manipulation with Database Forge <forge>
11+
Database Migrations <migration>
12+
Database Seeding <seeds>

user_guide_src/source/database/migration.rst renamed to user_guide_src/source/dbmgmt/migration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ to update the schema::
176176
*******************
177177
Commnand-Line Tools
178178
*******************
179-
CodeIgniter ships with several :doc:`commands </general/cli_commands>` that are available from the command line to help
179+
CodeIgniter ships with several :doc:`commands </cli/cli_commands>` that are available from the command line to help
180180
you work with migrations. These tools are not required to use migrations but might make things easier for those of you
181181
that wish to use them. The tools primarily provide access to the same methods that are available within the MigrationRunner class.
182182

0 commit comments

Comments
 (0)