nlopess Thu Jul 15 07:03:25 2004 EDT
Modified files: /phpdoc/en/language/oop5 visibility.xml Log: fix intro text, rewording and re-indenting http://cvs.php.net/diff.php/phpdoc/en/language/oop5/visibility.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc/en/language/oop5/visibility.xml diff -u phpdoc/en/language/oop5/visibility.xml:1.2 phpdoc/en/language/oop5/visibility.xml:1.3 --- phpdoc/en/language/oop5/visibility.xml:1.2 Thu Jul 15 05:47:21 2004 +++ phpdoc/en/language/oop5/visibility.xml Thu Jul 15 07:03:25 2004 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <sect1 id="language.oop5.visibility"> <title>Visibility</title> <para> - 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. + The visibility of a property or method can be defined by prefixing the + declaration with the keywords: public, protected or private. Public + declared items can be acessed everywhere. Protected limits access to + inherited classes (and to the class that defines the item). Private limits + visiblity only to the class that defines the item. </para> <sect2 id="language.oop5.visiblity-members"> <title>Members Visibility</title> @@ -74,8 +74,8 @@ <simpara> The use PHP 4 use of declaring a variable with the keyword 'var' is no longer valid for PHP 5 objects. For compatiblity a variable declared - in php will be assumed with public visiblity, and a E_STRICT warning will - be issued. + in php will be assumed with public visiblity, and a + <constant>E_STRICT</constant> warning will be issued. </simpara> </note> </sect2>