philip Fri Aug 27 11:38:23 2004 EDT
Modified files:
/phpdoc/en/language/oop5 paamayim-nekudotayim.xml
Log:
Rewording/grammar, added :: to the title, and a typo fix.
http://cvs.php.net/diff.php/phpdoc/en/language/oop5/paamayim-nekudotayim.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/language/oop5/paamayim-nekudotayim.xml
diff -u phpdoc/en/language/oop5/paamayim-nekudotayim.xml:1.5
phpdoc/en/language/oop5/paamayim-nekudotayim.xml:1.6
--- phpdoc/en/language/oop5/paamayim-nekudotayim.xml:1.5 Sun Aug 22 11:24:45
2004
+++ phpdoc/en/language/oop5/paamayim-nekudotayim.xml Fri Aug 27 11:38:23 2004
@@ -1,31 +1,30 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<sect1 id="language.oop5.paamayim-nekudotayim">
- <title>Scope Resolution Operator</title>
+ <title>Scope Resolution Operator (::)</title>
<para>
The Scope Resolution Operator (also called Paamayim Nekudotayim) or in
- simpler terms, the double colon. This token provides a way to access
+ simpler terms, the double colon, is a token that allows access to
<link linkend="language.oop5.static">static</link>,
- <link linkend="language.oop5.constants">constant</link> or overridden members
- or methods of a class.
+ <link linkend="language.oop5.constants">constant</link>, and overridden
+ members or methods of a class.
</para>
<para>
- When referencing these items from outside the class definition, you use
- name of the class.
+ When referencing these items from outside the class definition, use
+ the name of the class.
</para>
<para>
- Paamayim Nekudotayim would, at first, seem a strange choice for a
- double-colon. However, at the time of writing of Zend Engine 0.5
- (which powered PHP3), that is what Andi and Zeev decided to call it.
- It actually does mean double-colon - in Hebrew! As PHP has progressed
- with its development it has just never changed.
+ Paamayim Nekudotayim would, at first, seem like a strange choice for
+ naming a double-colon. However, while writing the Zend Engine 0.5
+ (which powers PHP 3), that's what the Zend team decided to call it.
+ It actually does mean double-colon - in Hebrew!
</para>
<example>
- <title>:: from outside class definition</title>
+ <title>:: from outside the class definition</title>
<programlisting role="php">
<![CDATA[
<?php
@@ -65,11 +64,11 @@
<para>
When an extending class overrides the parents definition of a method,
- php will not call the parent's method. It is up to the extending class
- to call the parent method or not, this also applies to <link
+ PHP will not call the parent's method. It's up to the extended class
+ on whether or not the parent's method is called. This also applies to <link
linkend="language.oop5.decon">Constructors and Destructors</link>, <link
- linkend="language.oop5.overloading">Overloading</link> and <link
- linkend="language.oop5.magic">Magic</link> method defintions as well.
+ linkend="language.oop5.overloading">Overloading</link>, and <link
+ linkend="language.oop5.magic">Magic</link> method definitions.
</para>
<example>