Re: Mail::factory()
| From: | Jon Bennett | Date: | Thu, 27 Nov 2003 13:56:20 +0000 |
| Subject: | Re: Mail::factory() | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-9183@lists.php.net to get a copy of this message | ||
Ahh, I get ya. Nice one!
Thanks,
Jon
jon bennett | jon@jben.net
new media designer / developer
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
J b e n . n e t
91 Gloucester Rd, Trowbridge, Wilts, BA14 0AD
t: +44 (0) 1225 341039 w: http://www.jben.net/
On 27 Nov 2003, at 12:26, Mika Tuupola wrote:
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/-- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php