메소드 |
설명 |
|
__construct ( Newscoop\EventDispatcher\EventDispatcher $dispatcher, EntityManager $em ) |
|
|
addRight ( array $right ) : void |
Add dynamic right |
|
collectListObjects ( mixed $subject = null, array $options = [] ) : string |
Dispatch event for list objects registration |
|
collectPermissions ( mixed $subject = null, array $options = [] ) : array |
Dispatch event for plugins permissions |
|
getAllAvailablePlugins ( ) |
|
|
getEnabledPlugins ( ) |
|
|
getPluginByCriteria ( $criteria, $needle ) |
|
|
getPluginsDir ( ) |
|
|
getRights ( array $params ) : array |
Get rights |
|
isEnabled ( $pluginName ) |
|
|
isInstalled ( $pluginName ) |
|
|
removePluginPermissions ( array $pluginPermissions ) : void |
Remove plugin permissions from database |
|
removeRight ( array $params ) : void |
Remove right |
|
renderPluginHooks ( string $eventName, mixed $subject = null, array $options = null ) : string |
Dispatch hook event and render collected Response objects |
|
savePluginPermissions ( array $pluginPermissions ) : void |
Save plugin permissions in Newscoop ACL |
|