gyro/core/lib/interfaces/ieventsink.cls.php
Go to the documentation of this file.00001 <?php 00002 /** 00003 * Event sink interface 00004 * 00005 * Event sink are the targets of events, that actual process them 00006 * 00007 * @author Gerd Riesselmann 00008 * @ingroup Interfaces 00009 */ 00010 interface IEventSink { 00011 /** 00012 * Invoked to handle events 00013 * 00014 * Events can be anything, and they are invoked through the router 00015 * One event is "cron", it has no parameters 00016 * 00017 * @param string Event name 00018 * @param mixed Event parameter(s) 00019 */ 00020 public function on_event($event_name, $event_params, &$result); 00021 } 00022 ?>