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

svn at osgeo.org svn at osgeo.org
Fri Sep 26 14:08:09 EDT 2008


Author: aboudreault
Date: 2008-09-26 14:08:09 -0400 (Fri, 26 Sep 2008)
New Revision: 7930

Modified:
   trunk/mapserver/mapscript/php3/php_mapscript.c
Log:
Label text wrapping and alignment (RFC 40) support in PHP/MapScript (#2383)


Modified: trunk/mapserver/mapscript/php3/php_mapscript.c
===================================================================
--- trunk/mapserver/mapscript/php3/php_mapscript.c	2008-09-26 14:40:46 UTC (rev 7929)
+++ trunk/mapserver/mapscript/php3/php_mapscript.c	2008-09-26 18:08:09 UTC (rev 7930)
@@ -8660,6 +8660,9 @@
     add_property_long(return_value,   "partials",   plabel->partials);
     add_property_long(return_value,   "force",      plabel->force);
     add_property_long(return_value,   "outlinewidth", plabel->outlinewidth);
+    add_property_long(return_value,   "align", plabel->align);
+    add_property_long(return_value,   "maxlength", plabel->maxlength);
+    add_property_long(return_value,   "minlength", plabel->minlength);
 
     MAKE_STD_ZVAL(new_obj_ptr);  /* Alloc and Init a ZVAL for new object */
     _phpms_build_color_object(&(plabel->color),list, new_obj_ptr TSRMLS_CC);
@@ -8747,6 +8750,9 @@
     else IF_SET_LONG(  "partials",     self->partials)
     else IF_SET_LONG(  "force",        self->force)
     else IF_SET_LONG(  "outlinewidth", self->outlinewidth)
+    else IF_SET_LONG(  "align", self->align)
+    else IF_SET_LONG(  "maxlength", self->maxlength)
+    else IF_SET_LONG(  "minlength", self->minlength)
     else
     {
         php3_error(E_ERROR,"Property '%s' does not exist in this object.", 



More information about the mapserver-commits mailing list