surfmax Mon Jul 15 23:28:18 2002 EDT
Modified files:
/phpdoc/en/reference/classobj reference.xml
Log:
Atualizado 'reference.xml'
Index: phpdoc/en/reference/classobj/reference.xml
diff -u phpdoc/en/reference/classobj/reference.xml:1.3
phpdoc/en/reference/classobj/reference.xml:1.4
--- phpdoc/en/reference/classobj/reference.xml:1.3 Fri Apr 19 10:27:44 2002
+++ phpdoc/en/reference/classobj/reference.xml Mon Jul 15 23:28:18 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<reference id="ref.classobj">
<title>Class/Object Functions</title>
<titleabbrev>Classes/Objects</titleabbrev>
@@ -8,22 +8,20 @@
<section id="classobj.intro">
&reftitle.intro;
<para>
- 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).
+ 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).
</para>
</section>
<section id="classobj.examples">
&reftitle.examples;
<para>
- 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.
+ 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.
</para>
<para>
<example>
@@ -78,10 +76,10 @@
</example>
</para>
<para>
- 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.
+ 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.
</para>
<para>
<example>
@@ -145,11 +143,11 @@
</example>
</para>
<para>
- 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:
+ 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�:
</para>
<para>
<informalexample>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php