From 871545d23e0d983dc3c2a0dcd08ffa6ca03f238c Mon Sep 17 00:00:00 2001 From: Shein Alexey Date: Thu, 22 Dec 2011 16:08:09 +0000 Subject: [PATCH] Fixed whitespace. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321337 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/oop5/paamayim-nekudotayim.xml | 117 ++++++++++++------------- 1 file changed, 58 insertions(+), 59 deletions(-) diff --git a/language/oop5/paamayim-nekudotayim.xml b/language/oop5/paamayim-nekudotayim.xml index 91451eecff..1e2548ac4b 100644 --- a/language/oop5/paamayim-nekudotayim.xml +++ b/language/oop5/paamayim-nekudotayim.xml @@ -1,37 +1,37 @@ - - Scope Resolution Operator (::) + + Scope Resolution Operator (::) - - The Scope Resolution Operator (also called Paamayim Nekudotayim) or in - simpler terms, the double colon, is a token that allows access to - static, - constant, and overridden - properties or methods of a class. - + + The Scope Resolution Operator (also called Paamayim Nekudotayim) or in + simpler terms, the double colon, is a token that allows access to + static, + constant, and overridden + properties or methods of a class. + - - When referencing these items from outside the class definition, use - the name of the class. - + + When referencing these items from outside the class definition, use + the name of the class. + - - As of PHP 5.3.0, it's possible to reference the class using a variable. - The variable's value can not be a keyword (e.g. self, - parent and static). - + + As of PHP 5.3.0, it's possible to reference the class using a variable. + The variable's value can not be a keyword (e.g. self, + parent and static). + - - 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! - + + 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 the class definition - + + :: from outside the class definition + ]]> - - + + - - Three special keywords self, parent and - static are used to access properties or methods from inside - the class definition. - + + Three special keywords self, parent and + static are used to access properties or methods from inside + the class definition. + - - :: from inside the class definition - + + :: from inside the class definition + ]]> - - + + - - When an extending class overrides the parents definition of a method, - 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 Constructors and Destructors, Overloading, and Magic method definitions. - + + When an extending class overrides the parents definition of a method, + 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 Constructors and Destructors, Overloading, and Magic method definitions. + - - Calling a parent's method - + + Calling a parent's method + myFunc(); ?> ]]> - - - - See also some examples of - static call trickery. - + + + + See also some examples of + static call trickery. + + + - - -