4.16.
QueryMapObj Class
Up one level
Constructor, members, and methods.
- Constant names and class member variable names are case-sensitive in PHP.
- Several MapScript functions (all those that access files in the back end such as ms_newMapObj(), drawMap(), etc.) will affect the value of the current working directory (CWD) in the PHP environment. This will be fixed eventually but in the meantime you should be careful about these side-effects.
Constructor:
Instances of querymapObj are always are always embedded inside the mapObj.
Members:
int width
int height
int style (MS_NORMAL, MS_HILITE, MS_SELECTED)
colorObj color
Methods:
int set(string property_name, new_value)
Set object property to a new value. Returns -1 on error.