summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries/form_validation.html
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide/libraries/form_validation.html')
-rw-r--r--user_guide/libraries/form_validation.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/user_guide/libraries/form_validation.html b/user_guide/libraries/form_validation.html
index 18f391a57..eae2036c1 100644
--- a/user_guide/libraries/form_validation.html
+++ b/user_guide/libraries/form_validation.html
@@ -221,7 +221,7 @@ folder:</p>
<textarea class="textarea" style="width:100%" cols="50" rows="21">&lt;?php
-class Form extends Controller {
+class Form extends CI_Controller {
function index()
{
@@ -312,7 +312,7 @@ $this->form_validation->set_rules('email', 'Email', 'required');<br />
<textarea class="textarea" style="width:100%" cols="50" rows="28">&lt;?php
-class Form extends Controller {
+class Form extends CI_Controller {
function index()
{
@@ -514,7 +514,7 @@ create a callback function that does that. Let's create a example of this.</p>
<textarea class="textarea" style="width:100%" cols="50" rows="44">&lt;?php
-class Form extends Controller {
+class Form extends CI_Controller {
function index()
{
@@ -805,7 +805,7 @@ have a controller named <kbd>Member</kbd> and a function named <kbd>signup</kbd>
<code>
&lt;?php<br /><br />
-class <kbd>Member</kbd> extends Controller {<br />
+class <kbd>Member</kbd> extends CI_Controller {<br />
<br />
&nbsp;&nbsp;&nbsp;function <kbd>signup</kbd>()<br />
&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />