[mapserver-commits] r7695 - in trunk/mapserver: . mapscript/php3

svn at osgeo.org svn at osgeo.org
Wed Jun 18 17:40:53 EDT 2008


Author: dmorissette
Date: 2008-06-18 17:40:51 -0400 (Wed, 18 Jun 2008)
New Revision: 7695

Modified:
   trunk/mapserver/HISTORY.TXT
   trunk/mapserver/mapscript/php3/README
   trunk/mapserver/mapscript/php3/php_mapscript.c
Log:
Added webObj legendformat and browseformat mapping in PHP MapScript (#2309)

Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT	2008-06-18 21:26:45 UTC (rev 7694)
+++ trunk/mapserver/HISTORY.TXT	2008-06-18 21:40:51 UTC (rev 7695)
@@ -13,6 +13,8 @@
 Current Version (SVN trunk):
 ----------------------------
 
+- Added webObj legendformat and browseformat mapping in PHP MapScript (#2309)
+
 - Removed static buffer size limit in msIO_*printf() functions (#2214)
 
 - Fixed libiconv detection in configure for OSX 10.5 64 bit (#2396)

Modified: trunk/mapserver/mapscript/php3/README
===================================================================
--- trunk/mapserver/mapscript/php3/README	2008-06-18 21:26:45 UTC (rev 7694)
+++ trunk/mapserver/mapscript/php3/README	2008-06-18 21:40:51 UTC (rev 7695)
@@ -1122,6 +1122,8 @@
    double maxscale  (Deprecated in v5.0, use maxscaledenom instead)
    rectObj extent   (read-only)
    string queryformat
+   string legendformat
+   string browseformat
 
  Methods:
 

Modified: trunk/mapserver/mapscript/php3/php_mapscript.c
===================================================================
--- trunk/mapserver/mapscript/php3/php_mapscript.c	2008-06-18 21:26:45 UTC (rev 7694)
+++ trunk/mapserver/mapscript/php3/php_mapscript.c	2008-06-18 21:40:51 UTC (rev 7695)
@@ -12093,6 +12093,8 @@
     add_property_double(return_value, "maxscale",       pweb->maxscaledenom);
 
     PHPMS_ADD_PROP_STR(return_value,  "queryformat",    pweb->queryformat);
+    PHPMS_ADD_PROP_STR(return_value,  "legendformat",   pweb->legendformat);
+    PHPMS_ADD_PROP_STR(return_value,  "browseformat",   pweb->browseformat);
     
     
 #ifdef PHP4
@@ -12159,6 +12161,8 @@
     else IF_SET_STRING(  "mintemplate",   self->mintemplate) 
     else IF_SET_STRING(  "maxtemplate",   self->maxtemplate) 
     else IF_SET_STRING(  "queryformat",   self->queryformat) 
+    else IF_SET_STRING(  "legendformat",  self->legendformat) 
+    else IF_SET_STRING(  "browseformat",  self->browseformat) 
     else IF_SET_LONG(    "minscaledenom", self->minscaledenom)
     else IF_SET_LONG(    "maxscaledenom", self->maxscaledenom)  
     /* TODO: *scale deprecated in v5.0. Remove in future release */



More information about the mapserver-commits mailing list