diff options
author | javalizard <> | 2010-04-18 04:25:03 +0000 |
---|---|---|
committer | javalizard <> | 2010-04-18 04:25:03 +0000 |
commit | 17b1d0b7c9e02f954d8877f40bfd814b2b8adec3 (patch) | |
tree | 27e434e40175292728acaeea6545173ae25496de /framework/Base | |
parent | 623267d4377806ca3500b209f0a939c2326198de (diff) |
Ensured parent::__construct calls to Base, Caching, and Collections
Diffstat (limited to 'framework/Base')
-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 |