simpleWorkflow
  • Class
  • Tree

Classes

  • SWActiveRecord
  • SWActiveRecordBehavior
  • SWComponent
  • SWEvent
  • SWException
  • SWHelper
  • SWNode
  • SWPhpWorkflowSource
  • SWValidator
  • SWWorkflowSource
  • SWyEdConverter
  • SWyEdConverterDOM
 1 <?php
 2 /**
 3  * This is the base class for all components that needs to handle events
 4  * fired by the simpleWorkflow behavior.
 5  * Note that in most cases, this class is not used as the sW behavior is usually
 6  * attached to a CActiveRecord object.
 7  */
 8 class SWComponent extends CComponent
 9 {
10     public function onEnterWorkflow($event)
11     {
12     }
13     public function enterWorkflow($event)
14     {
15     }
16     public function onBeforeTransition($event)
17     {
18     }
19     public function beforeTransition($event)
20     {
21     }
22     public function onProcessTransition($event)
23     {
24     }
25     public function processTransition($event)
26     {
27     }
28     public function onAfterTransition($event)
29     {
30     }
31     public function afterTransition($event)
32     {
33     }
34     public function onFinalStatus($event)
35     {
36     }
37     public function finalStatus($event)
38     {
39     }
40     public function onLeaveWorkflow($event)
41     {
42     }
43     public function leaveWorkflow($event)
44     {
45     }
46 }
47 ?>
simpleWorkflow API documentation generated by ApiGen 2.8.0