From 9cc3d5078f0dc739ffb231edc5ad8021457fb094 Mon Sep 17 00:00:00 2001 From: Greg Aker Date: Sun, 14 Nov 2010 16:08:42 -0600 Subject: Fix #231 removing some PHP 4 doc notes from the creating libraries documentation --- user_guide/general/creating_libraries.html | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'user_guide/general/creating_libraries.html') diff --git a/user_guide/general/creating_libraries.html b/user_guide/general/creating_libraries.html index 00d0f4aa4..e700f30fc 100644 --- a/user_guide/general/creating_libraries.html +++ b/user_guide/general/creating_libraries.html @@ -75,8 +75,7 @@ to an existing library. Or you can even replace native libraries just by placing

The page below explains these three concepts in detail.

-

Note: The Database classes can not be extended or replaced with your own classes, -nor can the Loader class in PHP 4. All other classes are able to be replaced/extended.

+

Note: The Database classes can not be extended or replaced with your own classes. All other classes are able to be replaced/extended.

Storage

@@ -197,11 +196,7 @@ etc. $CI =& get_instance();

-This is very important. Assigning by reference allows you to use the original CodeIgniter object rather than creating a copy of it. -

-Also, please note: If you are running PHP 4 it's usually best to avoid calling get_instance() -from within your class constructors. PHP 4 has trouble referencing the CI super object within application constructors -since objects do not exist until the class is fully instantiated.

+This is very important. Assigning by reference allows you to use the original CodeIgniter object rather than creating a copy of it.

Replacing Native Libraries with Your Versions

-- cgit v1.2.3-24-g4f1b