From ee0a7f0083e9e3e2e667211acd3909e71aa1ec47 Mon Sep 17 00:00:00 2001
From: Derek Allard
Date: Thu, 8 May 2008 13:59:27 +0000
Subject: Added a Reserved Names page to the userguide, and migrated reserved
controller names into it.
Added a Common Functions page to the userguide for globally available functions.
---
user_guide/general/controllers.html | 50 +++----------------------------------
1 file changed, 3 insertions(+), 47 deletions(-)
(limited to 'user_guide/general/controllers.html')
diff --git a/user_guide/general/controllers.html b/user_guide/general/controllers.html
index 2dac6e0d7..4c0c506af 100644
--- a/user_guide/general/controllers.html
+++ b/user_guide/general/controllers.html
@@ -359,50 +359,7 @@ Constructors can't return a value, but they can do some default work.
Since your controller classes will extend the main application controller you
must be careful not to name your functions identically to the ones used by that class, otherwise your local functions
-will override them. The following
-is a list of reserved names. Do not name your controller functions any of these:
-
-
-- Controller
-- CI_Base
-- _ci_initialize
-- _ci_scaffolding
-
-
-
If you are running PHP 4 there are some additional reserved names. These ONLY apply if you are running PHP 4.
-
-
-- CI_Loader
-- config
-- database
-- dbutil
-- dbforge
-- file
-- helper
-- helpers
-- language
-- library
-- model
-- plugin
-- plugins
-- scaffolding
-- script
-- view
-- vars
-- _ci_assign_to_models
-- _ci_autoloader
-- _ci_init_class
-- _ci_init_scaffolding
-- _ci_is_instance
-- _ci_load
-- _ci_load_class
-- _ci_object_to_array
-
-
-
-
-
-
+will override them. See Reserved Names for a full list.
That's it!
@@ -416,12 +373,11 @@ is a list of reserved names. Do not name your controller functions any of these
--
cgit v1.2.3-24-g4f1b