[mapguide-users] Error in ResourceExists function (PHP)
mates
reklamama at centrum.sk
Fri Jul 6 09:40:46 EDT 2007
I want to see if a resource exists. I found ResourceExists function in Web
API Reference ,but something is wrong.I get a error on the last line.
$userInfo = new MgUserInformation("Administrator", "admin");
$siteConnection = new MgSiteConnection();
$siteConnection->Open($userInfo);
$resourceService =
$siteConnection->CreateService(MgServiceType::ResourceService);
$resourceID = new MgResourceIdentifier("Library://rekyphp.LayerDefinition");
$exist = $resourceService->ResourceExists($resourceID);
--
View this message in context: http://www.nabble.com/Error-in-ResourceExists-function-%28PHP%29-tf4035562s16610.html#a11464531
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list