Source for file FeatureServerDeleteProxy.php

Documentation is available at FeatureServerDeleteProxy.php

  1. <?php
  2. /**
  3. * Class Proxy feature server quant la requete est de type delete
  4. *
  5. * PHP versions 5
  6. @category  PHP
  7. @package   GeoPrisma
  8. @author    Pascal Martin
  9. @copyright 2009, Boreal - Information Strategies
  10. @license   http://www.geoprisma.org/license BSD License
  11. @link      http://www.geoprisma.org
  12. */
  13.  
  14. /**
  15. * Class Proxy feature server quant la requete est de type delete
  16. @category   PHP
  17. @package    GeoPrisma
  18. @subpackage Proxy
  19. @author     Pascal Martin
  20. */   
  21. {
  22.     /**
  23.     * Foward the call end return the result
  24.     * 
  25.     * @return void 
  26.     */
  27.     public function process()
  28.     {        
  29.         $strPathInfo self::getPathInfo();  
  30.         $objCurl curl_init($this->addParam($this->getService()->getSource().$strPathInfo));                
  31.         curl_setopt($objCurlCURLOPT_CUSTOMREQUEST'DELETE');
  32.         curl_exec($objCurl);
  33.         curl_close($objCurl);  
  34.     }
  35.     
  36.     /**
  37.     * Retourne le nom de l'action rĂ©aliser par le proxy (Create - Read - Update - Delete)
  38.     *                                   
  39.     * @return string 
  40.     */
  41.     public function getAction()
  42.     {
  43.         return self::CRUD_DELETE;    
  44.     }
  45. }
  46.  
  47. ?>

Documentation generated on Thu, 19 Jan 2012 00:08:28 +0400 by phpDocumentor 1.4.1