PEIP_Fixed_Event_Pipe.php

Go to the documentation of this file.
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_Fixed_Event_Pipe 
00023     extends PEIP_Event_Pipe {
00024 
00025     
00031     public function setInputChannel(PEIP_INF_Channel $inputChannel){        
00032         if(isset($this->eventName)){
00033             $this->connectChannel($inputChannel);   
00034         }else{
00035             $this->inputChannel = $inputChannel;    
00036         }               
00037     }       
00038         
00039     
00045     public function setEventName($eventName){
00046         if(!isset($this->eventName)){
00047             $this->eventName = $eventName;
00048             if($this->inputChannel){
00049                 $this->inputChannel->connect($this->eventName, $this);
00050             }   
00051         }
00052     }   
00053 }

Generated on Mon Apr 12 11:39:00 2010 for PEIP by  doxygen 1.5.1