I'm having trouble finding documentation for how to set an slayer and how to set the mode to nquery or featurequery using php. I'm looking at the mapscript.html docs.