PHP 클래스 FOF30\Configuration\Configuration

부터: 2.1
파일 보기 프로젝트 열기: akeeba/fof

공개 프로퍼티들

프로퍼티 타입 설명
$configurations array Cache of FOF components' configuration variables

보호된 프로퍼티들

프로퍼티 타입 설명
$container FOF30\Container\Container The component's container

공개 메소드들

메소드 설명
__construct ( Container $c )
get ( string $variable, mixed $default = null ) : mixed Returns the value of a variable. Variables use a dot notation, e.g.

보호된 메소드들

메소드 설명
getDomains ( ) : array Gets a list of the available configuration domain adapters
parseComponent ( ) : void Parses the configuration of the specified component
parseComponentArea ( string $area, boolean $userConfig = false ) : array Parses the configuration options of a specific component area

메소드 상세

__construct() 공개 메소드

public __construct ( Container $c )
$c FOF30\Container\Container

get() 공개 메소드

view.config.whatever where the first part is the domain, the rest of the parts specify the path to the variable.
public get ( string $variable, mixed $default = null ) : mixed
$variable string The variable name
$default mixed The default value, or null if not specified
리턴 mixed The value of the variable

getDomains() 보호된 메소드

Gets a list of the available configuration domain adapters
protected getDomains ( ) : array
리턴 array A list of the available domains

parseComponent() 보호된 메소드

Parses the configuration of the specified component
protected parseComponent ( ) : void
리턴 void

parseComponentArea() 보호된 메소드

Parses the configuration options of a specific component area
protected parseComponentArea ( string $area, boolean $userConfig = false ) : array
$area string Which area to parse (frontend, backend, cli)
$userConfig boolean When true the user configuration (fof.user.xml) file will be read
리턴 array A hash array with the configuration data

프로퍼티 상세

$configurations 공개적으로 정적으로 프로퍼티

Cache of FOF components' configuration variables
public static array $configurations
리턴 array

$container 보호되어 있는 프로퍼티

The component's container
protected Container,FOF30\Container $container
리턴 FOF30\Container\Container