Reply to comment

zend reply

I am not 100% sure but after looking at the Zend_AMF source it looks like Flex dates get converted to Zend_Date objects. You can just update the code I provided to check for this instead of OrbDateTime. If you want to confirm what type Zend converts your dates to you can simply use the get_class php method to return the class name to Flex and trace it out. Like this

public function dateTest($date)
{
return get_class($date);
}

Reply

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options