[Mapbender-commits] r7719 - trunk/mapbender/http/classes
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Mar 24 07:03:05 EDT 2011
Author: kmq
Date: 2011-03-24 04:03:05 -0700 (Thu, 24 Mar 2011)
New Revision: 7719
Modified:
trunk/mapbender/http/classes/class_wfs_1_0_factory.php
Log:
add neccessary featureTypeName parameter for wfs 1.0.0
Modified: trunk/mapbender/http/classes/class_wfs_1_0_factory.php
===================================================================
--- trunk/mapbender/http/classes/class_wfs_1_0_factory.php 2011-03-23 12:55:38 UTC (rev 7718)
+++ trunk/mapbender/http/classes/class_wfs_1_0_factory.php 2011-03-24 11:03:05 UTC (rev 7719)
@@ -38,10 +38,10 @@
"&REQUEST=DescribeFeatureType&TYPENAME=" . $featureTypeName;
$xml = $this->get($url);
- return $this->createFeatureTypeFromXml ($xml, $aWfs);
+ return $this->createFeatureTypeFromXml ($xml, $aWfs,$featureTypeName);
}
- protected function createFeatureTypeFromXml ($xml, $myWfs) {
+ protected function createFeatureTypeFromXml ($xml, $myWfs,$featureTypeName) {
$newFeatureType = new WfsFeatureType($myWfs);
$doc = new DOMDocument();
@@ -94,6 +94,7 @@
}
}
+ new mb_exception("aaaaaaaaaaaa". $newFeatureType->name);
return $newFeatureType;
}
More information about the Mapbender_commits
mailing list