[mapserver-commits] r11457 - trunk/docs/en/mapscript/php
svn at osgeo.org
svn at osgeo.org
Mon Apr 4 14:07:13 EDT 2011
Author: aboudreault
Date: 2011-04-04 11:07:13 -0700 (Mon, 04 Apr 2011)
New Revision: 11457
Modified:
trunk/docs/en/mapscript/php/index.txt
Log:
Added php/mapscript documentation for the new clusterObj
Modified: trunk/docs/en/mapscript/php/index.txt
===================================================================
--- trunk/docs/en/mapscript/php/index.txt 2011-04-04 17:50:20 UTC (rev 11456)
+++ trunk/docs/en/mapscript/php/index.txt 2011-04-04 18:07:13 UTC (rev 11457)
@@ -118,7 +118,7 @@
Connection Types
MS_INLINE, MS_SHAPEFILE, MS_TILED_SHAPEFILE, MS_SDE, MS_OGR,
MS_TILED_OGR, MS_POSTGIS, MS_WMS, MS_ORACLESPATIAL, MS_WFS,
- MS_GRATICULE, MS_MYGIS, MS_RASTER, MS_PLUGIN
+ MS_GRATICULE, MS_RASTER, MS_PLUGIN, MS_UNION
Error codes
MS_NOERR, MS_IOERR, MS_MEMERR, MS_TYPEERR, MS_SYMERR,
@@ -2541,6 +2541,40 @@
Free the object properties and break the internal references.
Note that you have to unset the php variable to free totally the resources.
+clusterObj
+^^^^^^^^^^^^
+
+Constructor
+...............................................................................
+
+Instance of clusterObj is always embedded inside the `layerObj`_.
+
+Members
+...............................................................................
+
+=============== ====================================================================
+Type Name
+=============== ====================================================================
+double maxdistance
+double buffer
+string region
+=============== ====================================================================
+
+Methods
+...............................................................................
+
+int setGroup(string expression)
+ Set layer group :ref:`expression <expressions>`.
+
+string getGroupString()
+ Returns the :ref:`expression <expressions>` for this cluster group or NULL on error.
+
+int setFilter(string expression)
+ Set layer filter :ref:`expression <expressions>`.
+
+string getFilterString()
+ Returns the :ref:`expression <expressions>` for this cluster filter or NULL on error.
+
*****************************************************************************
Memory Management
*****************************************************************************
More information about the mapserver-commits
mailing list