Re: Mail::factory()
| From: | Mika Tuupola | Date: | Thu, 27 Nov 2003 12:26:22 +0000 |
| Subject: | Re: Mail::factory() | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-9179@lists.php.net to get a copy of this message | ||
On Thu, 27 Nov 2003, Jon Bennett wrote:
> Just a quickie, what does the '::' mean ??? for instance, when creating
> a new instance of the mail class, why don't you use Mail->factory() if
> it's a method of the Mail class ??
It is used when calling a method statically ie. without
first making an instance of an object.
http://www.php.net/manual/en/keyword.paamayim-nekudotayim.php
--
Mika Tuupola http://www.appelsiini.net/~tuupola/