Squiz Matrix
4.12.2
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
All
Data Structures
Namespaces
Functions
Variables
Pages
workflow_step_management.inc
1
<?php
18
require_once SQ_INCLUDE_PATH.
'/asset_management.inc'
;
19
30
class
Workflow_Step_Management
extends
Asset_Management
31
{
32
33
38
function
__construct
(
Package_Manager
$pm)
39
{
40
Asset_Management::__construct($pm);
41
42
$this->vars = Array(
43
'name'
=> Array(
44
'default'
=>
''
,
45
),
46
'logic'
=> Array(
47
'added'
=>
'0.1'
,
48
'type'
=>
'text'
,
49
'default'
=>
'all'
,
50
),
51
'logic_num'
=> Array(
52
'added'
=>
'0.1'
,
53
'type'
=>
'int'
,
54
'default'
=>
'0'
,
55
),
56
'expiry_time'
=> Array(
57
'added'
=>
'0.1'
,
58
'type'
=>
'duration'
,
59
'default'
=>
'0'
,
60
),
61
'escalate'
=> Array(
62
'added'
=>
'0.3'
,
63
'type'
=>
'boolean'
,
64
'default'
=>
'false'
,
65
'parameters'
=> Array(
66
'allow_empty'
=> FALSE,
67
),
68
),
69
'require_comment_from_unlisted_users'
=> Array(
70
'added'
=>
'0.2'
,
71
'type'
=>
'boolean'
,
72
'default'
=>
'0'
,
73
'parameters'
=> Array(
74
'allow_empty'
=> FALSE,
75
),
76
),
77
'message_invitation'
=> Array(
78
'added'
=>
'0.4'
,
79
'type'
=>
'text'
,
80
'default'
=>
''
,
81
'description'
=>
'Custom message to users when this workflow step begins'
,
82
),
83
'message_review_invitation'
=> Array(
84
'added'
=>
'0.4'
,
85
'type'
=>
'text'
,
86
'default'
=>
''
,
87
'description'
=>
'Custom message to users when this workflow step begins by the Up for Review status'
,
88
),
89
'message_approve'
=> Array(
90
'added'
=>
'0.4'
,
91
'type'
=>
'text'
,
92
'default'
=>
''
,
93
'description'
=>
'Custom message to users when changes to an asset in workflow are approved by a user'
,
94
),
95
'message_reject'
=> Array(
96
'added'
=>
'0.4'
,
97
'type'
=>
'text'
,
98
'default'
=>
''
,
99
'description'
=>
'Custom message to users when changes to an asset in workflow are rejected by a user'
,
100
),
101
'message_review_cancel'
=> Array(
102
'added'
=>
'0.4'
,
103
'type'
=>
'text'
,
104
'default'
=>
''
,
105
'description'
=>
'Custom message to users when an asset in Up for Review workflow is cancelled by a user'
,
106
),
107
'message_stale'
=> Array(
108
'added'
=>
'0.4'
,
109
'type'
=>
'text'
,
110
'default'
=>
''
,
111
'description'
=>
'Custom message to users when the workflow passes the expiry time, but is not escalated'
,
112
),
113
'message_escalated'
=> Array(
114
'added'
=>
'0.4'
,
115
'type'
=>
'text'
,
116
'default'
=>
''
,
117
'description'
=>
'Custom message to users when the workflow is escalated from this step'
,
118
),
119
'subject_invitation'
=> Array(
120
'added'
=>
'0.4'
,
121
'type'
=>
'text'
,
122
'default'
=>
'Workflow Approval Required'
,
123
'description'
=>
'Custom subject to users when this workflow step begins'
,
124
),
125
'subject_review_invitation'
=> Array(
126
'added'
=>
'0.4'
,
127
'type'
=>
'text'
,
128
'default'
=>
'Asset Up For Review'
,
129
'description'
=>
'Custom subject to users when this workflow step begins by the Up for Review status'
,
130
),
131
'subject_approve'
=> Array(
132
'added'
=>
'0.4'
,
133
'type'
=>
'text'
,
134
'default'
=>
'Asset Changes Approved'
,
135
'description'
=>
'Custom subject to users when changes to an asset in workflow are approved by a user'
,
136
),
137
'subject_reject'
=> Array(
138
'added'
=>
'0.4'
,
139
'type'
=>
'text'
,
140
'default'
=>
'Asset Changes Rejected'
,
141
'description'
=>
'Custom subject to users when changes to an asset in workflow are rejected by a user'
,
142
),
143
'subject_review_cancel'
=> Array(
144
'added'
=>
'0.4'
,
145
'type'
=>
'text'
,
146
'default'
=>
'Asset Review Cancelled'
,
147
'description'
=>
'Custom subject to users when an asset in Up for Review workflow is cancelled by a user'
,
148
),
149
'subject_stale'
=> Array(
150
'added'
=>
'0.4'
,
151
'type'
=>
'text'
,
152
'default'
=>
'Stale Workflow Step'
,
153
'description'
=>
'Custom subject to users when the workflow passes the expiry time, but is not escalated'
,
154
),
155
'subject_escalated'
=> Array(
156
'added'
=>
'0.4'
,
157
'type'
=>
'text'
,
158
'default'
=>
'Workflow Escalated'
,
159
'description'
=>
'Custom subject to users when the workflow is escalated from this step'
,
160
),
161
);
162
163
}
//end constructor
164
165
166
}
//end class
167
168
?>
squiz_matrix
core
assets
workflow
workflow_step
workflow_step_management.inc
Generated on Tue Jan 29 2013 14:04:44 for Squiz Matrix by
1.8.3.1