Revision 795,
687 bytes
checked in by viani, 15 years ago
(diff) |
Ticket #488 - Inclusão do módulo workflow no ramo trunk do repositório Expresso.
|
-
Property svn:executable set to
*
|
Rev | Line | |
---|
[795] | 1 | <?php |
---|
| 2 | //Code to be executed after a start activity |
---|
| 3 | // we save name and others only when the instance |
---|
| 4 | // has been completed |
---|
| 5 | if ($instance->getActivityCompleted()) |
---|
| 6 | { |
---|
| 7 | if(isset($_REQUEST['wf_name'])) |
---|
| 8 | { |
---|
| 9 | $instance->setName($_REQUEST['wf_name']); |
---|
| 10 | } |
---|
| 11 | if(isset($_REQUEST['wf_priority'])) |
---|
| 12 | { |
---|
| 13 | $instance->setPriority((int)$_REQUEST['wf_priority']); |
---|
| 14 | } |
---|
| 15 | if(isset($_REQUEST['wf_set_next_user'])) |
---|
| 16 | { |
---|
| 17 | $instance->setNextUser((int)$_REQUEST['wf_set_next_user']); |
---|
| 18 | } |
---|
| 19 | if(isset($_REQUEST['wf_set_owner'])) |
---|
| 20 | { |
---|
| 21 | $instance->setOwner((int)$_REQUEST['wf_set_owner']); |
---|
| 22 | } |
---|
| 23 | if(isset($_REQUEST['wf_category'])) |
---|
| 24 | { |
---|
| 25 | $instance->setCategory((int)$_REQUEST['wf_category']); |
---|
| 26 | } |
---|
| 27 | |
---|
| 28 | } |
---|
| 29 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.