note 46069 deleted from language.oop5.visibility by nlopess

From: Date: Tue, 28 Sep 2004 18:54:47 +0000
Subject: note 46069 deleted from language.oop5.visibility by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-77540@lists.php.net to get a copy of this message
Note Submitter: jaxn ---- Public - a public variable can be accessed directly by any user of the class. Protected - a protected variable or method cannot be accessed by users of the class but can be accessed inside a subclass that inherits from the class. Private - a private variable or method can only be accessed internally from the class in which it is defined. This means that a private variable or method cannot be called from a child that extends the class. *** Definitions taken from George Schlossnagle's "Advanced PHP Programming" book.

« previous php.notes (#77540) next »