PHP Класс FOF30\Configuration\Domain\Models

С версии: 2.1
Наследование: implements FOF30\Configuration\Domain\DomainInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
getBehaviors ( string $model, &$configuration, array $params, string $default = '' ) : string Internal method to get model behaviours
getConfig ( string $model, &$configuration, array $params, mixed $default = null ) : string Internal method to return the a configuration option for the Model.
getField ( string $model, &$configuration, array $params, string $default = '' ) : array Internal method to return the magic field mapping
getRelations ( string $model, &$configuration, array $params, string $default = '' ) : array Internal method to get model relations
getTablealias ( string $model, &$configuration, array $params, string $default = '' ) : string Internal method to get model alias

Описание методов

get() публичный Метод

Return a configuration variable
public get ( &$configuration, string $var, mixed $default ) : mixed
$var string The variable we want to fetch
$default mixed Default value
Результат mixed The variable's value

getBehaviors() защищенный Метод

Internal method to get model behaviours
protected getBehaviors ( string $model, &$configuration, array $params, string $default = '' ) : string
$model string The model for which we will be fetching behaviours
$params array Unused
$default string Default behaviour
Результат string Model behaviours

getConfig() защищенный Метод

Internal method to return the a configuration option for the Model.
protected getConfig ( string $model, &$configuration, array $params, mixed $default = null ) : string
$model string The view for which we will be fetching a task map
$params array Extra options; key 0 defines the option variable we want to fetch
$default mixed Default option; null if not defined
Результат string The setting for the requested option

getField() защищенный Метод

Internal method to return the magic field mapping
protected getField ( string $model, &$configuration, array $params, string $default = '' ) : array
$model string The model for which we will be fetching a field map
$params array Extra options
$default string Default magic field mapping; empty if not defined
Результат array Field map

getRelations() защищенный Метод

Internal method to get model relations
protected getRelations ( string $model, &$configuration, array $params, string $default = '' ) : array
$model string The model for which we will be fetching relations
$params array Unused
$default string Default relations
Результат array Model relations

getTablealias() защищенный Метод

Internal method to get model alias
protected getTablealias ( string $model, &$configuration, array $params, string $default = '' ) : string
$model string The model for which we will be fetching table alias
$params array Ignored
$default string Default table alias
Результат string Table alias

parseDomain() публичный Метод

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
Результат void