[mapguide-users] Error in ResourceExists function (PHP)

Zac Spitzer zac.spitzer at gmail.com
Tue Oct 16 12:20:45 EDT 2007


i am seeing this as well on 1.20 xp via the Java Api,

the error message is "Not implemented."

On 7/6/07, mates <reklamama at centrum.sk> wrote:
>
> 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.
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>


-- 
Zac Spitzer
http://zacster.blogspot.com/
+61 405 847 168 (aussie moible)


More information about the mapguide-users mailing list