#29187 [Opn->Csd]: PHP5 Object Visibility

From: Date: Thu, 15 Jul 2004 14:13:30 +0000
Subject: #29187 [Opn->Csd]: PHP5 Object Visibility
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969361881@lists.php.net to get a copy of this message
ID: 29187 Updated by: tony2001@php.net Reported By: nuts at squirrelfood dot net -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: online documentation PHP Version: 5.0.0 New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2004-07-15 16:08:20] nuts at squirrelfood dot net Description: ------------ In the Docs for PHP5 Objects:Visibility (http://www.php.net/manual/en/language.oop5.visibility.php) - I believe there are errors in the text: 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 read: 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 to only classes inherited. Private limits visiblity only to the class that defines the item. and the following lines: Class members must be defined with public, private, or private. should read: Class members must be defined with public, protected, or private. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29187&edit=1

« previous php.doc (#969361881) next »