A simple workflow behavior for Yii ActiveRecord
 All Data Structures Files Functions Variables Pages
SWComponent Class Reference
Inheritance diagram for SWComponent:

Public Member Functions

 onEnterWorkflow ($event)
 
 enterWorkflow ($event)
 
 onBeforeTransition ($event)
 
 beforeTransition ($event)
 
 onProcessTransition ($event)
 
 processTransition ($event)
 
 onAfterTransition ($event)
 
 afterTransition ($event)
 
 onFinalStatus ($event)
 
 finalStatus ($event)
 
 onLeaveWorkflow ($event)
 
 leaveWorkflow ($event)
 

Detailed Description

This is the base class for all components that needs to handle events fired by the simpleWorkflow behavior. Note that in most cases, this class is not used as the sW behavior is usually attached to a CActiveRecord object.

Member Function Documentation

afterTransition (   $event)
beforeTransition (   $event)
enterWorkflow (   $event)
finalStatus (   $event)
leaveWorkflow (   $event)
onAfterTransition (   $event)
onBeforeTransition (   $event)
onEnterWorkflow (   $event)
onFinalStatus (   $event)
onLeaveWorkflow (   $event)
onProcessTransition (   $event)
processTransition (   $event)

The documentation for this class was generated from the following file: