1 Reply Latest reply on Apr 2, 2009 3:33 PM by Newsgroup_User

    Question for ZendAMF?

    mark416 Level 1
      I have a question for zendAMF.

      I did the following in gateway:

      $server = new Zend_Amf_Server();
      $server->setClassMap("PeopleVO", "PeopleVO");


      it works when I save PeopleVO.php in the web root ,but I get error when I move PeopleVO.php to VOs folder.

      How to change the gateway file when I move PeopleVO.php to VOs folder.

      Thanks

      Mark


        • 1. Re: Question for ZendAMF?
          Level 7

          "mark416" <webforumsuser@macromedia.com> wrote in message
          news:gr32b3$5hp$1@forums.macromedia.com...
          >I have a question for zendAMF.
          >
          > I did the following in gateway:
          >
          > $server = new Zend_Amf_Server();
          > $server->setClassMap("PeopleVO", "PeopleVO");
          >
          >
          > it works when I save PeopleVO.php in the web root ,but I get error when I
          > move
          > PeopleVO.php to VOs folder.
          >
          > How to change the gateway file when I move PeopleVO.php to VOs folder.

          Try

          $server->setClassMap("VOs.PeopleVO", "VOs.PeopleVO");