Return a configuration variable
mixed
get
(string &$configuration, string $var, mixed $default)
-
string
&$configuration: Configuration variables (hashed array)
-
string
$var: The variable we want to fetch
-
mixed
$default: Default value
Implementation of:
- FOFConfigDomainInterface::get()
- Return a configuration variable
Parse the XML data, adding them to the $ret array
void
parseDomain
(SimpleXMLElement $xml, array &$ret)
-
SimpleXMLElement
$xml: The XML data of the component's configuration area
-
array
&$ret: The parsed data, in the form of a hash array
Implementation of:
- FOFConfigDomainInterface::parseDomain()
- Parse the XML data, adding them to the $ret array