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
Internal method to get table alias
string
getBehaviors
(string $table, array &$configuration, array $params, [string $default = ''])
-
string
$table: The table for which we will be fetching table alias
-
array
&$configuration: The configuration parameters hash array
-
array
$params: Extra options; key 0 defines the table we want to fetch
-
string
$default: Default table alias
Internal method to return the magic field mapping
array
getField
(string $table, array &$configuration, array $params, [string $default = ''])
-
string
$table: The table for which we will be fetching a field map
-
array
&$configuration: The configuration parameters hash array
-
array
$params: Extra options; key 0 defines the table we want to fetch
-
string
$default: Default magic field mapping; empty if not defined
Internal method to get table alias
string
getTablealias
(string $table, array &$configuration, array $params, [string $default = ''])
-
string
$table: The table for which we will be fetching table alias
-
array
&$configuration: The configuration parameters hash array
-
array
$params: Extra options; key 0 defines the table we want to fetch
-
string
$default: Default table alias
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