From d2df9bc7cc9d4b3e53818470c5d0977c9a36677c Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Sun, 15 Apr 2007 17:41:17 +0000 Subject: update pMachine to EllisLab update copyright year update Code Igniter to CodeIgniter --- user_guide/general/ancillary_classes.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'user_guide/general/ancillary_classes.html') diff --git a/user_guide/general/ancillary_classes.html b/user_guide/general/ancillary_classes.html index 7bf285f47..f4961618a 100644 --- a/user_guide/general/ancillary_classes.html +++ b/user_guide/general/ancillary_classes.html @@ -2,7 +2,7 @@ -Code Igniter User Guide +CodeIgniter User Guide @@ -22,7 +22,7 @@ window.onload = function() { - + @@ -33,7 +33,7 @@ window.onload = function() {
- +

Code Igniter User Guide Version 1.5.2

CodeIgniter User Guide Version 1.5.3

@@ -45,7 +45,7 @@ window.onload = function() { @@ -63,15 +63,15 @@ Creating Ancillary Classes

Creating Ancillary Classes

In some cases you may want to develop classes that exist apart from your controllers but have the ability to -utilize all of Code Igniter's resources. This is easily possible as you'll see.

+utilize all of CodeIgniter's resources. This is easily possible as you'll see.

get_instance()

-

Any class that you instantiate within your controller functions can access Code Igniter's native resources simply by using the get_instance() function. -This function returns the main Code Igniter object.

+

Any class that you instantiate within your controller functions can access CodeIgniter's native resources simply by using the get_instance() function. +This function returns the main CodeIgniter object.

-

Normally, to call any of the available Code Igniter functions requires you to use the $this construct:

+

Normally, to call any of the available CodeIgniter functions requires you to use the $this construct:

$this->load->helper('url');
@@ -81,10 +81,10 @@ etc.

$this, however, only works within your controllers, your models, or your views. -If you would like to use Code Igniter's classes from within your own custom classes you can do so as follows:

+If you would like to use CodeIgniter's classes from within your own custom classes you can do so as follows:

-

First, assign the Code Igniter object to a variable:

+

First, assign the CodeIgniter object to a variable:

$CI =& get_instance(); @@ -102,7 +102,7 @@ etc.

$CI =& get_instance();

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

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

@@ -115,7 +115,7 @@ Previous Topic:  Creating Core Libra User Guide Home   ·   Next Topic:  Auto-loading Resources

-

Code Igniter  ·  Copyright © 2006  ·  Ellislab, Inc.

+

CodeIgniter  ·  Copyright © 2007  ·  Ellislab, Inc.

-- cgit v1.2.3-24-g4f1b