\SeedDMS_Core_Workflow_Transition_Group

Class to represent a group allowed to trigger a workflow transition

Summary

Methods
Properties
Constants
SeedDMS_Core_Workflow_Transition_Group()
setDMS()
getTransition()
getGroup()
getNumOfUsers()
$_id
$_transition
$_numOfUsers
$_group
$_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 transition

$_transition

$_transition : object

Type

object — reference to the transtion this group belongs to

$_numOfUsers

$_numOfUsers : integer

Type

integer — number of users how must trigger the transition

$_group

$_group : object

Type

object — group of users

$_dms

$_dms : object

Type

object — reference to the dms instance this attribute belongs to

Methods

SeedDMS_Core_Workflow_Transition_Group()

SeedDMS_Core_Workflow_Transition_Group( $id,  $transition,  $group,  $numOfUsers)

Parameters

$id
$transition
$group
$numOfUsers

setDMS()

setDMS( $dms)

Parameters

$dms

getTransition()

getTransition() : object

Get the transtion itself

Returns

object —

group

getGroup()

getGroup() : object

Get the group whose user are allowed to trigger the transition

Returns

object —

group

getNumOfUsers()

getNumOfUsers() : integer

Returns the number of users of this group needed to trigger the transition

Returns

integer —

number of users