From c644128fdd49a47d791240e0e38b54cd22412bc5 Mon Sep 17 00:00:00 2001
From: Derek Allard
As an added bonus, CodeIgniter permits your libraries to extend native classes if you simply need to add some functionality -to an existing library. Or you can even replace native libraries just by placing identically named versions in your application/libraries folder. +to an existing library. Or you can even replace native libraries just by placing identically named versions in your application/libraries folder.
In summary:
@@ -266,7 +266,7 @@ to load the example above, which extends the Email class, you will use:$this->load->library('email');
Once loaded you will use the class variable as you normally would for the class you are extending. In the case of -the email class all calls will use: +the email class all calls will use:
$this->email->some_function();
@@ -293,7 +293,7 @@ Previous Topic: Using CodeIgniter Libraries<
Top of Page ·
User Guide Home ·
Next Topic: Creating Core System Classes
-+
CodeIgniter · Copyright © 2007 · Ellislab, Inc.
-- cgit v1.2.3-24-g4f1b