CI_Base Class Reference

Inheritance diagram for CI_Base:
Collaboration diagram for CI_Base:

List of all members.


Public Member Functions

 CI_Base ()
 CI_Base ()

Static Public Member Functions

static & get_instance ()

Static Private Attributes

static $instance

Detailed Description

Definition at line 41 of file Base4.php.


Member Function Documentation

CI_Base::CI_Base (  ) 

Definition at line 37 of file Base5.php.

00038         {
00039                 self::$instance =& $this;
00040         }

CI_Base::CI_Base (  ) 

Definition at line 43 of file Base4.php.

References CI_Loader::CI_Loader().

Referenced by Controller::Controller().

00044         {
00045                 // This allows syntax like $this->load->foo() to work
00046                 parent::CI_Loader();
00047                 $this->load =& $this;
00048                 
00049                 // This allows resources used within controller constructors to work
00050                 global $OBJ;
00051                 $OBJ = $this->load; // Do NOT use a reference.
00052         }

Here is the call graph for this function:

Here is the caller graph for this function:

static& CI_Base::get_instance (  )  [static]

Definition at line 42 of file Base5.php.

Referenced by get_instance().

00043         {
00044                 return self::$instance;
00045         }

Here is the caller graph for this function:


Member Data Documentation

CI_Base::$instance [static, private]

Definition at line 35 of file Base5.php.


The documentation for this class was generated from the following files: