Source for file jEventListener.class.php
Documentation is available at jEventListener.class.php
- <?php
- /**
- * @package jelix
- * @subpackage events
- * @author GĂ©rald Croes
- * @contributor Laurent Jouanneau
- * @copyright 2001-2005 CopixTeam, 2005-2009 Laurent Jouanneau
- * This class was get originally from the Copix project
- * (CopixListener, Copix 2.3dev20050901, http://www.copix.org)
- * Many of lines of code are copyrighted 2001-2005 CopixTeam (LGPL licence).
- * Initial author of this Copix class is Gerald Croes,
- * and this class was adapted/improved for Jelix by Laurent Jouanneau
- *
- * @link http://www.jelix.org
- * @licence http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public Licence, see LICENCE file
- */
-
- /**
- * base class for event listeners
- * @package jelix
- * @subpackage events
- */
- class jEventListener {
- /**
- * perform a given event
- * @param jEvent $event the event itself
- * @return void
- */
- function performEvent ($event) {
- $methodName = 'on'.$event->getName ();
- $this->$methodName ($event);
- }
- }
Documentation generated on Thu, 19 Sep 2013 00:04:16 +0200 by phpDocumentor 1.4.3