PHP 클래스 Pimcore\API\Plugin\Broker

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

보호된 프로퍼티들

프로퍼티 타입 설명
$_plugins array Array of instance of objects extending Pimcore_API_Plugin_Abstract

공개 메소드들

메소드 설명
getInstance ( ) : mixed | Broker
getPlugin ( $class ) : array | boolean
getPlugins ( ) : array Retrieve all plugins
getSystemComponents ( ) : array Returns Plugins and Modules
getTranslations ( string $language ) : Array
hasPlugin ( string $class ) : boolean Is a plugin of a particular class registered?
registerPlugin ( Pimcore\API\Plugin\AbstractPlugin $plugin, null $stackIndex = null )
unregisterPlugin ( $plugin )

메소드 상세

getInstance() 공개 정적인 메소드

public static getInstance ( ) : mixed | Broker
리턴 mixed | Broker

getPlugin() 공개 메소드

public getPlugin ( $class ) : array | boolean
$class
리턴 array | boolean

getPlugins() 공개 메소드

Retrieve all plugins
public getPlugins ( ) : array
리턴 array

getSystemComponents() 공개 메소드

Returns Plugins and Modules
public getSystemComponents ( ) : array
리턴 array

getTranslations() 공개 메소드

public getTranslations ( string $language ) : Array
$language string
리턴 Array $translations

hasPlugin() 공개 메소드

Is a plugin of a particular class registered?
public hasPlugin ( string $class ) : boolean
$class string
리턴 boolean

registerPlugin() 공개 메소드

public registerPlugin ( Pimcore\API\Plugin\AbstractPlugin $plugin, null $stackIndex = null )
$plugin Pimcore\API\Plugin\AbstractPlugin
$stackIndex null

unregisterPlugin() 공개 메소드

public unregisterPlugin ( $plugin )
$plugin

프로퍼티 상세

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

Array of instance of objects extending Pimcore_API_Plugin_Abstract
protected array $_plugins
리턴 array