[mapserver-commits] r9810 - branches/branch-5-6/docs/en/mapscript/php

svn at osgeo.org svn at osgeo.org
Sat Feb 20 13:11:52 EST 2010


Author: jmckenna
Date: 2010-02-20 13:11:51 -0500 (Sat, 20 Feb 2010)
New Revision: 9810

Modified:
   branches/branch-5-6/docs/en/mapscript/php/index.txt
Log:
document resultsGetShape() - ticket 3140

Modified: branches/branch-5-6/docs/en/mapscript/php/index.txt
===================================================================
--- branches/branch-5-6/docs/en/mapscript/php/index.txt	2010-02-20 17:24:08 UTC (rev 9809)
+++ branches/branch-5-6/docs/en/mapscript/php/index.txt	2010-02-20 18:11:51 UTC (rev 9810)
@@ -982,14 +982,22 @@
     Returns MS_TRUE/MS_FALSE depending on whether the layer is 
     currently visible in the map (i.e. turned on, in scale, etc.). 
 
-int setConenctionType(int connectiontype [,string plugin_library])
+int setConnectionType(int connectiontype [,string plugin_library])
     Changes the connectiontype of the layer and recreates the vtable 
     according to the new connection type. This method should be used 
     instead of setting the connectiontype parameter directly. 
-    In case when the layer.connectiontype = MS_PLUGIN the plugin_library
+    In the case when the layer.connectiontype = MS_PLUGIN the plugin_library
     parameter should also be specified so as to select the library to 
-    load by mapserver. For the other connection types this parameter 
+    load by MapServer. For the other connection types this parameter 
     is not used. 
+    
+shapeObj resultsGetShape(int shapeindex [, int tileindex = -1])
+    Retrieve shapeObj from a layer's resultset by index.
+    Tileindex is optional and is used only for tiled shapefiles 
+    (you get it from the resultCacheMemberObj returned by getResult()
+    for instance). 
+    Simply omit or pass tileindex = -1 for other data sources.
+    Added in MapServer 5.6.0 due to the one-pass query implementation.
 
 ClassObj Class
 ---------------



More information about the mapserver-commits mailing list