Skip to content

Commit ebee1aa

Browse files
committed
docs: add (Legacy) in section titles
1 parent 3da0ef9 commit ebee1aa

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

user_guide_src/source/incoming/controllers.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -368,8 +368,8 @@ In the above example, CodeIgniter would attempt to find a controller named **Hel
368368

369369
.. note:: When a controller's short name matches the first segment of a URI, it will be loaded.
370370

371-
Let's try it: Hello World!
372-
==========================
371+
Let's try it: Hello World! (Legacy)
372+
===================================
373373

374374
Let's create a simple controller so you can see it in action. Using your text editor, create a file called **Helloworld.php**,
375375
and put the following code in it. You will notice that the ``Helloworld`` Controller is extending the ``BaseController``. you can
@@ -420,8 +420,8 @@ class so that it can inherit all its methods.
420420

421421
.. literalinclude:: controllers/012.php
422422

423-
Methods
424-
=======
423+
Methods (Legacy)
424+
================
425425

426426
In the above example, the method name is ``index()``. The ``index()`` method
427427
is always loaded by default if the **second segment** of the URI is
@@ -442,8 +442,8 @@ Now load the following URL to see the comment method::
442442

443443
You should see your new message.
444444

445-
Passing URI Segments to Your Methods
446-
====================================
445+
Passing URI Segments to Your Methods (Legacy)
446+
=============================================
447447

448448
If your URI contains more than two segments they will be passed to your
449449
method as parameters.
@@ -482,8 +482,8 @@ see the "Hello World" message.
482482
For more information, please refer to the :ref:`routes-configuration-options` section of the
483483
:doc:`URI Routing <routing>` documentation.
484484

485-
Organizing Your Controllers into Sub-directories
486-
================================================
485+
Organizing Your Controllers into Sub-directories (Legacy)
486+
=========================================================
487487

488488
If you are building a large application you might want to hierarchically
489489
organize or structure your controllers into sub-directories. CodeIgniter

0 commit comments

Comments
 (0)