Re: cvs: peardoc /en/package internationalization.xml
| From: | Lorenzo Alberton | Date: | Thu, 29 Apr 2004 22:28:27 +0000 |
| Subject: | Re: cvs: peardoc /en/package internationalization.xml | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-3785@lists.php.net to get a copy of this message | ||
On Thu, 29 Apr 2004 17:54:38 -0400, Greg Beaver wrote:
> Lorenzo Alberton wrote:
>> these are two methods I marked as "protected",
>> but I didn't want them publicly documented,
>
> If you don't want them publicly documented, they are by definition
> private. Users who might want to extend your class would probably
> appreciate the docs :)
>
> Greg
well, users that want to extend the class will read the source
and find the phpdocs in place :-)
I realize now that one of the methods can be marked as public,
I will re-add the docbook.
The other one is not private because it's called by an extending
class, but it's not public either:
Private variables, are variables that are visible only to the class to which
they belong.
Protected variables, are variables that are visible only to the class to which
they belong, and any subclasses.
That method should not be exposed on the pear manual.
Kind regards,
--
Lorenzo Alberton
http://pear.php.net/user/quipo