Source for file FeatureServerProxy.php
Documentation is available at FeatureServerProxy.php
* Class Proxy de type feature server
* @copyright 2009, Boreal - Information Strategies
* @license http://www.geoprisma.org/license BSD License
* @link http://www.geoprisma.org
* Class Proxy de type feature server
const PATH_INFO_REG =
'/^\/([a-zA-Z0-9_]+)\/?(([0-9]*|all)\.?(GeoJSON|json|kml|atom|gml)?)$/i';
$strPathInfo =
self::getPathInfo();
$objArrayMatches =
array();
if (preg_match(self::PATH_INFO_REG, $strPathInfo, $objArrayMatches))
return $objArrayMatches[self::PATH_INFO_LAYER_POS];
* @return integer or null
public static function getID()
$strPathInfo =
self::getPathInfo();
$objArrayMatches =
array();
if (preg_match(self::PATH_INFO_REG, $strPathInfo, $objArrayMatches) &&
count($objArrayMatches) >=
self::PATH_INFO_ID_POS)
$iID =
$objArrayMatches[self::PATH_INFO_ID_POS];
* Retourne la liste de layer accèder par la query
$objArrayLayers =
new ArrayObject();
$objArrayLayers->append($strLayer);
Documentation generated on Mon, 20 Feb 2012 13:46:12 -0500 by phpDocumentor 1.4.1