Re: Common method names part 2
| From: | Markus Wolff | Date: | Thu, 19 Sep 2002 21:36:47 +0000 |
| Subject: | Re: Common method names part 2 | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-9234@lists.php.net to get a copy of this message | ||
On Fri, 20 Sep 2002 00:00:56 +0300 (EEST)
Mika Tuupola <tuupola@appelsiini.net> wrote:
> What would be a good common name for "constructor" method.
[...]
> Is factory() considered suitable in this situation, since
[...]
> Other possibilities: init(), constructor(), ...
I always use Class::Create(), and I often use init() for other things.
I´ll accept any of the above, but wouldn´t like to use init(), as I´d
have to rewrite some stuff :-)
Regards,
Markus
--
Markus Wolff <wolff@21st.de>