Commit 868e8c7590cfe6e20177eb6b2e26e90ec9f6181b
1 parent
05ae9522
Add a link to a descriptor that describes who should be informed when a
document enters this state. git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3882 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
3 additions
and
0 deletions
lib/workflow/workflowstate.inc.php
| @@ -38,6 +38,7 @@ class KTWorkflowState extends KTEntity { | @@ -38,6 +38,7 @@ class KTWorkflowState extends KTEntity { | ||
| 38 | "iWorkflowId" => "workflow_id", | 38 | "iWorkflowId" => "workflow_id", |
| 39 | "sName" => "name", | 39 | "sName" => "name", |
| 40 | "sHumanName" => "human_name", | 40 | "sHumanName" => "human_name", |
| 41 | + 'iInformDescriptorId' => 'inform_descriptor_id', | ||
| 41 | ); | 42 | ); |
| 42 | 43 | ||
| 43 | var $_bUsePearError = true; | 44 | var $_bUsePearError = true; |
| @@ -46,10 +47,12 @@ class KTWorkflowState extends KTEntity { | @@ -46,10 +47,12 @@ class KTWorkflowState extends KTEntity { | ||
| 46 | function getName() { return $this->sName; } | 47 | function getName() { return $this->sName; } |
| 47 | function getHumanName() { return $this->sHumanName; } | 48 | function getHumanName() { return $this->sHumanName; } |
| 48 | function getWorkflowId() { return $this->iWorkflowId; } | 49 | function getWorkflowId() { return $this->iWorkflowId; } |
| 50 | + function getInformDescriptorId() { return $this->iInformDescriptorId; } | ||
| 49 | function setId($iId) { $this->iId = $iId; } | 51 | function setId($iId) { $this->iId = $iId; } |
| 50 | function setName($sName) { $this->sName = $sName; } | 52 | function setName($sName) { $this->sName = $sName; } |
| 51 | function setHumanName($sHumanName) { $this->sHumanName = $sHumanName; } | 53 | function setHumanName($sHumanName) { $this->sHumanName = $sHumanName; } |
| 52 | function setWorkflowId($iWorkflowId) { $this->iWorkflowId = $iWorkflowId; } | 54 | function setWorkflowId($iWorkflowId) { $this->iWorkflowId = $iWorkflowId; } |
| 55 | + function setInformDescriptorId($iInformDescriptorId) { $this->iInformDescriptorId = $iInformDescriptorId; } | ||
| 53 | 56 | ||
| 54 | function _table () { | 57 | function _table () { |
| 55 | return KTUtil::getTableName('workflow_states'); | 58 | return KTUtil::getTableName('workflow_states'); |