[mapserver-commits] r10186 - trunk/docs/en/mapscript/php

svn at osgeo.org svn at osgeo.org
Thu May 27 15:05:42 EDT 2010


Author: aboudreault
Date: 2010-05-27 15:05:38 -0400 (Thu, 27 May 2010)
New Revision: 10186

Modified:
   trunk/docs/en/mapscript/php/migration_guide.txt
Log:
Added a note about labelCacheObj->freeCache in the migration guide

Modified: trunk/docs/en/mapscript/php/migration_guide.txt
===================================================================
--- trunk/docs/en/mapscript/php/migration_guide.txt	2010-05-27 18:47:37 UTC (rev 10185)
+++ trunk/docs/en/mapscript/php/migration_guide.txt	2010-05-27 19:05:38 UTC (rev 10186)
@@ -111,8 +111,15 @@
 shapeFileObj
 ============
 
-shapeFileObj is automatically closed/writed on destroy. (At the end of the script or with an explicit unset())
+shapeFileObj is automatically closed/writed on destroy. (At the end of the script or with an explicit free(), unset())
 
+labelCacheObj
+=============
+
+To free the cache, you'll have to call the method freeCache() rather than
+free(). The free() method still exists but its purpose is to free the
+object resources.
+
 Methods that now return MS_SUCCESS/MS_FAILURE
 =============================================
   



More information about the mapserver-commits mailing list