Documentation

SeedDMS_Core_Workflow_Transition
in package

Class to represent a workflow transition in the document management system

Tags
category

DMS

author

Markus Westphal, Malcolm Cowe, Uwe Steinmann uwe@steinmann.cx

copyright

Copyright (C) 2012-2024 Uwe Steinmann

version

Release: @package_version@

Table of Contents

Properties

$_action  : SeedDMS_Core_Workflow_Action
$_dms  : SeedDMS_Core_DMS
$_groups  : array<string|int, SeedDMS_Core_Group>
$_id  : int
$_maxtime  : int
$_nextstate  : SeedDMS_Core_Workflow_State
$_state  : SeedDMS_Core_Workflow_State
$_users  : array<string|int, SeedDMS_Core_User>
$_workflow  : SeedDMS_Core_Workflow

Methods

__construct()  : mixed
SeedDMS_Core_Workflow_Transition constructor.
getAction()  : SeedDMS_Core_Workflow_Action
getGroups()  : array<string|int, SeedDMS_Core_Group>|bool
Get all users allowed to trigger this transition
getID()  : int
getMaxTime()  : int
getNextState()  : SeedDMS_Core_Workflow_State
getState()  : SeedDMS_Core_Workflow_State
getUsers()  : array<string|int, SeedDMS_Core_User>|bool
Get all users allowed to trigger this transition
getWorkflow()  : SeedDMS_Core_Workflow
remove()  : bool
Remove the workflow transition
setAction()  : bool
setDMS()  : mixed
setMaxTime()  : bool
setNextState()  : bool
setState()  : bool
setWorkflow()  : bool

Properties

$_maxtime

public int $_maxtime

maximum of seconds allowed until this transition must be triggered

Tags
access

protected

Methods

__construct()

SeedDMS_Core_Workflow_Transition constructor.

public __construct( $id,  $workflow,  $state,  $action,  $nextstate,  $maxtime) : mixed
Parameters
$id :
$workflow :
$state :
$action :
$nextstate :
$maxtime :

remove()

Remove the workflow transition

public remove() : bool
Return values
bool

true on success or false in case of an error false is also returned if the workflow action is currently in use

setMaxTime()

public setMaxTime( $maxtime) : bool
Parameters
$maxtime :
Return values
bool
Loading…
On this page

Search results