PHP Class Pimcore\Config

Afficher le fichier Open project: pimcore/pimcore Class Usage Examples

Protected Properties

Свойство Type Description
$configFileCache array
$environment string

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
getRuntimeElementTreeConfig ( $name ) : array Returns the element tree config for the given config name

Method Details

getAvailablePerspectives() public static méthode

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

getEnvironment() public static méthode

public static getEnvironment ( ) : string
Résultat string

getFlag() public static méthode

public static getFlag ( $name ) : mixed
$name
Résultat mixed

getPerspectivesConfig() public static méthode

public static getPerspectivesConfig ( ) : mixed | Zend_Config
Résultat mixed | Zend_Config

getReportConfig() public static méthode

public static getReportConfig ( ) : Zend_Config
Résultat Zend_Config

getRuntimeElementTreeConfig() protected static méthode

Returns the element tree config for the given config name
protected static getRuntimeElementTreeConfig ( $name ) : array
$name
Résultat array

getRuntimePerspective() public static méthode

Gets the active perspective for the current user
public static getRuntimePerspective ( ) : array
Résultat array

getStandardPerspective() public static méthode

Returns the standard perspective settings
public static getStandardPerspective ( ) : array
Résultat array

getSystemConfig() public static méthode

public static getSystemConfig ( boolean $forceReload = false ) : mixed | null | Zend_Config
$forceReload boolean
Résultat mixed | null | Zend_Config

getWeb2PrintConfig() public static méthode

public static getWeb2PrintConfig ( ) : Zend_Config
Résultat Zend_Config

getWebsiteConfig() public static méthode

public static getWebsiteConfig ( ) : mixed | Zend_Config
Résultat mixed | Zend_Config

inPerspective() public static méthode

public static inPerspective ( $runtimeConfig, $key )

locateConfigFile() public static méthode

public static locateConfigFile ( $name ) : mixed
$name - name of configuration file. slash is allowed for subdirectories.
Résultat mixed

setEnvironment() public static méthode

public static setEnvironment ( string $environment )
$environment string

setFlag() public static méthode

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

setModelClassMappingConfig() public static méthode

public static setModelClassMappingConfig ( Zend_Config $config ) : void
$config Zend_Config
Résultat void

setPerspectivesConfig() public static méthode

public static setPerspectivesConfig ( Zend_Config $config ) : void
$config Zend_Config
Résultat void

setReportConfig() public static méthode

public static setReportConfig ( Zend_Config $config ) : void
$config Zend_Config
Résultat void

setSystemConfig() public static méthode

public static setSystemConfig ( Zend_Config $config ) : void
$config Zend_Config
Résultat void

setWeb2PrintConfig() public static méthode

public static setWeb2PrintConfig ( Zend_Config $config ) : void
$config Zend_Config
Résultat void

setWebsiteConfig() public static méthode

public static setWebsiteConfig ( Zend_Config $config ) : void
$config Zend_Config
Résultat void

Property Details

$configFileCache protected_oe static_oe property

protected static array $configFileCache
Résultat array

$environment protected_oe static_oe property

protected static string $environment
Résultat string