File tree Expand file tree Collapse file tree
user_guide_src/source/general Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ long as you load it before you use it.
6666
6767You can load your helpers in your
6868controller constructor so that they become available automatically in
69- any function , or you can load a helper in a specific function that needs
69+ any method , or you can load a helper in a specific method that needs
7070it.
7171
7272However if you want to load in your controller constructor, you can use the ``$helpers ``
@@ -130,7 +130,7 @@ functions:
130130
131131.. literalinclude :: helpers/006.php
132132
133- The ``helper() `` method will scan through all PSR-4 namespaces defined in **app/Config/Autoload.php **
133+ The ``helper() `` function will scan through all PSR-4 namespaces defined in **app/Config/Autoload.php **
134134and load in ALL matching helpers of the same name. This allows any module's helpers
135135to be loaded, as well as any helpers you've created specifically for this application. The load order
136136is as follows:
You can’t perform that action at this time.
0 commit comments