[Mapbender-commits] r8409 - branches/2.7/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jul 3 00:31:55 PDT 2012


Author: tbaschetti
Date: 2012-07-03 00:31:55 -0700 (Tue, 03 Jul 2012)
New Revision: 8409

Modified:
   branches/2.7/http/classes/
   branches/2.7/http/classes/class_gml2.php
   branches/2.7/http/classes/class_gml_2_factory.php
   branches/2.7/http/classes/class_gml_3_factory.php
Log:
substituded split() with explode (split is deprecated in PHP >= 5.3) 



Property changes on: branches/2.7/http/classes
___________________________________________________________________
Modified: svn:ignore
   - .class_locale.php.swp
.class_metadata_new.php.swp
.class_metadata.php.swp
.class_weldMaps2PNG_rotate.php.swp

   + .class_locale.php.swp
.class_metadata_new.php.swp
.class_metadata.php.swp
.class_weldMaps2PNG_rotate.php.swp
.class_gml_2_factory.php.swp
.class_gml2.php.swp
.class_gml_3_factory.php.swp


Modified: branches/2.7/http/classes/class_gml2.php
===================================================================
--- branches/2.7/http/classes/class_gml2.php	2012-07-03 07:31:47 UTC (rev 8408)
+++ branches/2.7/http/classes/class_gml2.php	2012-07-03 07:31:55 UTC (rev 8409)
@@ -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: branches/2.7/http/classes/class_gml_2_factory.php
===================================================================
--- branches/2.7/http/classes/class_gml_2_factory.php	2012-07-03 07:31:47 UTC (rev 8408)
+++ branches/2.7/http/classes/class_gml_2_factory.php	2012-07-03 07:31:55 UTC (rev 8409)
@@ -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: branches/2.7/http/classes/class_gml_3_factory.php
===================================================================
--- branches/2.7/http/classes/class_gml_3_factory.php	2012-07-03 07:31:47 UTC (rev 8408)
+++ branches/2.7/http/classes/class_gml_3_factory.php	2012-07-03 07:31:55 UTC (rev 8409)
@@ -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