PEIP_ABS_Request.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 abstract class PEIP_ABS_Request 
00023     extends PEIP_Parameter_Holder 
00024     implements 
00025         PEIP_INF_Command,
00026         PEIP_INF_Request {
00027 
00028     protected $connection;
00029     
00030     
00036     public function setConnection($connection){
00037         $this->connection = $connection;
00038     }
00039     
00040     
00041     
00046     public function execute(){
00047         return $this->send();   
00048     }
00049 
00050     
00055     public function send(){
00056         return $this->connection->sendRequest($this);
00057     }
00058     
00059     
00064     public function getRequestData(){
00065         return $this->doGetRequestData();   
00066     }
00067     
00068     
00073     abstract protected function doGetRequestData();
00074     
00075     
00076 }

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