PHP Class Horde_Registry_Hordeconfig, horde

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

Méthodes publiques

Свойство Type Description
$app array The application.

Protected Properties

Свойство Type Description
$_config array The config data.

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
_load ( string $offset ) Load configuration from config file.

Method Details

__construct() public méthode

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

_load() protected méthode

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

count() public méthode

public count ( )

getIterator() public méthode

public getIterator ( )

offsetExists() public méthode

public offsetExists ( $offset )

offsetGet() public méthode

public offsetGet ( $offset )

offsetSet() public méthode

public offsetSet ( $offset, $value )

offsetUnset() public méthode

public offsetUnset ( $offset )

toArray() public méthode

Return the array representation of the configuration.
public toArray ( ) : array
Résultat array Configuration array.

Property Details

$_config protected_oe property

The config data.
protected array $_config
Résultat array

$app public_oe property

The application.
public array $app
Résultat array