diff options
Diffstat (limited to 'user_guide/general/controllers.html')
-rw-r--r-- | user_guide/general/controllers.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/user_guide/general/controllers.html b/user_guide/general/controllers.html index f11d09215..c13f218b9 100644 --- a/user_guide/general/controllers.html +++ b/user_guide/general/controllers.html @@ -95,7 +95,7 @@ Controllers <textarea class="textarea" style="width:100%" cols="50" rows="10"> -<?php +<?php class Blog extends Controller { function index() @@ -103,7 +103,7 @@ class Blog extends Controller { echo 'Hello World!'; } } -?> +?> </textarea> @@ -150,7 +150,7 @@ class <var>blog</var> extends Controller {<br /> <textarea class="textarea" style="width:100%" cols="50" rows="15"> -<?php +<?php class Blog extends Controller { function index() @@ -163,7 +163,7 @@ class Blog extends Controller { echo 'Look at this!'; } } -?> +?> </textarea> <p>Now load the following URL to see the <dfn>comment</dfn> function:</p> |