PocketMine
PermissionAttachment Class Reference

Public Member Functions

 __construct (Plugin $plugin, Permissible $permissible)
 
 getPlugin ()
 
 setRemovalCallback (PermissionRemovedExecutor $ex)
 
 getRemovalCallback ()
 
 getPermissible ()
 
 getPermissions ()
 
 clearPermissions ()
 
 setPermissions (array $permissions)
 
 unsetPermissions (array $permissions)
 
 setPermission ($name, $value)
 
 unsetPermission ($name)
 
 remove ()
 

Constructor & Destructor Documentation

__construct ( Plugin  $plugin,
Permissible  $permissible 
)
Parameters
Plugin$plugin
Permissible$permissible
Exceptions
PluginException

Member Function Documentation

clearPermissions ( )
Returns
bool[]
getPermissible ( )
Returns
Permissible
getPermissions ( )
Returns
bool[]
getPlugin ( )
Returns
Plugin
getRemovalCallback ( )
remove ( )
Returns
void
setPermission (   $name,
  $value 
)
Parameters
string | Permission$name
bool$value
setPermissions ( array  $permissions)
Parameters
bool[]$permissions
setRemovalCallback ( PermissionRemovedExecutor  $ex)
unsetPermission (   $name)
Parameters
string | Permission$name
unsetPermissions ( array  $permissions)
Parameters
string[]$permissions

The documentation for this class was generated from the following file: