PHP Class Newscoop\EventDispatcher\Events\PluginPermissionsEvent

Inheritance: extends Symfony\Component\EventDispatcher\GenericEvent
Show file Open project: sourcefabric/newscoop Class Usage Examples

Public Properties

Property Type Description
$permissions array Permissions array

Public Methods

Method Description
getPermissions ( ) : array Get all plugin permissions
registerPermissions ( string $name, array $permissions ) Register permissions

Method Details

getPermissions() public method

Get all plugin permissions
public getPermissions ( ) : array
return array

registerPermissions() public method

Register permissions
public registerPermissions ( string $name, array $permissions )
$name string Plugin name
$permissions array Permissions array

Property Details

$permissions public property

Permissions array
public array $permissions
return array