[mapserver-dev] PHP/MapScript Question...

Daniel Morissette dmorissette at mapgears.com
Tue Feb 1 13:33:25 EST 2011


On 11-02-01 01:25 PM, Lime, Steve D (DNR) wrote:
> Hi guys: Does PHP/MapScript allow for the definition of default values for function/method parameters? I'm
> working on the final push for RFC 65 and want to add a parameter to the map saveQuery method to choose
> between a serialization format (params vs. features)...
>

I don't remember if there is built-in support for default values, but we 
can have optional args, so we can get the same effect as long as the new 
param is at the end of the arg list.

Daniel
-- 
Daniel Morissette
http://www.mapgears.com/


More information about the mapserver-dev mailing list