Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 12 |
CRAP | |
0.00% |
0 / 36 |
SWComponent | |
0.00% |
0 / 1 |
|
0.00% |
0 / 12 |
156 | |
0.00% |
0 / 36 |
onEnterWorkflow($event) | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
enterWorkflow($event) | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
onBeforeTransition($event) | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
beforeTransition($event) | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
onProcessTransition($event) | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
processTransition($event) | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
onAfterTransition($event) | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
afterTransition($event) | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
onFinalStatus($event) | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
finalStatus($event) | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
onLeaveWorkflow($event) | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
leaveWorkflow($event) | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
<?php | |
/** | |
* 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. | |
*/ | |
class SWComponent extends CComponent | |
{ | |
public function onEnterWorkflow($event) | |
{ | |
} | |
public function enterWorkflow($event) | |
{ | |
} | |
public function onBeforeTransition($event) | |
{ | |
} | |
public function beforeTransition($event) | |
{ | |
} | |
public function onProcessTransition($event) | |
{ | |
} | |
public function processTransition($event) | |
{ | |
} | |
public function onAfterTransition($event) | |
{ | |
} | |
public function afterTransition($event) | |
{ | |
} | |
public function onFinalStatus($event) | |
{ | |
} | |
public function finalStatus($event) | |
{ | |
} | |
public function onLeaveWorkflow($event) | |
{ | |
} | |
public function leaveWorkflow($event) | |
{ | |
} | |
} |