[mapguide-users] RE: Syntax of MgResourceIdentifier

GordonL gordon.luckett at arrowgeomatics.com
Wed Feb 17 16:24:31 EST 2010


Hi Steve,
I knew it failed because I had an echo immediately after the new
MgResourceIdentifier creation and it didn't show.

I seemed to have fixed it with the following:

$layerName = "DQN20042"; 

$layerName = rtrim($layerName);

$tempID = "Session:" . $mgSessionId . '//' . $layerName .
".LayerDefinition"; 
$tempLayerResId = new MgResourceIdentifier($tempID); 

this is strange 'rtrim'  since there wasn't any spaces....

gordon

-- 
View this message in context: http://n2.nabble.com/Syntax-of-MgResourceIdentifier-tp4588434p4588618.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list