Nextcloud PHP API (stable18)

IManager

Interface IManager

Tags
since
9.1

Table of Contents

EVENT_NAME_REG_CHECK  = 'OCP\WorkflowEngine::registerChecks'
EVENT_NAME_REG_ENTITY  = 'OCP\WorkflowEngine::registerEntities'
EVENT_NAME_REG_OPERATION  = 'OCP\WorkflowEngine::registerOperations'
SCOPE_ADMIN  = 0
SCOPE_USER  = 1
getRuleMatcher()  : IRuleMatcher
registerCheck()  : void
Listen to `OCP\WorkflowEngine\Events\RegisterChecksEvent` at the IEventDispatcher for registering your operators.
registerEntity()  : void
Listen to `OCP\WorkflowEngine\Events\RegisterEntitiesEvent` at the IEventDispatcher for registering your entities.
registerOperation()  : void
Listen to `OCP\WorkflowEngine\Events\RegisterOperationsEvent` at the IEventDispatcher for registering your operators.

Constants

EVENT_NAME_REG_CHECK

public mixed EVENT_NAME_REG_CHECK = 'OCP\WorkflowEngine::registerChecks'

EVENT_NAME_REG_ENTITY

public mixed EVENT_NAME_REG_ENTITY = 'OCP\WorkflowEngine::registerEntities'

EVENT_NAME_REG_OPERATION

public mixed EVENT_NAME_REG_OPERATION = 'OCP\WorkflowEngine::registerOperations'
Tags
depreacted

Will be removed in NC19. Use the dedicated events in OCP\WorkflowEngine\Events

SCOPE_ADMIN

public mixed SCOPE_ADMIN = ""

Methods

registerCheck()

Listen to `OCP\WorkflowEngine\Events\RegisterChecksEvent` at the IEventDispatcher for registering your operators.

public registerCheck(ICheck $check) : void
Parameters
$check : ICheck
Tags
since
18.0.0

registerEntity()

Listen to `OCP\WorkflowEngine\Events\RegisterEntitiesEvent` at the IEventDispatcher for registering your entities.

public registerEntity(IEntity $entity) : void
Parameters
$entity : IEntity
Tags
since
18.0.0

registerOperation()

Listen to `OCP\WorkflowEngine\Events\RegisterOperationsEvent` at the IEventDispatcher for registering your operators.

public registerOperation(IOperation $operator) : void
Parameters
$operator : IOperation
Tags
since
18.0.0

Search results