colder Mon May 1 14:30:50 2006 UTC
Modified files:
/phpdoc/en/language/oop5 basic.xml
Log:
Fix #37258 (typos + add a reference to class/objects functions)
http://cvs.php.net/viewcvs.cgi/phpdoc/en/language/oop5/basic.xml?r1=1.15&r2=1.16&diff_format=u
Index: phpdoc/en/language/oop5/basic.xml
diff -u phpdoc/en/language/oop5/basic.xml:1.15
phpdoc/en/language/oop5/basic.xml:1.16
--- phpdoc/en/language/oop5/basic.xml:1.15 Tue Nov 1 16:28:17 2005
+++ phpdoc/en/language/oop5/basic.xml Mon May 1 14:30:50 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.15 $ -->
+<!-- $Revision: 1.16 $ -->
<sect1 id="language.oop5.basic">
<title>The Basics</title>
@@ -9,14 +9,14 @@
<para>
Every class definition begins with the keyword class, followed by a class
name, which can be any name that isn't a <link
linkend="reserved">reserved</link>
- word in PHP. Followed by a pair of curly braces, of
+ word in PHP. Followed by a pair of curly braces,
which contains the definition of the classes members and methods. A
pseudo-variable, <varname>$this</varname> is available when a method is
called from within an object context. <varname>$this</varname> is a
reference to the calling object (usually the object to which the method
belongs, but can be another object, if the method is called
<link linkend="language.oop5.static">statically</link> from the context
- of a secondary object). This is illustrated in the following example:
+ of a secondary object). This is illustrated in the following examples:
<example>
<title><varname>$this</varname> variable in object-oriented
language</title>
<programlisting role="php">
@@ -83,6 +83,14 @@
]]>
</programlisting>
</example>
+
+ <note>
+ <para>
+ There are some nice functions to handle classes and objects. You might want
+ to take a look at the <link linkend="ref.classobj">Class/Object
+ Functions</link>.
+ </para>
+ </note>
</sect2>
<sect2 id="language.oop5.basic.new">