* @version $Id: CComponent.php 3001 2011-02-24 16:42:44Z alexander.makarow $ * @package system.base * @since 1.0 */ class Event extends Component { /** * @var object the sender of this event */ public $sender; /** * @var boolean whether the event is handled. Defaults to false. * When a handler sets this true, the rest of the uninvoked event handlers will not be invoked anymore. */ public $handled=false; /** * Constructor. * @param mixed $sender sender of the event */ public function __construct($sender=null) { $this->sender=$sender; } }