Documentation

Horde_Registry_Hordeconfig
in package
implements ArrayAccess, Countable, IteratorAggregate

Represents the configuration for a Horde application.

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2014-2017 Horde LLC

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

since
2.12.0

Table of Contents

Interfaces

ArrayAccess
Countable
IteratorAggregate

Properties

$app  : array<string|int, mixed>
The application.
$_config  : array<string|int, mixed>
The config data.

Methods

__construct()  : mixed
Constructor.
count()  : mixed
getIterator()  : Traversable
offsetExists()  : mixed
offsetGet()  : mixed
offsetSet()  : mixed
offsetUnset()  : mixed
toArray()  : array<string|int, mixed>
Return the array representation of the configuration.
_load()  : mixed
Load configuration from config file.

Properties

$app

The application.

public array<string|int, mixed> $app

$_config

The config data.

protected array<string|int, mixed> $_config

Methods

__construct()

Constructor.

public __construct(array<string|int, mixed> $opts) : mixed
Parameters
$opts : array<string|int, mixed>

Configuration options:

  - app: (string) Application.
  - config: (array) Use this as the configuration.

getIterator()

public getIterator() : Traversable
Return values
Traversable

offsetExists()

public offsetExists(mixed $offset) : mixed
Parameters
$offset : mixed

offsetGet()

public offsetGet(mixed $offset) : mixed
Parameters
$offset : mixed

offsetSet()

public offsetSet(mixed $offset, mixed $value) : mixed
Parameters
$offset : mixed
$value : mixed

offsetUnset()

public offsetUnset(mixed $offset) : mixed
Parameters
$offset : mixed

toArray()

Return the array representation of the configuration.

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

Configuration array.

_load()

Load configuration from config file.

protected _load(string $offset) : mixed
Parameters
$offset : string

Offset.


        
On this page

Search results