diff options
author | Pascal Kriete <pascal.kriete@ellislab.com> | 2010-11-10 22:41:23 +0100 |
---|---|---|
committer | Pascal Kriete <pascal.kriete@ellislab.com> | 2010-11-10 22:41:23 +0100 |
commit | e79d41a0de8a21db83fdb6b3e25ae65c9923c46d (patch) | |
tree | 6eddba47a27b9ee5d7a53315aaaaa7bf86df856c /user_guide/general/core_classes.html | |
parent | 00921a54feb7fde4444401ab93d77780c6c3bb96 (diff) |
Userguide tweaks to show proper PHP 5 examples and removing the compat helper from the menu.
Diffstat (limited to 'user_guide/general/core_classes.html')
-rw-r--r-- | user_guide/general/core_classes.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/user_guide/general/core_classes.html b/user_guide/general/core_classes.html index ac965aee3..35043d9ca 100644 --- a/user_guide/general/core_classes.html +++ b/user_guide/general/core_classes.html @@ -131,9 +131,9 @@ class MY_Input extends CI_Input {<br /><br /> <code> class MY_Input extends CI_Input {<br /> <br /> - function MY_Input()<br /> + function __construct()<br /> {<br /> - parent::CI_Input();<br /> + parent::__construct();<br /> }<br /> }</code> @@ -145,9 +145,9 @@ This allows you to substantially alter the CodeIgniter core.</p> <code>class Welcome extends MY_Controller {<br /> <br /> - function Welcome()<br /> + function __construct()<br /> {<br /> - parent::MY_Controller();<br /> + parent::__construct();<br /> }<br /> <br /> function index()<br /> |