[Mapserver-users] how to use WebObj in PHP_mapscript
Debbie Pagurek
pagurekd at agr.gc.ca
Thu Apr 17 12:06:15 PDT 2003
it would probably be
thewebobj= $map->web;
thewebobj->set("template","showimg.phtml");
e.g. this is what I've used in my code for something like this:
$scalebar_map = $map->scalebar;
$scalebar_map->set("intervals","4");
D. Pagurek
>>> "pond bear" <pond_bear at hotmail.com> 04/16/03 04:45PM >>>
I put this line in my php file:
"$map->WebObj->set(template,"showimg.phtml");"
I get an error message:
"Fatal error: Call to a member function on a non-object"
Why?
I think the instances of WebObj are always embedded inside the MapObj and I
can
all it after I define a MapObj.
Jing
University of North Dakota
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list