summaryrefslogtreecommitdiff
path: root/framework/Base/TEvent.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Base/TEvent.php')
-rw-r--r--framework/Base/TEvent.php36
1 files changed, 0 insertions, 36 deletions
diff --git a/framework/Base/TEvent.php b/framework/Base/TEvent.php
deleted file mode 100644
index c09816d1..00000000
--- a/framework/Base/TEvent.php
+++ /dev/null
@@ -1,36 +0,0 @@
-<?php
-/**
- * TEvent is the base class for all event classes.
- *
- * It encapsulates the parameters associated with an event.
- * The {@link sender} property describes who raises the event.
- * And the {@link handled} property indicates if the event is handled.
- * If an event handler sets {@link handled} to true, those handlers
- * that are not invoked yet will not be invoked anymore.
- *
- * @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id: TEvent.php 978 2009-05-06 03:36:09Z qiang.xue $
- * @package system.base
- * @since 1.0
- */
-class TEvent extends TComponent
-{
- /**
- * @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 uninvoked handlers will not be invoked anymore.
- */
- public $handled=false;
-
- /**
- * Constructor.
- * @param mixed sender of the event
- */
- public function __construct($sender=null)
- {
- $this->sender=$sender;
- }
-} \ No newline at end of file