mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Fix doc bug #62334 (New valid uses of static keyword not included in static
keyword doc page) by adding a tip to the oop5.static page linking to the other uses of static. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326724 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
ef51bbad95
commit
4d6ac2f940
1 changed files with 13 additions and 0 deletions
|
@ -3,6 +3,19 @@
|
|||
<sect1 xml:id="language.oop5.static" xmlns="http://docbook.org/ns/docbook">
|
||||
<title>Static Keyword</title>
|
||||
|
||||
<tip>
|
||||
<simpara>
|
||||
This page describes the use of the <literal>static</literal> keyword to
|
||||
define static methods and properties. <literal>static</literal> can also
|
||||
be used to
|
||||
<link linkend="language.variables.scope.static">define static variables</link>
|
||||
and for
|
||||
<link linkend="language.oop5.late-static-bindings">late static bindings</link>.
|
||||
Please refer to those pages for information on those meanings of
|
||||
<literal>static</literal>.
|
||||
</simpara>
|
||||
</tip>
|
||||
|
||||
<para>
|
||||
Declaring class properties or methods as static makes them accessible
|
||||
without needing an instantiation of the class. A property declared as
|
||||
|
|
Loading…
Reference in a new issue