PHP 클래스 Pimcore\Config

파일 보기 프로젝트 열기: pimcore/pimcore 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$configFileCache array
$environment string

공개 메소드들

메소드 설명
getAvailablePerspectives ( User $user ) : array Returns a list of available perspectives for the given user
getEnvironment ( ) : string
getFlag ( $name ) : mixed
getPerspectivesConfig ( ) : mixed | Zend_Config
getReportConfig ( ) : Zend_Config
getRuntimePerspective ( ) : array Gets the active perspective for the current user
getStandardPerspective ( ) : array Returns the standard perspective settings
getSystemConfig ( boolean $forceReload = false ) : mixed | null | Zend_Config
getWeb2PrintConfig ( ) : Zend_Config
getWebsiteConfig ( ) : mixed | Zend_Config
inPerspective ( $runtimeConfig, $key )
locateConfigFile ( $name ) : mixed
setEnvironment ( string $environment )
setFlag ( $name, $value )
setModelClassMappingConfig ( Zend_Config $config ) : void
setPerspectivesConfig ( Zend_Config $config ) : void
setReportConfig ( Zend_Config $config ) : void
setSystemConfig ( Zend_Config $config ) : void
setWeb2PrintConfig ( Zend_Config $config ) : void
setWebsiteConfig ( Zend_Config $config ) : void

보호된 메소드들

메소드 설명
getRuntimeElementTreeConfig ( $name ) : array Returns the element tree config for the given config name

메소드 상세

getAvailablePerspectives() 공개 정적인 메소드

Returns a list of available perspectives for the given user
public static getAvailablePerspectives ( User $user ) : array
$user Pimcore\Model\User
리턴 array

getEnvironment() 공개 정적인 메소드

public static getEnvironment ( ) : string
리턴 string

getFlag() 공개 정적인 메소드

public static getFlag ( $name ) : mixed
$name
리턴 mixed

getPerspectivesConfig() 공개 정적인 메소드

public static getPerspectivesConfig ( ) : mixed | Zend_Config
리턴 mixed | Zend_Config

getReportConfig() 공개 정적인 메소드

public static getReportConfig ( ) : Zend_Config
리턴 Zend_Config

getRuntimeElementTreeConfig() 보호된 정적인 메소드

Returns the element tree config for the given config name
protected static getRuntimeElementTreeConfig ( $name ) : array
$name
리턴 array

getRuntimePerspective() 공개 정적인 메소드

Gets the active perspective for the current user
public static getRuntimePerspective ( ) : array
리턴 array

getStandardPerspective() 공개 정적인 메소드

Returns the standard perspective settings
public static getStandardPerspective ( ) : array
리턴 array

getSystemConfig() 공개 정적인 메소드

public static getSystemConfig ( boolean $forceReload = false ) : mixed | null | Zend_Config
$forceReload boolean
리턴 mixed | null | Zend_Config

getWeb2PrintConfig() 공개 정적인 메소드

public static getWeb2PrintConfig ( ) : Zend_Config
리턴 Zend_Config

getWebsiteConfig() 공개 정적인 메소드

public static getWebsiteConfig ( ) : mixed | Zend_Config
리턴 mixed | Zend_Config

inPerspective() 공개 정적인 메소드

public static inPerspective ( $runtimeConfig, $key )

locateConfigFile() 공개 정적인 메소드

public static locateConfigFile ( $name ) : mixed
$name - name of configuration file. slash is allowed for subdirectories.
리턴 mixed

setEnvironment() 공개 정적인 메소드

public static setEnvironment ( string $environment )
$environment string

setFlag() 공개 정적인 메소드

public static setFlag ( $name, $value )
$name
$value

setModelClassMappingConfig() 공개 정적인 메소드

public static setModelClassMappingConfig ( Zend_Config $config ) : void
$config Zend_Config
리턴 void

setPerspectivesConfig() 공개 정적인 메소드

public static setPerspectivesConfig ( Zend_Config $config ) : void
$config Zend_Config
리턴 void

setReportConfig() 공개 정적인 메소드

public static setReportConfig ( Zend_Config $config ) : void
$config Zend_Config
리턴 void

setSystemConfig() 공개 정적인 메소드

public static setSystemConfig ( Zend_Config $config ) : void
$config Zend_Config
리턴 void

setWeb2PrintConfig() 공개 정적인 메소드

public static setWeb2PrintConfig ( Zend_Config $config ) : void
$config Zend_Config
리턴 void

setWebsiteConfig() 공개 정적인 메소드

public static setWebsiteConfig ( Zend_Config $config ) : void
$config Zend_Config
리턴 void

프로퍼티 상세

$configFileCache 보호되어 있는 정적으로 프로퍼티

protected static array $configFileCache
리턴 array

$environment 보호되어 있는 정적으로 프로퍼티

protected static string $environment
리턴 string