simpleWorkflow
  • Class
  • Tree

Classes

  • SWActiveRecord
  • SWActiveRecordBehavior
  • SWComponent
  • SWEvent
  • SWException
  • SWHelper
  • SWNode
  • SWPhpWorkflowSource
  • SWValidator
  • SWWorkflowSource
  • SWyEdConverter
  • SWyEdConverterDOM
 1 <?php
 2 /**
 3  * this class implements events fired by the simpleWorkflow behavior. This event is fired
 4  * at different time during a transition (see (see {@link SWActiveRecordBehavior::events()}).
 5  */
 6 class SWEvent extends CEvent
 7 {
 8     /**
 9      * @var SWNode source status the owner model is in
10      */
11     public $source;
12     /**
13      * @var SWNode destination status the owner model is sent to
14      */
15     public $destination;
16     /**
17      * Constructor.
18      * @param mixed sender of this event
19      */
20     public function __construct($sender,$source,$destination)
21     {
22         parent::__construct($sender);
23         $this->source=$source;
24         $this->destination=$destination;
25     }
26 }
27 ?>
28 
simpleWorkflow API documentation generated by ApiGen 2.8.0