an update to this:

I ended up dropping the casting to the UserVO.php.  So the function
signature looks like:

     function getUser ($user){}

rather than 

     function getUser (UserVO $user){}

then inside the new function I set the type to an object using:

     settype(&user, "object");

this allows the php function to be able to retrieve the object
propeties such as $user->name or $user->password since it sees it as
an object rather than the array flex likes to send.

Though this works, it doesn't sit well with me because I thought the
whole idea of remoting was to be able to pass classes around without
having to do these kind of work arounds.

If anyone has any ideas on this, please give me a shout.

Thanks,
J

Reply via email to