Re: [php] error in manual?
| From: | Philip Olson | Date: | Tue, 20 Jul 2004 23:29:46 +0000 |
| Subject: | Re: [php] error in manual? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-191246@lists.php.net to get a copy of this message | ||
Yes you're correct, this was fixed about a week ago and will show up when
the manual is next built (which should be soon), here's the diff:
http://cvs.php.net/diff.php/phpdoc/en/language/oop5/visibility.xml?r1=1.2&r2=1.3
When you find errors like this be sure to file a doc bug report at
bugs.php.net but be sure to search the bug database first! For example
here's the report for this very bug:
http://bugs.php.net/bug.php?id=29187
Regards,
Philip
On Tue, 20 Jul 2004, Nick W wrote:
> On the page
> http://www.php.net/manual/en/language.oop5.visibility.php
>
> the first part reads:
>
> The visibility of a member or method can be defined by prefixing the
> declaration with the keywords: public, protected or private. Public declared
> items can be allow access to any caller. Protected limits access access to
> only classes inherited. Protected limits visiblity only to the class that
> defines the item.
>
>
> should be [I think]
>
> The visibility of a member or method can be defined by prefixing the
> declaration with the keywords: public, protected or private. Public declared
> items can be allow access to any caller. Protected limits access access to
> only classes inherited. PRIVATE limits visiblity only to the class that
> defines the item.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>