Files
php-doc-ru/reference/classobj/functions/call-user-method-array.xml
Andrey Gromov 8fea8ade31 63 files updated
git-svn-id: https://svn.php.net/repository/phpdoc/ru/trunk@340063 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-21 08:37:25 +00:00

109 lines
2.9 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 74ad648bc85a97bebc922933f8c47a71251e8c40 Maintainer: shein Status: ready -->
<!-- Reviewed: yes Maintainer: rjhdby -->
<!-- $Revision$ -->
<refentry xml:id="function.call-user-method-array" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>call_user_method_array</refname>
<refpurpose>Вызывает метод объекта с массивом параметров</refpurpose>
</refnamediv>
<refsynopsisdiv>
<warning>
&warn.deprecated.function.4-1-0.removed.7-0-0.alternatives;
<simplelist role="alternatives">
<member><function>call_user_func_array</function></member>
</simplelist>
</warning>
</refsynopsisdiv>
<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>
</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);
?>
]]>
</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
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->