00001 <?php 00002 00003 /* 00004 * This file is part of the PEIP package. 00005 * (c) 2010 Timo Michna <timomichna/yahoo.de> 00006 * 00007 * For the full copyright and license information, please view the LICENSE 00008 * file that was distributed with this source code. 00009 */ 00010 00022 class PEIP_Publish_Subscribe_Channel 00023 extends PEIP_ABS_Subscribable_Channel { 00024 00025 00031 protected function doSend(PEIP_INF_Message $message){ 00032 $this->doFireEvent('prePublish', array('MESSAGE'=>$message)); 00033 $this->getMessageDispatcher()->notify($message); 00034 $this->doFireEvent('postPublish', array('MESSAGE'=>$message)); 00035 return true; 00036 } 00037 00038 } 00039