For Programmers: Free Programming Magazines  


Home > Archive > PHP PEAR Questions and Answers > September 2004 > Re: [PEAR-QA] CS Clarifications









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR-QA] CS Clarifications
Richard York

2004-09-25, 8:59 am

Justin Patrin wrote:
> On Fri, 24 Sep 2004 05:44:21 -0500, Richard York <richy@smilingsouls.net> wrote:
>
>
>
> If you use a "static" call, extending and overriding are impossible.
> It's much better to use $this. If it happens not to call Mail_IMAP's
> connect, then that's what's supposed to happen. I say don't use
> namespaced calls unless you're calling the function statically.


I just don't see why anyone would /want/ to override a method in
Mail_IMAP. Regardless of that, I'm all for flexibliity anyway. So I've
decided to just go ahead and update to "$this->".

--
Richard York
------------------------------------------------------------------------
[richy[<@>]smilingsouls[<@>]net] :: [http://www.smilingsouls.net]
[http://pear.php.net/Mail_IMAP] A PHP/C-Client/PEAR solution for webmail
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com