cvs: phpdoc /en/reference/classobj/functions call-user-method.xml

From: Date: Tue, 16 Jul 2002 03:35:25 +0000
Subject: cvs: phpdoc /en/reference/classobj/functions call-user-method.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969347279@lists.php.net to get a copy of this message
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(&amp;$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(&amp;$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>

« previous php.doc (#969347279) next »