Previous Page
Properties

Solar
Methods

Next Page
__construct()

Methods

Public

apiVersion()
Returns the API version for Solar.
autoload()
Loads a class or interface file from the include_path.
callbacks()
Runs a series of callbacks using call_user_func_array().
cleanGlobals()
Cleans the global scope of all variables that are found in other super-globals.
config()
Safely gets a configuration group array or element value.
dependency()
Combination dependency-injection and service-locator method; returns a dependency object as passed, or an object from the registry, or a new factory instance.
dump()
Dumps a variable to output.
exception()
Generates a simple exception, but does not throw it.
factory()
Convenience method to instantiate and configure an object.
fetchConfig()
Fetches config file values.
parents()
Returns an array of the parent classes for a given class.
start()
Starts Solar: loads configuration values and and sets up the environment.
stop()
Stops Solar: runs stop scripts and cleans up the Solar environment.

Protected

None.

Private

__construct()
Constructor is disabled to enforce a singleton pattern.