cvs: phpdoc /en/language/oop5 static.xml

From: Date: Tue, 19 Jul 2005 18:50:58 +0000
Subject: cvs: phpdoc /en/language/oop5 static.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969369228@lists.php.net to get a copy of this message
nforbes Tue Jul 19 14:50:58 2005 EDT Modified files: /phpdoc/en/language/oop5 static.xml Log: Static methods can be called in an object; minor grammatical fixes http://cvs.php.net/diff.php/phpdoc/en/language/oop5/static.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/language/oop5/static.xml diff -u phpdoc/en/language/oop5/static.xml:1.6 phpdoc/en/language/oop5/static.xml:1.7 --- phpdoc/en/language/oop5/static.xml:1.6 Fri Apr 29 03:25:23 2005 +++ phpdoc/en/language/oop5/static.xml Tue Jul 19 14:50:58 2005 @@ -1,13 +1,14 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <sect1 id="language.oop5.static"> <title>Static Keyword</title> <para> - Declaring class members or methods as static, makes them callable - from outside the object context. A member or method declared - with static can not be accessed with a variable that is an instance - of the object and cannot be re-defined in an extending class. + Declaring class members or methods as static makes them accessible + without needing an instantiation of the class. A member declared as + static can not be accessed with an instantiated class object (though + a static method can). Static members and methods cannot be re-defined + in subclasses. </para> <para>

« previous php.doc (#969369228) next »