Menu

mapping

Developers
hank
2010-02-22
2013-01-04
  • hank

    hank - 2010-02-22

    hello every body

    it is possible to mapp this action script class to amfphp ?

       
    public class Folder
    {
    public var id:int;
    public var image:String;
      public var refParent:Folder;
    public var display_order:int;
           
            public function Folder(id:int=-1, image:String="", refParent:Folder=null, display_order:int=0)
            {
            this.id = id;
            this.image = image;
            this.refParent = refParent;
            this.display_order = display_order;
    }
    }

    it is possible to mapp a VO that contain custom class ? (in this case "public var refParent:Folder")

    can someone help me ?

     
  • ariels

    ariels - 2010-02-22

    Hi, yes it is, but it's kept out of the way to not confuse beginners. You can find a few tutorials on the question on the net, take a look.  A quick search came up with this one :
    http://viconflex.blogspot.com/2007/04/mapping-vos-from-flex-to-php-using.html

     
  • hank

    hank - 2010-02-23

    thank you

    I will take a look :)

     
  • hank

    hank - 2010-02-23

    I have found the error :))
    It was caused by "require_once" present in the VO

    thank you again
    and sorry for by bad english

     

Log in to post a comment.

MongoDB Logo MongoDB