svn: /phpdoc/ru/trunk/reference/classobj/functions/ call-user-method-array.xml
| From: | Shein Alexey | Date: | Mon, 07 Feb 2011 06:42:26 +0000 |
| Subject: | svn: /phpdoc/ru/trunk/reference/classobj/functions/ call-user-method-array.xml | ||
| Groups: | php.doc.ru | ||
| Request: | Send a blank email to doc-ru+get-1354@lists.php.net to get a copy of this message | ||
shein Mon, 07 Feb 2011 06:42:26 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=308079
Log:
Updated translation.
Changed paths:
U phpdoc/ru/trunk/reference/classobj/functions/call-user-method-array.xml
Modified: phpdoc/ru/trunk/reference/classobj/functions/call-user-method-array.xml
===================================================================
--- phpdoc/ru/trunk/reference/classobj/functions/call-user-method-array.xml 2011-02-07 06:31:19 UTC
(rev 308078)
+++ phpdoc/ru/trunk/reference/classobj/functions/call-user-method-array.xml 2011-02-07 06:42:26 UTC
(rev 308079)
@@ -1,42 +1,90 @@
<?xml version="1.0" encoding="utf-8"?>
+<!-- EN-Revision: 298514 Maintainer: shein Status: ready -->
+<!-- Reviewed: yes -->
<!-- $Revision$ -->
-<!-- EN-Revision: n/a Maintainer: lovchy Status: ready -->
-<!-- splitted from ./en/functions/classobj.xml, last change in rev 1.36 -->
- <refentry xml:id="function.call-user-method-array" xmlns="http://docbook.org/ns/docbook">
- <refnamediv>
- <refname>call_user_method_array</refname>
- <refpurpose>
- Вызываем метод объекта с массивом параметров
[устаревшее]
- </refpurpose>
- </refnamediv>
- <refsect1>
- <title>Описание</title>
- <methodsynopsis>
- <type>mixed</type><methodname>call_user_method_array</methodname>
-
<methodparam><type>string</type><parameter>method_name</parameter></methodparam>
-
<methodparam><type>object</type><parameter>obj</parameter></methodparam>
- <methodparam
choice="opt"><type>array</type><parameter>paramarr</parameter></methodparam>
- </methodsynopsis>
- <warning>
- <para>
- Функция <function>call_user_method_array</function> устарела с
выходом
- 4.1.0: используйте функцию
<function>call_user_func_array</function> с
- <literal>array(&$obj, "method_name")</literal> в
качестве параметра
- имени функции.
- </para>
- </warning>
- <para>
- Вызывает метод <parameter>method_name</parameter> объекта
<parameter>obj</parameter>,
- с параметрами содержащимися в массиве
<parameter>paramarr</parameter>.
- </para>
- <para>
- См. также:
- <function>call_user_func_array</function> и
- <function>call_user_func</function>.
- </para>
- </refsect1>
- </refentry>
+<refentry xml:id="function.call-user-method-array" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+ <refname>call_user_method_array</refname>
+ <refpurpose>Вызывает метод объекта с массивом
параметров [устаревшее]</refpurpose>
+ </refnamediv>
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>mixed</type><methodname>call_user_method_array</methodname>
+
<methodparam><type>string</type><parameter>method_name</parameter></methodparam>
+ <methodparam><type>object</type><parameter
role="reference">obj</parameter></methodparam>
+
<methodparam><type>array</type><parameter>params</parameter></methodparam>
+ </methodsynopsis>
+ <warning>
+ <para>
+ Функция <function>call_user_method_array</function> устарела с
выходом
+ 4.1.0.
+ </para>
+ </warning>
+ </refsect1>
+ <refsect1 role="parameters"><!-- {{{ -->
+ &reftitle.parameters;
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>method_name</parameter></term>
+ <listitem>
+ <para>
+ Имя вызываемого метода.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <parameter>obj</parameter>
+ </term>
+ <listitem>
+ <para>
+ Объект (<type>object</type>), содержащий вызываемый
метод <parameter>method_name</parameter>.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <parameter>params</parameter>
+ </term>
+ <listitem>
+ <para>
+ Массив параметров.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </refsect1><!-- }}} -->
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title>Альтернатива
<function>call_user_method_array</function></title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+call_user_func_array(array($obj, $method_name), $params);
+call_user_func_array(array(&$obj, $method_name), $params); // PHP 4
+?>
+]]>
+ </programlisting>
+ </example>
+ </para>
+ </refsect1>
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><function>call_user_func_array</function></member>
+ <member><function>call_user_func</function></member>
+ </simplelist>
+ </para>
+ </refsect1>
+</refentry>
+
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
@@ -48,7 +96,7 @@
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
-sgml-default-dtd-file:"../~/.phpdoc/manual.ced"
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil