Re: [PHP4BETA] Session: objects containing objects
| From: | Ulf Wendel | Date: | Thu, 24 Feb 2000 15:26:02 +0000 |
| Subject: | Re: [PHP4BETA] Session: objects containing objects | ||
| References: | 1 2 3 4 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-10856@lists.php.net to get a copy of this message | ||
Andrei Zmievski wrote:
> On Thu, 24 Feb 2000, Ulf Wendel wrote:
> > To be able to write your own serialize with php you would need:
> >
> > getFields( Object $obj );
> > getFielType ( Slot $slot );
> > getConstructorCall ( Object $obj );
>
> I don't really like getFields(). What would you suggest as an
> alternative name for it, get_members_vars()? If someone can come up with
> a good name, I'll implement it. :)
Fine!
get_member_vars() sounds good, although I prefer slots or fields.
But fields could be mixed up with database stuff and slots is not
very common for beginners. get_member_vars() seems to be a good
choise.
When will I get my new baby?
Ulf
--
Ulf Wendel
NetUSE Kommunikationstechnologie GmbH
Siemenswall, D-24107 Kiel, Germany
Fon: +49 431 386435 00 -- Fax: +49 431 386435 99