PHP Class Horde_Registry_Hordeconfig, horde

Since: 2.12.0
Author: Michael Slusarz ([email protected])
Inheritance: implements ArrayAccess, implements Countable, implements IteratorAggregate
Datei anzeigen Open project: horde/horde Class Usage Examples

Public Properties

Property Type Description
$app array The application.

Protected Properties

Property Type Description
$_config array The config data.

Public Methods

Method Description
__construct ( array $opts ) Constructor.
count ( )
getIterator ( )
offsetExists ( $offset )
offsetGet ( $offset )
offsetSet ( $offset, $value )
offsetUnset ( $offset )
toArray ( ) : array Return the array representation of the configuration.

Protected Methods

Method Description
_load ( string $offset ) Load configuration from config file.

Method Details

__construct() public method

Constructor.
public __construct ( array $opts )
$opts array Configuration options:
  - app: (string) Application.
  - config: (array) Use this as the configuration.

_load() protected method

Load configuration from config file.
protected _load ( string $offset )
$offset string Offset.

count() public method

public count ( )

getIterator() public method

public getIterator ( )

offsetExists() public method

public offsetExists ( $offset )

offsetGet() public method

public offsetGet ( $offset )

offsetSet() public method

public offsetSet ( $offset, $value )

offsetUnset() public method

public offsetUnset ( $offset )

toArray() public method

Return the array representation of the configuration.
public toArray ( ) : array
return array Configuration array.

Property Details

$_config protected_oe property

The config data.
protected array $_config
return array

$app public_oe property

The application.
public array $app
return array