diff options
Diffstat (limited to 'framework/Base/TEvent.php')
-rw-r--r-- | framework/Base/TEvent.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/framework/Base/TEvent.php b/framework/Base/TEvent.php index 0f64e89d..5116a5f4 100644 --- a/framework/Base/TEvent.php +++ b/framework/Base/TEvent.php @@ -1,6 +1,6 @@ <?php /** - * CEvent is the base class for all event classes. + * 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. @@ -9,7 +9,7 @@ * that are not invoked yet will not be invoked anymore. * * @author Qiang Xue <qiang.xue@gmail.com> - * @version $Id: CComponent.php 978 2009-05-06 03:36:09Z qiang.xue $ + * @version $Id: TEvent.php 978 2009-05-06 03:36:09Z qiang.xue $ * @package system.base * @since 1.0 */ @@ -31,6 +31,8 @@ class TEvent extends TComponent */ public function __construct($sender=null) { + parent::__construct(); + $this->sender=$sender; } }
\ No newline at end of file |