0 Replies Latest reply on Jan 8, 2008 8:59 AM by Ukie_239

    Classes

    Ukie_239
      I have a basic class that has several private properties like id, name, and so on. I use public setters and getters to update and retrieve them. At some point, I want to pass this object into AMFPHP or to another Object in Flex. If the values are properties are private, then AMFPHP will not see them, ( i know i can make it public, but that defeats the purpose of keeping the properties protected.

      Therefore, how can i pass out the private properties like id and name to another object or to PHP where the private values will actually be visible, but still keeping them private in the original object;

      Thx