note 46069 added to language.oop5.visibility

From: Date: Tue, 28 Sep 2004 14:42:08 +0000
Subject: note 46069 added to language.oop5.visibility
Groups: php.notes 
Request: Send a blank email to php-notes+get-77524@lists.php.net to get a copy of this message
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. ---- Manual Page -- http://www.php.net/manual/en/language.oop5.visibility.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+46069 Delete -- http://master.php.net/manage/user-notes.php?action=delete+46069&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+46069&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#77524) next »