summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries/form_validation.html
diff options
context:
space:
mode:
authorGreg Aker <greg.aker@ellislab.com>2010-11-09 20:53:07 +0100
committerGreg Aker <greg.aker@ellislab.com>2010-11-09 20:53:07 +0100
commit16fcb2e706651c5d81bae56d0223f467c1e291da (patch)
tree9eb454b6602646d4402d4cb89856e99bee0f47c5 /user_guide/libraries/form_validation.html
parent63277b81edde11b77ff94cbf1c3e5db16c97c4bf (diff)
Updating code examples in user guide to use CI_Controller instead of Controller
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 />