|
| | parseDomain (SimpleXMLElement $xml, array &$ret) |
| |
| | get (&$configuration, $var, $default) |
| |
|
| | getField ($table, &$configuration, $params, $default='') |
| |
| | getTablealias ($table, &$configuration, $params, $default='') |
| |
| | getBehaviors ($table, &$configuration, $params, $default='') |
| |
| | getRelations ($table, &$configuration, $params, $default='') |
| |
◆ get()
| get |
( |
& |
$configuration, |
|
|
|
$var, |
|
|
|
$default |
|
) |
| |
Return a configuration variable
- Paramètres
-
| string | &$configuration | Configuration variables (hashed array) |
| string | $var | The variable we want to fetch |
| mixed | $default | Default value |
- Renvoie
- mixed The variable's value
Implémente FOFConfigDomainInterface.
Références $default, $parts, et $view.
◆ getBehaviors()
| getBehaviors |
( |
|
$table, |
|
|
& |
$configuration, |
|
|
|
$params, |
|
|
|
$default = '' |
|
) |
| |
|
protected |
Internal method to get table behaviours
- Paramètres
-
| 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 |
- Renvoie
- string Table behaviours
Références $default.
◆ getField()
| getField |
( |
|
$table, |
|
|
& |
$configuration, |
|
|
|
$params, |
|
|
|
$default = '' |
|
) |
| |
|
protected |
Internal method to return the magic field mapping
- Paramètres
-
| 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 |
- Renvoie
- array Field map
Références $default, $params, et elseif.
◆ getRelations()
| getRelations |
( |
|
$table, |
|
|
& |
$configuration, |
|
|
|
$params, |
|
|
|
$default = '' |
|
) |
| |
|
protected |
Internal method to get table relations
- Paramètres
-
| 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 |
- Renvoie
- array Table relations
Références $default.
◆ getTablealias()
| getTablealias |
( |
|
$table, |
|
|
& |
$configuration, |
|
|
|
$params, |
|
|
|
$default = '' |
|
) |
| |
|
protected |
Internal method to get table alias
- Paramètres
-
| 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 |
- Renvoie
- string Table alias
Références $default.
◆ parseDomain()
| parseDomain |
( |
SimpleXMLElement |
$xml, |
|
|
array & |
$ret |
|
) |
| |
Parse the XML data, adding them to the $ret array
- Paramètres
-
| SimpleXMLElement | $xml | The XML data of the component's configuration area |
| array | &$ret | The parsed data, in the form of a hash array |
- Renvoie
- void
Implémente FOFConfigDomainInterface.
Références $default, $field, $key, $type, et null.
La documentation de cette classe a été générée à partir du fichier suivant :