[Mapbender-commits] r8408 - trunk/mapbender/http/classes
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Jul 3 00:31:47 PDT 2012
Author: tbaschetti
Date: 2012-07-03 00:31:47 -0700 (Tue, 03 Jul 2012)
New Revision: 8408
Modified:
trunk/mapbender/http/classes/class_gml2.php
trunk/mapbender/http/classes/class_gml_2_factory.php
trunk/mapbender/http/classes/class_gml_3_factory.php
Log:
substituded split() with explode (split is deprecated in PHP >= 5.3)
Modified: trunk/mapbender/http/classes/class_gml2.php
===================================================================
--- trunk/mapbender/http/classes/class_gml2.php 2012-07-03 07:29:41 UTC (rev 8407)
+++ trunk/mapbender/http/classes/class_gml2.php 2012-07-03 07:31:47 UTC (rev 8408)
@@ -496,7 +496,7 @@
}
function sepNameSpace($s){
- list($ns,$FeaturePropertyName) = split(":",$s);
+ list($ns,$FeaturePropertyName) = explode(":",$s);
$nodeName = array('ns' => $ns, 'value' => $FeaturePropertyName);
return $nodeName;
}
Modified: trunk/mapbender/http/classes/class_gml_2_factory.php
===================================================================
--- trunk/mapbender/http/classes/class_gml_2_factory.php 2012-07-03 07:29:41 UTC (rev 8407)
+++ trunk/mapbender/http/classes/class_gml_2_factory.php 2012-07-03 07:31:47 UTC (rev 8408)
@@ -43,7 +43,7 @@
}
function findNameSpace($s){
- list($ns,$FeaturePropertyName) = split(":",$s);
+ list($ns,$FeaturePropertyName) = explode(":",$s);
$nodeName = array('ns' => $ns, 'value' => $FeaturePropertyName);
return $nodeName;
}
@@ -319,4 +319,4 @@
return parent::createFromXml($xml, $wfsConf, $gml2);
}
}
-?>
\ No newline at end of file
+?>
Modified: trunk/mapbender/http/classes/class_gml_3_factory.php
===================================================================
--- trunk/mapbender/http/classes/class_gml_3_factory.php 2012-07-03 07:29:41 UTC (rev 8407)
+++ trunk/mapbender/http/classes/class_gml_3_factory.php 2012-07-03 07:31:47 UTC (rev 8408)
@@ -65,7 +65,7 @@
}
function findNameSpace($s){
- list($ns,$FeaturePropertyName) = split(":",$s);
+ list($ns,$FeaturePropertyName) = explode(":",$s);
$nodeName = array('ns' => $ns, 'value' => $FeaturePropertyName);
return $nodeName;
}
More information about the Mapbender_commits
mailing list