[SabreAMF] SabreAMF returns object with private array.

Edwin Koster Edwin.Koster at Kega.nl
Mon Jan 8 10:05:23 EST 2007


Hi,

 

I'm building a flex application wich uses sabreAMF to connect to
PHP/MySQL.

 

When i send an arrayCollenction from flex to PHP i receive the following
object:

(vardump)

 

SabreAMF_TypedObject Object

(

    [amfClassName:private] => flex.messaging.io.ArrayCollection

    [amfData:private] => Array

        (

            [source] => Array

                (

                    [0] => stdClass Object

                        (

                           ...

                        )

 

                    [1] => stdClass Object

                        (

                           ...

                        )

                  Etc

               )

       )

)

 

 

The data i need is in the 'source' array but because the amfData array
is private i can't access it... 

 

Can anyone tell me why this is and how i can change this?

 

The arraycollection in flex is public when i send it...





Thanks in advance.

 

 

Edwin Koster 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/sabreamf_osflash.org/attachments/20070108/5ca73736/attachment.htm


More information about the sabreamf mailing list