Solar
Overview

Next Page
Constants

Solar

The Solar arch-class provides static methods needed throughout the framework environment.

Catalog

This class is part of the Solar package.

Constants

None.

Public Properties

These are all the public properties in the Solar class.

You can also view the list of all public, protected, and private properties.

$config
The values read in from the configuration file.
$parents
Parent hierarchy for all classes.

Public Methods

These are all the public methods in the Solar class.

You can also view the list of all public, protected, and private methods.

apiVersion()
Returns the API version for Solar.
autoload()
Loads a class or interface file from the include_path.
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.