Source for file FeatureServerService.php
Documentation is available at FeatureServerService.php
* Service de type feature server
* @copyright 2009, Boreal - Information Strategies
* @license http://www.geoprisma.org/license BSD License
* @link http://www.geoprisma.org
* Service de type feature server
const TYPE =
'featureserver';
* Construit un instance de org_geoprisma_service_FeatureServerService
* @param array $pobjArray Config
* @return org_geoprisma_service_FeatureServerService
if (isset
($pobjArray['id']))
$strName = (string)
$pobjArray['id'];
$strName = (string)
$pobjArray['name'];
$strSource = (string)
$pobjArray['source'];
parent::__construct($strName, $strSource, self::TYPE, $pobjArray);
* Return the OpenLayers.Layer default options using this type of service.
* @param org_geoprisma_config_Config &$pobjConfig Config object
'extractAttributes' =>
'true'
* Ajout le service courant (this) dans le xml
* @param DOMElement &$pobjDomElementServices Noeud xml ou le service doit ĂȘtre ajouter
* @param DOMDocument &$pobjDomDocument Document XMl ou le noeud xml datastore est ajouter, utiliser pour construire les noeuds
public function insertIntoXML(DOMElement &$pobjDomElementServices, DOMDocument &$pobjDomDocument)
$objDomElementService =
$pobjDomDocument->createElement('service');
$pobjDomElementServices->appendChild($objDomElementService);
$objDomElementType =
$pobjDomDocument->createElement('type', self::FEATURESERVER_SERVICE);
$objDomElementName =
$pobjDomDocument->createElement('name', $this->getName());
$objDomElementService->appendChild($objDomElementType);
$objDomElementService->appendChild($objDomElementName);
$objDomElementService->appendChild(
* Build and execute a get request given a specific layername.
* @param string $pstrLayerName The layer name to use in the request.
* @param string $pstrValue Condition value for the request
public function getFeature($pstrLayerName, $pstrValue)
$this->getSource().
"/".
$pstrLayerName.
"/".
$pstrValue.
".".
$strFormat
Documentation generated on Thu, 19 Jan 2012 00:08:29 +0400 by phpDocumentor 1.4.1