XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
EventObject.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of SwiftMailer.
5  * (c) 2004-2009 Chris Corbyn
6  *
7  * For the full copyright and license information, please view the LICENSE
8  * file that was distributed with this source code.
9  */
10 
11 //@require 'Swift/Events/Event.php';
12 
21 {
22 
24  private $_source;
25 
27  private $_bubbleCancelled = false;
28 
33  public function __construct($source)
34  {
35  $this->_source = $source;
36  }
37 
42  public function getSource()
43  {
44  return $this->_source;
45  }
46 
51  public function cancelBubble($cancel = true)
52  {
53  $this->_bubbleCancelled = $cancel;
54  }
55 
60  public function bubbleCancelled()
61  {
63  }
64 
65 }