Re: [PHP4BETA] Re: SESS: objects containing objects *final statement*(?) please read!
| From: | Andrei Zmievski | Date: | Fri, 25 Feb 2000 16:01:17 +0000 |
| Subject: | Re: [PHP4BETA] Re: SESS: objects containing objects *final statement*(?) please read! | ||
| References: | 1 2 3 4 5 6 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-10963@lists.php.net to get a copy of this message | ||
On Fri, 25 Feb 2000, Kristian Köhntopp wrote:
>
> thies@digicol.de wrote:
> > BTW: what about not serializing class variables that start
> > with a '_' character. the usage should be obvious, right?
>
> Also, standard member functions used for callbacks
> should have names starting with "_", such as _init(), _freeze()
> and _wakeup().
Why not go Python way then with __init__(), __freeze__(), and
__wakeup__()?
-Andrei
* "UNIX, isn't that some archaic form of DOS?" - our job applicant *