typo, link to reserved words

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@167311 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Friedhelm Betz 2004-08-26 17:42:44 +00:00
parent 93a810678c
commit c6583b18b9

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<sect1 id="language.oop5.basic">
<title>The Basics</title>
@ -8,12 +8,13 @@
<title>class</title>
<para>
Every class definition begins with the keyword class, followed by a class
name, which can be any name that isn't a reserverd word in PHP. Followed
by A pair of curly braces, of which contains the definition of the classes
members and methods. Within each method, except for <link
linkend="language.oop5.static">static</link> methods, a psudo variable
<varname>$this</varname> is available. <varname>$this</varname> is a
reference to the same instance that called the method.
name, which can be any name that isn't a <link linkend="reserved">
reserverd</link> word in PHP. Followed by a pair of curly braces, of
which contains the definition of the classes members and methods. Within
each method, except for <link linkend="language.oop5.static">static</link>
methods, a pseudo variable <varname>$this</varname> is available.
<varname>$this</varname> is a reference to the same instance that
called the method.
</para>
<example>
<title>Simple Class definition</title>
@ -140,7 +141,7 @@ a default value
</sect2>
</sect1>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml