surfmax Mon Jul 15 23:35:25 2002 EDT
Modified files:
/phpdoc/en/reference/classobj/functions call-user-method.xml
Log:
Atualizado 'functions/call-user-method.xml'
Index: phpdoc/en/reference/classobj/functions/call-user-method.xml
diff -u phpdoc/en/reference/classobj/functions/call-user-method.xml:1.2
phpdoc/en/reference/classobj/functions/call-user-method.xml:1.3
--- phpdoc/en/reference/classobj/functions/call-user-method.xml:1.2 Wed Apr 17
02:36:42 2002
+++ phpdoc/en/reference/classobj/functions/call-user-method.xml Mon Jul 15 23:35:25
+2002
@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- 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>
- Call a user method on an specific object [deprecated]
+ Chamar um m�todo de usu�rio em um objeto espec�fico [desaprovado]
</refpurpose>
</refnamediv>
<refsect1>
- <title>Description</title>
+ <title>Descri��o</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>
- 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(&$obj, "method_name")</literal> syntax instead.
+ 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(&$obj, "method_name")</literal> .
</para>
</warning>
<para>
- 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.
+ 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.
<informalexample>
<programlisting role="php">
<![CDATA[
@@ -62,8 +62,8 @@
</informalexample>
</para>
<simpara>
- See also <function>call_user_func_array</function>,
- <function>call_user_func</function>, and
+ Veja tamb�m <function>call_user_func_array</function>,
+ <function>call_user_func</function>, e
<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