simpleWorkflow
  • Class
  • Tree

Classes

  • SWActiveRecord
  • SWActiveRecordBehavior
  • SWComponent
  • SWEvent
  • SWException
  • SWHelper
  • SWNode
  • SWPhpWorkflowSource
  • SWValidator
  • SWWorkflowSource
  • SWyEdConverter
  • SWyEdConverterDOM

Class SWActiveRecord

This is the base class for all AR models that needs to handle events fired by the simpleWorkflow behavior. Handling simpleWorkflow events can also be achieved by creating a behavior that inherits from SWActiveRecordBehavior and overload default event handlers

CActiveRecord
Extended by SWActiveRecord
Located at SWActiveRecord.php

Methods summary

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

Magic methods summary

simpleWorkflow API documentation generated by ApiGen 2.8.0