Class FOFConfigDomainTables
Configuration parser for the tables-specific settings
-
FOFConfigDomainTables
implements
FOFConfigDomainInterface
Methods summary
public
|
#
parseDomain( SimpleXMLElement $xml, array & $ret )
Parse the XML data, adding them to the $ret array
Parse the XML data, adding them to the $ret array
Parameters
- $xml
SimpleXMLElement - $xml The XML data of the component's configuration area
- $ret
array - &$ret The parsed data, in the form of a hash array
Implementation of
|
public
mixed
|
#
get( string & $configuration, string $var, mixed $default )
Return a configuration variable
Return a configuration variable
Parameters
- $configuration
string - &$configuration Configuration variables (hashed array)
- $var
string - $var The variable we want to fetch
- $default
mixed - $default Default value
Returns
mixed - The variable's value
Implementation of
|
protected
array
|
#
getField( string $table, array & $configuration, array $params, string $default = '' )
Internal method to return the magic field mapping
Internal method to return the magic field mapping
Parameters
- $table
string - $table The table for which we will be fetching a field map
- $configuration
array - &$configuration The configuration parameters hash array
- $params
array - $params Extra options; key 0 defines the table we want to fetch
- $default
string - $default Default magic field mapping; empty if not defined
Returns
array - Field map
|
protected
string
|
#
getTablealias( string $table, array & $configuration, array $params, string $default = '' )
Internal method to get table alias
Internal method to get table alias
Parameters
- $table
string - $table The table for which we will be fetching table alias
- $configuration
array - &$configuration The configuration parameters hash array
- $params
array - $params Extra options; key 0 defines the table we want to fetch
- $default
string - $default Default table alias
Returns
string - Table alias
|
protected
string
|
#
getBehaviors( string $table, array & $configuration, array $params, string $default = '' )
Internal method to get table behaviours
Internal method to get table behaviours
Parameters
- $table
string - $table The table for which we will be fetching table alias
- $configuration
array - &$configuration The configuration parameters hash array
- $params
array - $params Extra options; key 0 defines the table we want to fetch
- $default
string - $default Default table alias
Returns
string - Table behaviours
|
protected
array
|
#
getRelations( string $table, array & $configuration, array $params, string $default = '' )
Internal method to get table relations
Internal method to get table relations
Parameters
- $table
string - $table The table for which we will be fetching table alias
- $configuration
array - &$configuration The configuration parameters hash array
- $params
array - $params Extra options; key 0 defines the table we want to fetch
- $default
string - $default Default table alias
Returns
array - Table relations
|
Magic methods summary