PHP 클래스 FOF30\Configuration\Domain\Models

부터: 2.1
상속: implements FOF30\Configuration\Domain\DomainInterface
파일 보기 프로젝트 열기: akeeba/fof

공개 메소드들

메소드 설명
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