jsgoupil                Tue Nov  1 11:28:18 2005 EDT

  Modified files:              
    /phpdoc/en/language/oop5    basic.xml 
  Log:
  adding title to an 'big' example + adding ; at the end of a line
  
http://cvs.php.net/diff.php/phpdoc/en/language/oop5/basic.xml?r1=1.14&r2=1.15&ty=u
Index: phpdoc/en/language/oop5/basic.xml
diff -u phpdoc/en/language/oop5/basic.xml:1.14 
phpdoc/en/language/oop5/basic.xml:1.15
--- phpdoc/en/language/oop5/basic.xml:1.14      Thu Feb 10 12:51:00 2005
+++ phpdoc/en/language/oop5/basic.xml   Tue Nov  1 11:28:17 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.14 $ -->
+<!-- $Revision: 1.15 $ -->
 
  <sect1 id="language.oop5.basic">
   <title>The Basics</title>
@@ -17,7 +17,8 @@
     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:
-    <informalexample>
+    <example>
+     <title><varname>$this</varname> variable in object-oriented 
language</title>
      <programlisting role="php">
 <![CDATA[
 <?php
@@ -61,7 +62,7 @@
 $this is not defined.
 ]]>
      </screen>
-    </informalexample>
+    </example>
    </para>
    <example>
     <title>Simple Class definition</title>
@@ -98,7 +99,7 @@
     <programlisting role="php">
 <![CDATA[
 <?php
-$instance = new SimpleClass()
+$instance = new SimpleClass();
 ?>
 ]]>
     </programlisting>

Reply via email to