betz Thu Aug 26 13:42:45 2004 EDT
Modified files:
/phpdoc/en/language/oop5 basic.xml
Log:
typo, link to reserved words
http://cvs.php.net/diff.php/phpdoc/en/language/oop5/basic.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/language/oop5/basic.xml
diff -u phpdoc/en/language/oop5/basic.xml:1.2 phpdoc/en/language/oop5/basic.xml:1.3
--- phpdoc/en/language/oop5/basic.xml:1.2 Sun Aug 15 08:42:40 2004
+++ phpdoc/en/language/oop5/basic.xml Thu Aug 26 13:42:44 2004
@@ -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 @@
</sect2>
</sect1>
-
+
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml