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 @@ -117,12 +117,13 @@ property in Controller instead. See :ref:`Controllers <controllers-helpers>`.
117117Loading from Specified Namespace
118118================================
119119
120- Helpers can be loaded from directories outside of ** app/Helpers ** and
121- ** system/Helpers **, as long as that path can be found in defined namespaces .
120+ By default, CodeIgniter will search for the helper files in all defined namespaces
121+ and load all found files .
122122
123- You would prefix the name of the Helper with the namespace that it can be located
124- in. Within that namespaced directory, the loader expects it to live within a
125- sub-directory named **Helpers **. An example will help understand this.
123+ If you want to load only a helper in a specific namespace, prefix the name of the
124+ helper with the namespace that it can be located in. Within that namespaced directory,
125+ the loader expects it to live within a sub-directory named **Helpers **. An example
126+ will help understand this.
126127
127128For this example, assume that we have grouped together all of our Blog-related
128129code into its own namespace, ``Example\Blog ``. The files exist on our server at
You can’t perform that action at this time.
0 commit comments