ICheck
                
            in
            
        
    
        
            Interface ICheck
Tags
Table of Contents
Methods
- executeCheck() : bool
- isAvailableForScope() : bool
- returns whether the operation can be used in the requested scope.
- supportedEntities() : array<string|int, mixed>
- returns a list of Entities the checker supports. The values must match the class name of the entity.
- validateCheck() : mixed
Methods
executeCheck()
    public
                    executeCheck(string $operator, string $value) : bool
    Parameters
- $operator : string
- $value : string
Tags
Return values
boolisAvailableForScope()
returns whether the operation can be used in the requested scope.
    public
                    isAvailableForScope(int $scope) : bool
    Scope IDs are defined as constants in OCP\WorkflowEngine\IManager. At time of writing these are SCOPE_ADMIN and SCOPE_USER.
For possibly unknown future scopes the recommended behaviour is: if
user scope is permitted, the default behaviour should return true,
otherwise false.
Parameters
- $scope : int
Tags
Return values
boolsupportedEntities()
returns a list of Entities the checker supports. The values must match the class name of the entity.
    public
                    supportedEntities() : array<string|int, mixed>
    An empty result means the check is universally available.
Tags
Return values
array<string|int, mixed>validateCheck()
    public
                    validateCheck(string $operator, string $value) : mixed
    Parameters
- $operator : string
- $value : string