derick          Tue Jul 16 01:51:20 2002 EDT

  Modified files:              
    /phpdoc/en/reference/classobj       reference.xml 
    /phpdoc/en/reference/classobj/functions     call-user-method.xml 
  Log:
  - Only english text in the english tree please
  
  
Index: phpdoc/en/reference/classobj/reference.xml
diff -u phpdoc/en/reference/classobj/reference.xml:1.4 
phpdoc/en/reference/classobj/reference.xml:1.5
--- phpdoc/en/reference/classobj/reference.xml:1.4      Mon Jul 15 23:28:18 2002
+++ phpdoc/en/reference/classobj/reference.xml  Tue Jul 16 01:51:20 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
  <reference id="ref.classobj">
   <title>Class/Object Functions</title>
   <titleabbrev>Classes/Objects</titleabbrev>
@@ -8,20 +8,22 @@
     <section id="classobj.intro">
      &reftitle.intro;
      <para>
-      Estas funções te permitem obter informações sobre classes e instâncias 
-         de objetos. Você pode obter o nome da classe que um objeto pertence,
-         bem como suas propriedades e métodos. Usando estas funções, você pode
-         descobrir não apenas a classe de um objeto, mas também seu parentesco
-         (i.e. Qual classe o objeto se extende).
+      These functions allow you to obtain information about classes
+      and instance objects. You can obtain the name of the class to
+      which a object belongs, as well as its member properties and 
+      methods. Using these functions, you can find out not only the
+      class membership of an object, but also its parentage (i.e.
+      what class is the object class extending).
      </para>
     </section>
     <section id="classobj.examples">
      &reftitle.examples;
      <para>
-      Neste exemplo, nós primeiramente definiremos uma classe base
-         e uma extensão da classe. A classe base descreve um vegetal comum, 
-         que é comestível ou não e que tem sua cor. A 
sub-classe<varname>Espinafre</varname>
-         adiciona um método para cozinha-lo e outro para descobrir se ele está cozido.
+      In this example, we first define a base class and an extension
+      of the class. The base class describes a general vegetable,
+      whether it is edible or not and what is its color. The subclass
+      <varname>Spinach</varname> adds a method to cook it and another to
+      find out if it is cooked.
      </para>
      <para>
       <example>
@@ -76,10 +78,10 @@
       </example>
      </para>
      <para>
-     Nós instanciamos 2 objetos destas classes e exibimos informações sobre elas, 
-        incluindo o parentesco de suas classes.
-     Nós também definimos algumas funções úteis, principalmente ter uma boa sáida de
-        variáveis. 
+     We then instantiate 2 objects from these classes and print out
+     information about them, including their class parentage.
+     We also define some utility functions, mainly to have a nice printout
+     of the variables.
      </para>
      <para>
       <example>
@@ -143,11 +145,11 @@
       </example>
      </para>
      <para>
-      Uma coisa importante para notar no exemplo acima é que o 
-         objeto<varname>$leafy</varname> é uma instância da 
-         classe<classname>Espinafre</classname> que é uma subclasse 
-         de <classname>Vegetal</classname>,
-      então a última parte do script acima retornará:
+      One important thing to note in the example above is that
+      the object <varname>$leafy</varname> is an instance of the class
+      <classname>Spinach</classname> which is a subclass of 
+      <classname>Vegetable</classname>,
+      therefore the last part of the script above will output:
      </para>
      <para>
       <informalexample>
Index: phpdoc/en/reference/classobj/functions/call-user-method.xml
diff -u phpdoc/en/reference/classobj/functions/call-user-method.xml:1.3 
phpdoc/en/reference/classobj/functions/call-user-method.xml:1.4
--- phpdoc/en/reference/classobj/functions/call-user-method.xml:1.3     Mon Jul 15 
23:35:25 2002
+++ phpdoc/en/reference/classobj/functions/call-user-method.xml Tue Jul 16 01:51:20 
+2002
@@ -1,15 +1,15 @@
 <?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.4 -->
   <refentry id="function.call-user-method">
    <refnamediv>
     <refname>call_user_method</refname>
     <refpurpose>
-     Chamar um método de usuário em um objeto específico [desaprovado]
+     Call a user method on an specific object [deprecated]
     </refpurpose>
    </refnamediv>
    <refsect1>
-    <title>Descrição</title>
+    <title>Description</title>
      <methodsynopsis>
       <type>mixed</type><methodname>call_user_method</methodname>
       <methodparam><type>string</type><parameter>method_name</parameter></methodparam>
@@ -19,17 +19,17 @@
      </methodsynopsis>
     <warning>
      <para>
-      A função<function>call_user_method</function> é desaprovada em relação
-      ao PHP 4.1.0, use a <function>call_user_func</function>  
-      com a seguinte sintaxe <literal>array(&amp;$obj, "method_name")</literal> .
+      The <function>call_user_method</function> function is deprecated
+      as of PHP 4.1.0, use the <function>call_user_func</function> variety 
+      with the <literal>array(&amp;$obj, "method_name")</literal> syntax instead.
      </para>
     </warning>
     <para>
-     Chama o método referido pelo <parameter>method_name</parameter> do objeto
-     <parameter>obj</parameter> definido pelo usuário. Um exemplo segue abaixo,
-         onde nós definiremos uma classe, instanciaremos um objeto e usaremos a função
-     <function>call_user_method</function> para chamar indiretamente
-     <varname>print_info</varname> seu método.
+     Calls the method referred by <parameter>method_name</parameter> from
+     the user defined <parameter>obj</parameter> object. An example of usage
+     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.
      <informalexample>
       <programlisting role="php">
 <![CDATA[
@@ -62,8 +62,8 @@
      </informalexample>
     </para>
     <simpara>
-     Veja também <function>call_user_func_array</function>,
-     <function>call_user_func</function>, e
+     See also <function>call_user_func_array</function>,
+     <function>call_user_func</function>, and
      <function>call_user_method_array</function>.
     </simpara>
    </refsect1>



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

Reply via email to