9 * This source file is subject to the new BSD license that is bundled
10 * with this package in the file LICENSE.
11 * It is also available through the world-wide-web at this URL:
12 * http://phergie.org/license
16 * @author Phergie Development Team <team@phergie.org>
17 * @copyright 2008-2010 Phergie Development Team (http://phergie.org)
18 * @license http://phergie.org/license New BSD License
19 * @link http://pear.phergie.org/package/Phergie
23 * Base class for events.
27 * @author Phergie Development Team <team@phergie.org>
28 * @license http://phergie.org/license New BSD License
29 * @link http://pear.phergie.org/package/Phergie
31 abstract class Phergie_Event_Abstract
34 * Event type, used for determining the callback to execute in response
41 * Returns the event type.
45 public function getType()
51 * Sets the event type.
53 * @param string $type Event type
55 * @return Phergie_Event_Abstract Implements a fluent interface
57 public function setType($type)
59 $this->type = (string) $type;