Class Object

Description

Object Class

Every instantiated class in PICKLES should be extending this class. By doing so the class is automatically hooked into the profiler, and the object will have access to some common components as well.

Located in /classes/Object.php (line 25)


	
			
Variable Summary
static mixed $instances
object $config
Method Summary
static object instance getInstance ([string $class = false])
Object __construct ()
void __destruct ()
Variables
static mixed $instances = array() (line 34)

Object Instances

  • access: protected
object $config = null (line 42)

Instance of the Config object

  • access: protected
Methods
static method getInstance (line 91)

Get Instance

Gets an instance of the passed class. Allows for easy sharing of certain classes within the system to avoid the extra overhead of creating new objects each time. Also avoids the hassle of passing around variables.

  • return: of the class
  • access: public
static object instance getInstance ([string $class = false])
  • string $class: name of the class
Constructor __construct (line 58)

Constructor

Establishes a Config instance for all children to enjoy

  • access: public
Object __construct ()
Destructor __destruct (line 112)

Destructor

  • access: public
void __destruct ()

Documentation generated on Wed, 03 Oct 2012 17:46:05 -0400 by phpDocumentor 1.4.4