From c62173b9094605f0e9a0d7461676f954b1ba24e8 Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Fri, 27 Aug 2004 15:38:23 +0000 Subject: [PATCH] Rewording/grammar, added :: to the title, and a typo fix. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@167398 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/oop5/paamayim-nekudotayim.xml | 33 +++++++++++++------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/language/oop5/paamayim-nekudotayim.xml b/language/oop5/paamayim-nekudotayim.xml index 3f456cef67..27915e06b7 100644 --- a/language/oop5/paamayim-nekudotayim.xml +++ b/language/oop5/paamayim-nekudotayim.xml @@ -1,31 +1,30 @@ - + - Scope Resolution Operator + Scope Resolution Operator (::) 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 static, - constant or overridden members - or methods of a class. + constant, and overridden + members or methods of a class. - 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. - 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! - :: from outside class definition + :: from outside the class definition 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 Constructors and Destructors, Overloading and Magic method defintions as well. + linkend="language.oop5.overloading">Overloading, and Magic method definitions.