Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
workflow_bundle_management.inc
1 <?php
18 require_once SQ_INCLUDE_PATH.'/asset_management.inc';
19 
31 {
32 
33 
41  {
42  Asset_Management::__construct($pm);
43 
44  $this->vars = Array(
45  'name' => Array(
46  'added' => '0.1',
47  'type' => 'text',
48  'default' => '',
49  ),
50  // Messages for each stage in the workflow process
51  'start_workflow_subject' => Array(
52  'added' => '0.1',
53  'type' => 'text',
54  'default' => 'Workflow Approval Required',
55  ),
56  'progress_workflow_subject' => Array(
57  'added' => '0.1',
58  'type' => 'text',
59  'default' => 'Workflow Approval Required',
60  ),
61  'approve_workflow_subject' => Array(
62  'added' => '0.1',
63  'type' => 'text',
64  'default' => 'Workflow Approved',
65  ),
66  'reject_workflow_subject' => Array(
67  'added' => '0.1',
68  'type' => 'text',
69  'default' => 'Workflow Rejected',
70  ),
71  'auto_approve_progress_workflow_subject' => Array(
72  'added' => '0.1',
73  'type' => 'text',
74  'default' => 'Workflow Started',
75  ),
76  // Messages for each stage in the workflow process
77  'start_workflow_msg' => Array(
78  'added' => '0.1',
79  'type' => 'wysiwyg',
80  'default' => '',
81  ),
82  'progress_workflow_msg' => Array(
83  'added' => '0.1',
84  'type' => 'wysiwyg',
85  'default' => '',
86  ),
87  'approve_workflow_msg' => Array(
88  'added' => '0.1',
89  'type' => 'wysiwyg',
90  'default' => '',
91  ),
92  'reject_workflow_msg' => Array(
93  'added' => '0.1',
94  'type' => 'wysiwyg',
95  'default' => '',
96  ),
97  'auto_approve_progress_workflow_msg' => Array(
98  'added' => '0.1',
99  'type' => 'wysiwyg',
100  'default' => '',
101  ),
102  );
103 
104  }//end constructor
105 
106 
113  function getEventList()
114  {
115  return Array(
116  Array(
117  'event_name' => 'AssetStatusUpdate',
118  'broadcast_type_code' => 'global',
119  'broadcast_strict_type_code' => FALSE,
120  'options' => Array(
121  'side_of_link' => 'minor',
122  'indirect' => FALSE,
123  'global' => FALSE,
124  'is_exclusive' => NULL,
125  'is_dependant' => NULL,
126  'value' => '',
127  'link_type' => SQ_LINK_NOTICE,
128  ),
129  ),
130  );
131 
132  }//end getEventList()
133 
134 
135 }//end class
136 
137 ?>