Previous Page
Methods

Solar_Role
__construct()

Next Page
__destruct()

__construct()

public Solar_Role __construct ( mixed $config default NULL )

Constructor.

Inherited from Solar_Base.

Parameters

  • (mixed) $config: User-defined configuration values.

Returns

  • (Solar_Role)

Description

Constructor.

If the $config param is an array, it is merged with the class config array and any values from the Solar.config.php file.

The Solar.config.php values are inherited along class parent lines; for example, all classes descending from Solar_Base use the Solar_Base config file values until overridden.