\Horde_Registry_Hordeconfig_Merged

Represents the merged configuration of an application with the base Horde configuration.

Summary

Methods
Properties
Constants
__construct()
toArray()
offsetExists()
offsetGet()
offsetSet()
offsetUnset()
count()
getIterator()
$app
No constants found
_load()
_merge()
$_config
$_aconfig
$_hconfig
$_merged
N/A
No private methods found
No private properties found
N/A

Properties

$app

$app : array

The application.

Type

array

$_config

$_config : array

The config data.

Type

array

$_merged

$_merged : boolean

Indicates whether config is fully merged.

Type

boolean

Methods

__construct()

__construct(array  $opts) 

Constructor.

Parameters

array $opts

Configuration options:

  - aconfig: (Horde_Registry_Hordeconfig) Application config.
  - hconfig: (Horde_Registry_Hordeconfig) Horde config.

toArray()

toArray() : array

Return the array representation of the configuration.

Returns

array —

Configuration array.

offsetExists()

offsetExists(  $offset) 

Parameters

$offset

offsetGet()

offsetGet(  $offset) 

Parameters

$offset

offsetSet()

offsetSet(  $offset,   $value) 

Parameters

$offset
$value

offsetUnset()

offsetUnset(  $offset) 

Parameters

$offset

count()

count() 

getIterator()

getIterator() 

_load()

_load(string  $offset) 

Load configuration from config file.

Parameters

string $offset

Offset.

_merge()

_merge(array  $a1, array  $a2) : array

Merge configurations between two applications.

See Bug #10381.

Parameters

array $a1

Horde configuration.

array $a2

App configuration.

Returns

array —

Merged configuration.