PocketMine
PermissibleBase Class Reference
Inheritance diagram for PermissibleBase:
Permissible ServerOperator

Public Member Functions

 __construct (ServerOperator $opable)
 
 isOp ()
 
 setOp ($value)
 
 isPermissionSet ($name)
 
 hasPermission ($name)
 
 addAttachment (Plugin $plugin, $name=null, $value=null)
 
 removeAttachment (PermissionAttachment $attachment)
 
 recalculatePermissions ()
 
 clearPermissions ()
 
 getEffectivePermissions ()
 

Constructor & Destructor Documentation

__construct ( ServerOperator  $opable)
Parameters
ServerOperator$opable

Member Function Documentation

addAttachment ( Plugin  $plugin,
  $name = null,
  $value = null 
)

//TODO: tick scheduled attachments

Parameters
Plugin$plugin
string$name
bool$value
Returns
PermissionAttachment
Exceptions
PluginException

Implements Permissible.

getEffectivePermissions ( )
Returns
PermissionAttachmentInfo[]

Implements Permissible.

hasPermission (   $name)
Parameters
Permission | string$name
Returns
bool

Implements Permissible.

isOp ( )
Returns
bool

Implements ServerOperator.

isPermissionSet (   $name)
Parameters
Permission | string$name
Returns
bool

Implements Permissible.

recalculatePermissions ( )
Returns
void

Implements Permissible.

removeAttachment ( PermissionAttachment  $attachment)
Parameters
PermissionAttachment$attachment
Exceptions

Implements Permissible.

setOp (   $value)
Parameters
bool$value
Exceptions

Implements ServerOperator.


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