PHP Class Jarves\Configuration\Options

Inheritance: extends Model
Afficher le fichier Open project: jarves/jarves Class Usage Examples

Protected Properties

Свойство Type Description
$keyName
$optionName
$options array
$rootName

Méthodes publiques

Méthode Description
extractOptions ( DOMNode $child, array &$options )
fromArray ( $values, $key = null )
getLength ( )
getOption ( string $key ) : mixed
getOptions ( ) : array
removeOption ( string $key )
setOption ( string $key, $val )
setOptions ( array $options )
setupObject ( $jarves = null )
toArray ( $element = NULL ) : array

Méthodes protégées

Méthode Description
appendOptions ( array $values, DOMNode $node, string $name = null )
appendOptionsXml ( DOMNode $node, boolean $printDefaults = false )

Method Details

appendOptions() protected méthode

protected appendOptions ( array $values, DOMNode $node, string $name = null )
$values array
$node DOMNode
$name string

appendOptionsXml() protected méthode

protected appendOptionsXml ( DOMNode $node, boolean $printDefaults = false )
$node DOMNode
$printDefaults boolean

extractOptions() public méthode

public extractOptions ( DOMNode $child, array &$options )
$child DOMNode
$options array

fromArray() public méthode

public fromArray ( $values, $key = null )

getLength() public méthode

public getLength ( )

getOption() public méthode

public getOption ( string $key ) : mixed
$key string
Résultat mixed

getOptions() public méthode

public getOptions ( ) : array
Résultat array

removeOption() public méthode

public removeOption ( string $key )
$key string

setOption() public méthode

public setOption ( string $key, $val )
$key string
$val

setOptions() public méthode

public setOptions ( array $options )
$options array

setupObject() public méthode

public setupObject ( $jarves = null )

toArray() public méthode

public toArray ( $element = NULL ) : array
$element
Résultat array

Property Details

$keyName protected_oe property

protected $keyName

$optionName protected_oe property

protected $optionName

$options protected_oe property

protected array $options
Résultat array

$rootName protected_oe property

protected $rootName