Static methods can be called in an object; minor grammatical fixes

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@191028 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Noah Fontes 2005-07-19 18:50:58 +00:00
parent cf723cd309
commit 63d696330f

View file

@ -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>