Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (27 sloc) 0.656 kb
<?php
/**
* this class implements events fired by the simpleWorkflow behavior. This event is fired
* at different time during a transition (see (see {@link SWActiveRecordBehavior::events()}).
*/
class SWEvent extends CEvent
{
/**
* @var SWNode source status the owner model is in
*/
public $source;
/**
* @var SWNode destination status the owner model is sent to
*/
public $destination;
/**
* Constructor.
* @param mixed sender of this event
*/
public function __construct($sender,$source,$destination)
{
parent::__construct($sender);
$this->source=$source;
$this->destination=$destination;
}
}
?>
Jump to Line
Something went wrong with that request. Please try again.