summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/general/core_classes.rst
diff options
context:
space:
mode:
authorvlakoff <vlakoff@gmail.com>2013-01-09 18:10:20 +0100
committervlakoff <vlakoff@gmail.com>2013-01-09 18:10:20 +0100
commit024cfeceedc17fc8442b2bca9dfc73c361dfaac3 (patch)
tree974629650a72ced92e44bb5bcee591b791b9ebc0 /user_guide_src/source/general/core_classes.rst
parent85adeed0ab67bcde7b5c57ddb44022c75e82078a (diff)
Syntax fixes in documentation source
Diffstat (limited to 'user_guide_src/source/general/core_classes.rst')
-rw-r--r--user_guide_src/source/general/core_classes.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/user_guide_src/source/general/core_classes.rst b/user_guide_src/source/general/core_classes.rst
index ce57aeef0..07c0b00ba 100644
--- a/user_guide_src/source/general/core_classes.rst
+++ b/user_guide_src/source/general/core_classes.rst
@@ -76,15 +76,15 @@ application/core/MY_Input.php, and declare your class with::
}
.. note:: If you need to use a constructor in your class make sure you
-extend the parent constructor::
+ extend the parent constructor::
- class MY_Input extends CI_Input {
+ class MY_Input extends CI_Input {
- public function __construct()
- {
- parent::__construct();
+ public function __construct()
+ {
+ parent::__construct();
+ }
}
- }
**Tip:** Any functions in your class that are named identically to the
methods in the parent class will be used instead of the native ones