\SeedDMS_Core_Workflow_Action

Class to represent a workflow action in the document management system

Summary

Methods
Properties
Constants
SeedDMS_Core_Workflow_Action()
setDMS()
getID()
getName()
setName()
isUsed()
remove()
$_id
$_name
$_dms
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$_id

$_id : integer

Type

integer — id of workflow action

$_name

$_name : \name

Type

\name — of the workflow action

$_dms

$_dms : object

Type

object — reference to the dms instance this attribute belongs to

Methods

SeedDMS_Core_Workflow_Action()

SeedDMS_Core_Workflow_Action( $id,  $name)

Parameters

$id
$name

setDMS()

setDMS( $dms)

Parameters

$dms

getID()

getID()

getName()

getName()

setName()

setName( $newName)

Parameters

$newName

isUsed()

isUsed() : boolean

Check if workflow action is currently used by any workflow transition

Returns

boolean —

true if workflow action is used, otherwise false

remove()

remove() : boolean

Remove the workflow action

Returns

boolean —

true on success or false in case of an error

    false is also returned if the workflow action is currently in use