PHP Class FOF30\Configuration\Domain\Container

Since: 2.1
Inheritance: implements FOF30\Configuration\Domain\DomainInterface
Datei anzeigen Open project: akeeba/fof Class Usage Examples

Public Methods

Method Description
get ( &$configuration, string $var, mixed $default ) : mixed Return a configuration variable
parseDomain ( SimpleXMLElement $xml, array &$ret ) : void Parse the XML data, adding them to the $ret array

Method Details

get() public method

Return a configuration variable
public get ( &$configuration, string $var, mixed $default ) : mixed
$var string The variable we want to fetch
$default mixed Default value
return mixed The variable's value

parseDomain() public method

Parse the XML data, adding them to the $ret array
public parseDomain ( SimpleXMLElement $xml, array &$ret ) : void
$xml SimpleXMLElement The XML data of the component's configuration area
$ret array
return void