diff options
Diffstat (limited to 'user_guide/general/creating_libraries.html')
-rw-r--r-- | user_guide/general/creating_libraries.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/user_guide/general/creating_libraries.html b/user_guide/general/creating_libraries.html index 73bc4d60f..fb3f41789 100644 --- a/user_guide/general/creating_libraries.html +++ b/user_guide/general/creating_libraries.html @@ -250,8 +250,11 @@ class MY_Email extends CI_Email {<br /> <code>$this->load->library('<kbd>my_</kbd>email');</code>
+<p>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:
+<code>$this-><kbd>email</kbd>->some_function();</code>
</div>
<!-- END CONTENT -->
|