summaryrefslogtreecommitdiffstats
path: root/user_guide/general/creating_libraries.html
diff options
context:
space:
mode:
authorGreg Aker <greg.aker@ellislab.com>2010-11-14 23:08:42 +0100
committerGreg Aker <greg.aker@ellislab.com>2010-11-14 23:08:42 +0100
commit9cc3d5078f0dc739ffb231edc5ad8021457fb094 (patch)
tree56718510a9c33a79a31f43bbc0703239a718c1b1 /user_guide/general/creating_libraries.html
parent90d10bb10c0cc5f16fd0b8f5cb5715b73c4f50fb (diff)
Fix #231 removing some PHP 4 doc notes from the creating libraries documentation
Diffstat (limited to 'user_guide/general/creating_libraries.html')
-rw-r--r--user_guide/general/creating_libraries.html9
1 files changed, 2 insertions, 7 deletions
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
<p>The page below explains these three concepts in detail.</p>
-<p class="important"><strong>Note:</strong> 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.</p>
+<p class="important"><strong>Note:</strong> The Database classes can not be extended or replaced with your own classes. All other classes are able to be replaced/extended.</p>
<h2>Storage</h2>
@@ -197,11 +196,7 @@ etc.
<var>$CI =&amp; get_instance();</var>
<br />
<br />
-<kbd>This is very important.</kbd> Assigning by reference allows you to use the original CodeIgniter object rather than creating a copy of it.
-<br /><br />
-<kbd>Also, please note:</kbd> If you are running PHP 4 it's usually best to avoid calling <dfn>get_instance()</dfn>
-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.</p>
+<kbd>This is very important.</kbd> Assigning by reference allows you to use the original CodeIgniter object rather than creating a copy of it.</p>
<h2>Replacing Native Libraries with Your Versions</h2>