Class WorkflowBehavior
WorkflowBehavior class file. Manages workflow operations for the owner
record.
-
CComponent
-
CBehavior
implements
IBehavior
-
CModelBehavior
-
CActiveRecordBehavior
-
WorkflowBehavior
Methods summary
public
|
#
afterDelete( CModelEvent $event )
Responds to CActiveRecord::onAfterDelete event.
Responds to CActiveRecord::onAfterDelete event.
Parameters
- $event
CModelEvent $event event parameter
Overrides
CActiveRecordBehavior::afterDelete()
|
public
mixed
|
#
startStage( integer $workflowId, integer $stageNumber )
Parameters
- $workflowId
integer $workflowId
- $stageNumber
integer $stageNumber
Returns
mixed
|
public
mixed
|
#
completeStage( integer $workflowId, integer $stageNumber )
Parameters
- $workflowId
integer $workflowId
- $stageNumber
integer $stageNumber
Returns
mixed
|
public
mixed
|
#
revertStage( integer $workflowId, integer $stageNumber )
Parameters
- $workflowId
integer $workflowId
- $stageNumber
integer $stageNumber
Returns
mixed
|
public
|
|
Methods inherited from CActiveRecordBehavior
afterFind(),
afterSave(),
beforeCount(),
beforeDelete(),
beforeFind(),
beforeSave(),
events()
|
Methods inherited from CModelBehavior
afterConstruct(),
afterValidate(),
beforeValidate()
|
Methods inherited from CBehavior
attach(),
detach(),
getEnabled(),
getOwner(),
setEnabled()
|
Methods inherited from CComponent
__call(),
__get(),
__isset(),
__set(),
__unset(),
asa(),
attachBehavior(),
attachBehaviors(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
detachBehavior(),
detachBehaviors(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
getEventHandlers(),
hasEvent(),
hasEventHandler(),
hasProperty(),
raiseEvent()
|
Magic properties inherited from CActiveRecordBehavior
$owner
|
Magic properties inherited from CBehavior
$enabled
|