[mapserver-commits] r7937 -
branches/branch-5-2/mapserver/mapscript/php3
svn at osgeo.org
svn at osgeo.org
Tue Sep 30 10:37:46 EDT 2008
Author: Assefa
Date: 2008-09-30 10:37:46 -0400 (Tue, 30 Sep 2008)
New Revision: 7937
Modified:
branches/branch-5-2/mapserver/mapscript/php3/README
branches/branch-5-2/mapserver/mapscript/php3/php_mapscript.c
Log:
PHP: add priority attribute to the label object
Modified: branches/branch-5-2/mapserver/mapscript/php3/README
===================================================================
--- branches/branch-5-2/mapserver/mapscript/php3/README 2008-09-30 02:59:34 UTC (rev 7936)
+++ branches/branch-5-2/mapserver/mapscript/php3/README 2008-09-30 14:37:46 UTC (rev 7937)
@@ -1080,6 +1080,7 @@
int partials
int force
string encoding
+ int priority
Methods:
Modified: branches/branch-5-2/mapserver/mapscript/php3/php_mapscript.c
===================================================================
--- branches/branch-5-2/mapserver/mapscript/php3/php_mapscript.c 2008-09-30 02:59:34 UTC (rev 7936)
+++ branches/branch-5-2/mapserver/mapscript/php3/php_mapscript.c 2008-09-30 14:37:46 UTC (rev 7937)
@@ -8592,6 +8592,7 @@
add_property_long(return_value, "mindistance",plabel->mindistance);
add_property_long(return_value, "partials", plabel->partials);
add_property_long(return_value, "force", plabel->force);
+ add_property_long(return_value , "priority", plabel->priority);
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);
@@ -8678,6 +8679,7 @@
else IF_SET_LONG( "mindistance", self->mindistance)
else IF_SET_LONG( "partials", self->partials)
else IF_SET_LONG( "force", self->force)
+ else IF_SET_LONG( "priority", self->priority)
else
{
php3_error(E_ERROR,"Property '%s' does not exist in this object.",
More information about the mapserver-commits
mailing list