[Chameleon] Output Fields and Aliases
abe.gillespie at gmail.com
Thu Jul 14 12:19:05 EDT 2005
Is there a standard Chameleon API way of getting METADATA-defined
output fields and aliases. I have an example mapfile that contains
the following METADATA items:
I'm not sure if these are custom METADATA items or ones used
particularly with Chameleon. If there's something already setup in
Chameleon to handle these, I'd rather go that route than risk
reproducing something that's already available.
Basically I want to be able to get the output fields for the LAYER.
And then get the alias of each field. I.e. something like:
$flds = $chameleonLayer->getOutputFields();
foreach ($flds as $f)
$alias = $chameleonLayer->getFieldAlias($f);
// Do some HTML output ...
Again, I can write the code to do this myself. But I don't want to
reproduce something that might already be there.
More information about the Chameleon