derick          Mon Jun 16 08:12:08 2003 EDT

  Modified files:              
    /phpdoc/en/reference/classobj/functions     call-user-method.xml 
                                                get-class-methods.xml 
                                                get-class-vars.xml 
                                                get-object-vars.xml 
  Log:
  - Restructure examples
  
  
Index: phpdoc/en/reference/classobj/functions/call-user-method.xml
diff -u phpdoc/en/reference/classobj/functions/call-user-method.xml:1.4 
phpdoc/en/reference/classobj/functions/call-user-method.xml:1.5
--- phpdoc/en/reference/classobj/functions/call-user-method.xml:1.4     Tue Jul 16 
01:51:20 2002
+++ phpdoc/en/reference/classobj/functions/call-user-method.xml Mon Jun 16 08:12:08 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
 <!-- splitted from ./en/functions/classobj.xml, last change in rev 1.4 -->
   <refentry id="function.call-user-method">
    <refnamediv>
@@ -30,6 +30,8 @@
      is below, where we define a class, instantiate an object and use
      <function>call_user_method</function> to call indirectly its
      <varname>print_info</varname> method.
+    </para>
+    <para>
      <informalexample>
       <programlisting role="php">
 <![CDATA[
Index: phpdoc/en/reference/classobj/functions/get-class-methods.xml
diff -u phpdoc/en/reference/classobj/functions/get-class-methods.xml:1.3 
phpdoc/en/reference/classobj/functions/get-class-methods.xml:1.4
--- phpdoc/en/reference/classobj/functions/get-class-methods.xml:1.3    Thu May 30 
10:02:40 2002
+++ phpdoc/en/reference/classobj/functions/get-class-methods.xml        Mon Jun 16 
08:12:08 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <!-- splitted from ./en/functions/classobj.xml, last change in rev 1.2 -->
   <refentry id="function.get-class-methods">
    <refnamediv>
@@ -64,19 +64,17 @@
 ?>      
 ]]>
       </programlisting>
-     </example>
-    </para>
-    <para>
-     Will produce:
-     <informalexample>
-      <programlisting>
+      <para>
+       Will produce:
+      </para>
+      <screen>
 <![CDATA[
 myclass
 myfunc1
 myfunc2
 ]]>
-      </programlisting>
-     </informalexample>
+      </screen>
+     </example>
     </para>
     <simpara>
      See also <function>get_class_vars</function> and
Index: phpdoc/en/reference/classobj/functions/get-class-vars.xml
diff -u phpdoc/en/reference/classobj/functions/get-class-vars.xml:1.4 
phpdoc/en/reference/classobj/functions/get-class-vars.xml:1.5
--- phpdoc/en/reference/classobj/functions/get-class-vars.xml:1.4       Fri Nov 15 
05:35:58 2002
+++ phpdoc/en/reference/classobj/functions/get-class-vars.xml   Mon Jun 16 08:12:08 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
 <!-- splitted from ./en/functions/classobj.xml, last change in rev 1.1 -->
   <refentry id="function.get-class-vars">
    <refnamediv>
@@ -56,12 +56,10 @@
 ?>      
 ]]>
       </programlisting>
-     </example>
-    </para>
-    <para>
-     Will produce:
-     <informalexample>
-      <programlisting>
+      <para>
+       Will produce:
+      </para>
+      <screen>
 <![CDATA[
 // Before PHP 4.2.0
 var2 : xyz
@@ -72,8 +70,8 @@
 var2 : xyz
 var3 : 100
 ]]>
-      </programlisting>
-     </informalexample>
+      </screen>
+     </example>
     </para>
     <simpara>
      See also <function>get_class_methods</function>,
Index: phpdoc/en/reference/classobj/functions/get-object-vars.xml
diff -u phpdoc/en/reference/classobj/functions/get-object-vars.xml:1.3 
phpdoc/en/reference/classobj/functions/get-object-vars.xml:1.4
--- phpdoc/en/reference/classobj/functions/get-object-vars.xml:1.3      Sat Jan 18 
20:18:20 2003
+++ phpdoc/en/reference/classobj/functions/get-object-vars.xml  Mon Jun 16 08:12:08 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <!-- splitted from ./en/functions/classobj.xml, last change in rev 1.1 -->
   <refentry id="function.get-object-vars">
    <refnamediv>
@@ -61,9 +61,10 @@
 ?>
 ]]>
       </programlisting>
-     </example>
-     The printout of the above program will be: 
-     <screen>
+      <para>
+       The printout of the above program will be: 
+      </para>
+      <screen>
 <![CDATA[
  Array
  (
@@ -79,7 +80,8 @@
      [label] => point #1
  )
 ]]>
-     </screen>
+      </screen>
+     </example>
     </para>
     <simpara>
      See also <function>get_class_methods</function> and



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to