mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
call_user_method(_array) is removed as of PHP 7.0.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350985 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
120c22c98d
commit
b687e06cb0
3 changed files with 0 additions and 217 deletions
|
@ -1,107 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.call-user-method-array" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>call_user_method_array</refname>
|
||||
<refpurpose>Call a user method given with an array of parameters</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>
|
||||
The method name being called.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>obj</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
The <type>object</type> that <parameter>method_name</parameter>
|
||||
is being called on.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>params</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
An array of parameters.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1><!-- }}} -->
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><function>call_user_method_array</function> alternative</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
|
||||
-->
|
|
@ -1,108 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.call-user-method" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>call_user_method</refname>
|
||||
<refpurpose>Call a user method on an specific object</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<warning>
|
||||
&warn.deprecated.function.4-1-0.removed.7-0-0.alternatives;
|
||||
<simplelist role="alternatives">
|
||||
<member><function>call_user_func</function></member>
|
||||
</simplelist>
|
||||
</warning>
|
||||
</refsynopsisdiv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>mixed</type><methodname>call_user_method</methodname>
|
||||
<methodparam><type>string</type><parameter>method_name</parameter></methodparam>
|
||||
<methodparam><type>object</type><parameter role="reference">obj</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters"><!-- {{{ -->
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>method_name</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The method name being called.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>obj</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
The <type>object</type> that <parameter>method_name</parameter>
|
||||
is being called on.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>...</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
The optional parameters.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1><!-- }}} -->
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><function>call_user_method</function> alternative</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
call_user_func(array($obj, $method_name), $parameter /* , ... */);
|
||||
?>
|
||||
]]>
|
||||
</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
|
||||
-->
|
|
@ -6,8 +6,6 @@
|
|||
|
||||
<versions>
|
||||
<function name='__autoload' from='PHP 5, PHP 7' deprecated='PHP 7.2.0'/>
|
||||
<function name='call_user_method_array' from='PHP 4 >= 4.0.5, PHP 5' deprecated='PHP 4.1.0'/>
|
||||
<function name='call_user_method' from='PHP 4, PHP 5' deprecated='PHP 4.1.0'/>
|
||||
<function name='class_alias' from='PHP 5 >= 5.3.0, PHP 7'/>
|
||||
<function name='class_exists' from='PHP 4, PHP 5, PHP 7'/>
|
||||
<function name='get_called_class' from='PHP 5 >= 5.3.0, PHP 7'/>
|
||||
|
|
Loading…
Reference in a new issue