id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
113,[MapScript] Add processTemplate() methods,dmorissette,assefa,"{{{
Now that the template processing code has been extracted from mapserv.c, we 
would like to make use of the template processing functions in MapScript 
applications.

We are thinking of adding the following methods in PHP MapScript and in the 
SWIG wrappers:

string mapObj::processTemplate(hashObj $params)
  Processes the main map template and returns a string buffer with the result.  
  $params is a set of name/value pairs that can be used in replacements in
  the template... typically $params should be the array of parameters received
  in the QUERY_STRING.

string mapObj::processQueryTemplate(hashObj $params)
  This method can be called after a query and will use the selected object's 
  query template to format the query results.

string legendObj::processTemplate(hashObj $params)
  Return an HTML legend based on current map state and legend.template param.


Any comments/suggestions, Steve?
}}}",defect,closed,high,,MapScript,3.6,normal,fixed,,pspencer@…
