[mapserver-commits] r9268 - trunk/mapserver/mapscript/php3

svn at osgeo.org svn at osgeo.org
Tue Aug 25 09:29:47 EDT 2009


Author: assefa
Date: 2009-08-25 09:29:46 -0400 (Tue, 25 Aug 2009)
New Revision: 9268

Modified:
   trunk/mapserver/mapscript/php3/php_mapscript.c
Log:
add/modify missing paramter settings #2804

Modified: trunk/mapserver/mapscript/php3/php_mapscript.c
===================================================================
--- trunk/mapserver/mapscript/php3/php_mapscript.c	2009-08-25 03:16:21 UTC (rev 9267)
+++ trunk/mapserver/mapscript/php3/php_mapscript.c	2009-08-25 13:29:46 UTC (rev 9268)
@@ -49,6 +49,10 @@
 
 #define PHPMS_VERSION "($Revision$ $Date$)"
 
+#ifdef PHP4
+#define ZEND_DEBUG 0
+#endif
+
 #ifndef DLEXPORT 
 #define DLEXPORT ZEND_DLEXPORT
 #endif
@@ -7043,6 +7047,7 @@
     else IF_SET_STRING("styleitem",  self->styleitem)
     else IF_SET_STRING("requires",   self->requires)
     else IF_SET_STRING("labelrequires",   self->labelrequires)
+    else IF_SET_STRING("classgroup",   self->classgroup)
     else if (strcmp( "connectiontype", pPropertyName->value.str.val) == 0)
     {
         php3_error(E_ERROR, "Property 'connectiontype' must be set "
@@ -14530,8 +14535,8 @@
     add_property_double(return_value, "width",          pstyle->width);
     add_property_double(return_value, "minwidth",       pstyle->minwidth);
     add_property_double(return_value, "maxwidth",       pstyle->maxwidth);
-    add_property_long(return_value,   "offsetx",        pstyle->offsetx);
-    add_property_long(return_value,   "offsety",        pstyle->offsety);
+    add_property_double(return_value,   "offsetx",        pstyle->offsetx);
+    add_property_double(return_value,   "offsety",        pstyle->offsety);
     add_property_double(return_value, "angle",          pstyle->angle);
     add_property_long(return_value,   "antialias",      pstyle->antialias);
     add_property_double(return_value, "minvalue",       pstyle->minvalue);
@@ -15809,6 +15814,7 @@
 
     if (msLoadImageSymbol(self, pFile->value.str.val) == MS_SUCCESS)
     {
+        _phpms_set_property_string(pThis,"imagepath", self->imagepath , E_ERROR TSRMLS_CC); 
         RETURN_TRUE;
     }
     else



More information about the mapserver-commits mailing list