mirror of
https://github.com/php/doc-ru.git
synced 2025-08-15 23:42:35 +00:00
Обновление до английской версии
This commit is contained in:
@ -1,8 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 4754397753fd79f1c846868b66a2448babab1c54 Maintainer: sergey Status: ready -->
|
||||
<!-- EN-Revision: c44475e1fafcbee203ed4935a6d5d7a01379fcdc Maintainer: sergey Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<refentry xml:id="function.get-class-methods" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>get_class_methods</refname>
|
||||
@ -12,7 +11,7 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>array</type><methodname>get_class_methods</methodname>
|
||||
<methodparam><type>mixed</type><parameter>class_name</parameter></methodparam>
|
||||
<methodparam><type class="union"><type>object</type><type>string</type></type><parameter>object_or_class</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Возвращает массив имён методов класса.
|
||||
@ -23,7 +22,7 @@
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>class_name</parameter></term>
|
||||
<term><parameter>object_or_class</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Имя класса или объект
|
||||
@ -37,10 +36,32 @@
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Возвращает массив имён методов, объявленных в классе
|
||||
<parameter>class_name</parameter>. В случае ошибки будет
|
||||
возвращён &null;.
|
||||
<parameter>object_or_class</parameter>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.0.0</entry>
|
||||
<entry>
|
||||
Параметр <parameter>object_or_class</parameter> теперь принимает только объекты или корректные имена классов.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
@ -103,7 +124,6 @@ myfunc2
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
Reference in New Issue
Block a user