PHP Class Pimcore\ExtensionManager

Show file Open project: pimcore/pimcore Class Usage Examples

Public Methods

Method Description
delete ( $id, $type )
disable ( $type, $id ) : void
enable ( $type, $id ) : void
getBrickConfig ( $id, $path = null )
getBrickConfigs ( null $customPath = null ) : array | mixed
getBrickDirectories ( null $customPath = null ) : array | mixed
getConfig ( ) : Zend_Config
getPathForExtension ( $id, $type ) : string
getPluginConfig ( $id )
getPluginConfigs ( ) : Array
isEnabled ( $type, $id ) : boolean
setConfig ( Zend_Config $config ) : void

Method Details

delete() public static method

public static delete ( $id, $type )
$id
$type

disable() public static method

public static disable ( $type, $id ) : void
$type
$id
return void

enable() public static method

public static enable ( $type, $id ) : void
$type
$id
return void

getBrickConfig() public static method

public static getBrickConfig ( $id, $path = null )
$id

getBrickConfigs() public static method

public static getBrickConfigs ( null $customPath = null ) : array | mixed
$customPath null
return array | mixed

getBrickDirectories() public static method

public static getBrickDirectories ( null $customPath = null ) : array | mixed
$customPath null
return array | mixed

getConfig() public static method

public static getConfig ( ) : Zend_Config
return Zend_Config

getPathForExtension() public static method

public static getPathForExtension ( $id, $type ) : string
$id
$type
return string

getPluginConfig() public static method

public static getPluginConfig ( $id )
$id

getPluginConfigs() public static method

public static getPluginConfigs ( ) : Array
return Array $pluginConfigs

isEnabled() public static method

public static isEnabled ( $type, $id ) : boolean
$type
$id
return boolean

setConfig() public static method

public static setConfig ( Zend_Config $config ) : void
$config Zend_Config
return void