summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/general/creating_libraries.rst
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2017-11-20 08:58:03 +0100
committerAndrey Andreev <narf@devilix.net>2017-11-20 08:58:03 +0100
commit4a567782a2ece1ceffebfc1efa580f654df8be1f (patch)
tree11ff6559088d0612692642bc7395a3866907f833 /user_guide_src/source/general/creating_libraries.rst
parentee8324368f2844aae0d558f1d194419a2181c281 (diff)
[ci skip] More docs updates following #5330
Diffstat (limited to 'user_guide_src/source/general/creating_libraries.rst')
-rw-r--r--user_guide_src/source/general/creating_libraries.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/user_guide_src/source/general/creating_libraries.rst b/user_guide_src/source/general/creating_libraries.rst
index d6b0631af..83742b619 100644
--- a/user_guide_src/source/general/creating_libraries.rst
+++ b/user_guide_src/source/general/creating_libraries.rst
@@ -224,6 +224,7 @@ extend the parent constructor::
public function __construct($config = array())
{
parent::__construct($config);
+ // Your own constructor code
}
}
@@ -256,4 +257,4 @@ To set your own sub-class prefix, open your
$config['subclass_prefix'] = 'MY_';
Please note that all native CodeIgniter libraries are prefixed with CI\_
-so DO NOT use that as your prefix. \ No newline at end of file
+so DO NOT use that as your prefix.