Skip to content

Commit d169485

Browse files
authored
Merge pull request #6900 from kenjis/fix-docs-tutorial-4.3
docs: improve Tutorial v4.3
2 parents 23db6ff + 510441f commit d169485

17 files changed

Lines changed: 123 additions & 61 deletions

File tree

79.2 KB
Loading
4.25 KB
Loading
1.26 KB
Loading
1.23 KB
Loading
9.96 KB
Loading
45.7 KB
Loading

user_guide_src/source/incoming/controllers.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ the ``$rules`` array with the name of the group as defined in **app/Config/Valid
102102

103103
.. note:: Validation can also be handled automatically in the model, but sometimes it's easier to do it in the controller. Where is up to you.
104104

105+
.. _controller-validatedata:
106+
105107
$this->validateData()
106108
=====================
107109

user_guide_src/source/libraries/security.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ may alter this behavior by editing the following config parameter value in
109109
.. note:: Since v4.2.3, you can regenerate CSRF token manually with the
110110
``Security::generateHash()`` method.
111111

112+
.. _csrf-redirection-on-failure:
113+
112114
Redirection on Failure
113115
----------------------
114116

user_guide_src/source/models/model.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,8 @@ update command, with the added benefit of validation, events, etc:
364364

365365
.. literalinclude:: model/018.php
366366

367+
.. _model-save:
368+
367369
save()
368370
------
369371

user_guide_src/source/tutorial/conclusion.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ design patterns, which you can expand upon.
1010
Now that you've completed this tutorial, we recommend you check out the
1111
rest of the documentation. CodeIgniter is often praised because of its
1212
comprehensive documentation. Use this to your advantage and read the
13-
:doc:`Overview </concepts/index>` and :doc:`/general/index`
13+
:doc:`Overview <../concepts/index>` and :doc:`../general/index`
1414
sections thoroughly. You should read
15-
the :doc:`Library </libraries/index>` and :doc:`/helpers/index` references when needed.
15+
the :doc:`Library <../libraries/index>` and :doc:`../helpers/index` references when needed.
1616

1717
Every intermediate PHP programmer should be able to get the hang of
1818
CodeIgniter within a few days.

0 commit comments

Comments
 (0)