mirror of
https://github.com/php/doc-ru.git
synced 2025-07-28 06:39:58 +00:00
Обновление до английской версии
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: a74126187d50d682e870e274c5cc4ea7ed96fcd3 Maintainer: shein Status: ready -->
|
||||
<!-- EN-Revision: c44475e1fafcbee203ed4935a6d5d7a01379fcdc Maintainer: shein Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.class-alias" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -11,13 +11,13 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>class_alias</methodname>
|
||||
<methodparam><type>string</type><parameter>original</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>class</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>alias</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>bool</type><parameter>autoload</parameter><initializer>&true;</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Создаёт псевдоним <parameter>alias</parameter>
|
||||
для пользовательского класса <parameter>original</parameter>.
|
||||
для пользовательского класса <parameter>class</parameter>.
|
||||
Новый класс с псевдонимом будет точно таким же,
|
||||
как и оригинальный класс.
|
||||
</para>
|
||||
@ -27,7 +27,7 @@
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>original</parameter></term>
|
||||
<term><parameter>class</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Оригинальный класс.
|
||||
@ -115,7 +115,6 @@ bool(true)
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 53bdffa6b9f8ce5ffdaf476c9d450f7cd0d1afa2 Maintainer: shein Status: ready -->
|
||||
<!-- EN-Revision: c44475e1fafcbee203ed4935a6d5d7a01379fcdc Maintainer: shein Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.class-exists" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -11,7 +11,7 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>class_exists</methodname>
|
||||
<methodparam><type>string</type><parameter>class_name</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>class</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>bool</type><parameter>autoload</parameter><initializer>&true;</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
@ -23,7 +23,7 @@
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>class_name</parameter></term>
|
||||
<term><parameter>class</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Имя класса. Воспринимается без учёта регистра.
|
||||
@ -44,7 +44,7 @@
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Возвращает &true;, если класс <parameter>class_name</parameter> объявлен,
|
||||
Возвращает &true;, если класс <parameter>class</parameter> объявлен,
|
||||
иначе &false;.
|
||||
</para>
|
||||
</refsect1>
|
||||
@ -102,7 +102,6 @@ if (class_exists('MyClass')) {
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -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
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: e41806c30bf6975e452c0d4ce35ab0984c2fa68c Maintainer: shein Status: ready -->
|
||||
<!-- EN-Revision: c44475e1fafcbee203ed4935a6d5d7a01379fcdc Maintainer: shein Status: ready -->
|
||||
<!-- Reviewed: yes Maintainer: rjhdby -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.get-class-vars" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -11,7 +11,7 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>array</type><methodname>get_class_vars</methodname>
|
||||
<methodparam><type>string</type><parameter>class_name</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>class</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Возвращает объявленные по умолчанию свойства указанного класса.
|
||||
@ -22,7 +22,7 @@
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>class_name</parameter></term>
|
||||
<term><parameter>class</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Имя класса
|
||||
@ -38,7 +38,7 @@
|
||||
Возвращает ассоциативный массив объявленных свойств класса,
|
||||
видимых из текущей области видимости, с их значением по умолчанию.
|
||||
Получившиеся элементы массива имеют форму
|
||||
<literal>varname => value</literal>.
|
||||
<literal>varname => value</literal>.
|
||||
В случае ошибки возвращается &false;.
|
||||
</para>
|
||||
</refsect1>
|
||||
@ -147,7 +147,6 @@ a
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: e41806c30bf6975e452c0d4ce35ab0984c2fa68c Maintainer: shein Status: ready -->
|
||||
<!-- EN-Revision: c44475e1fafcbee203ed4935a6d5d7a01379fcdc Maintainer: shein Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.get-parent-class" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -11,7 +11,7 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>get_parent_class</methodname>
|
||||
<methodparam choice="opt"><type>mixed</type><parameter>object</parameter></methodparam>
|
||||
<methodparam choice="opt"><type class="union"><type>object</type><type>string</type></type><parameter>object_or_class</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Возвращает имя родительского класса для объекта или класса.
|
||||
@ -22,7 +22,7 @@
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>object</parameter></term>
|
||||
<term><parameter>object_or_class</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Тестируемый объект или имя класса. Если вызывается из метода объекта,
|
||||
@ -33,6 +33,7 @@
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
@ -51,6 +52,28 @@
|
||||
</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>
|
||||
@ -108,7 +131,6 @@ I'm dad's son too
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: b8758b0605e80c4e3610137b7502a6abeea5c69b Maintainer: shein Status: ready -->
|
||||
<!-- EN-Revision: c44475e1fafcbee203ed4935a6d5d7a01379fcdc Maintainer: shein Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.interface-exists" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -11,7 +11,7 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>interface_exists</methodname>
|
||||
<methodparam><type>string</type><parameter>interface_name</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>interface</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>bool</type><parameter>autoload</parameter><initializer>&true;</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
@ -23,7 +23,7 @@
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>interface_name</parameter></term>
|
||||
<term><parameter>interface</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Имя интерфейса
|
||||
@ -45,7 +45,7 @@
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Возвращает &true;, если интерфейс c заданным именем
|
||||
<parameter>interface_name</parameter> был определён или &false; в противном случае.
|
||||
<parameter>interface</parameter> был определён или &false; в противном случае.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="examples">
|
||||
@ -81,7 +81,6 @@ if (interface_exists('MyInterface')) {
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: f9c4a68ef4f89e51e6d9b905ad3ddb6492386dd3 Maintainer: shein Status: ready -->
|
||||
<!-- EN-Revision: c44475e1fafcbee203ed4935a6d5d7a01379fcdc Maintainer: shein Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.is-a" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -12,12 +12,12 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>is_a</methodname>
|
||||
<methodparam><type>mixed</type><parameter>object</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>class_name</parameter></methodparam>
|
||||
<methodparam><type>mixed</type><parameter>object_or_class</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>class</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>bool</type><parameter>allow_string</parameter><initializer>&false;</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Проверяет, принадлежит ли объект <parameter>object</parameter>
|
||||
Проверяет, принадлежит ли объект <parameter>object_or_class</parameter>
|
||||
к данному классу или является ли этот класс одним из его родителей.
|
||||
</para>
|
||||
</refsect1>
|
||||
@ -26,7 +26,7 @@
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>object</parameter></term>
|
||||
<term><parameter>object_or_class</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Имя класса или объект
|
||||
@ -34,7 +34,7 @@
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>class_name</parameter></term>
|
||||
<term><parameter>class</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Имя класса
|
||||
@ -46,7 +46,7 @@
|
||||
<listitem>
|
||||
<para>
|
||||
Если параметр установлен в &false;, то не допускается имя класса в виде строки
|
||||
в качестве параметра <parameter>object</parameter>. Это также предотвращает вызов
|
||||
в качестве параметра <parameter>object_or_class</parameter>. Это также предотвращает вызов
|
||||
автозагрузчика, если класс не существует.
|
||||
</para>
|
||||
</listitem>
|
||||
@ -111,7 +111,6 @@ if ($WF instanceof WidgetFactory) {
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: a0ae28d3bc85f927c22649ebd9a590b921534b7d Maintainer: shein Status: ready -->
|
||||
<!-- EN-Revision: c44475e1fafcbee203ed4935a6d5d7a01379fcdc Maintainer: shein Status: ready -->
|
||||
<!-- Reviewed: yes Maintainer: rjhdby -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.is-subclass-of" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -11,13 +11,13 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>is_subclass_of</methodname>
|
||||
<methodparam><type>mixed</type><parameter>object</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>class_name</parameter></methodparam>
|
||||
<methodparam><type>mixed</type><parameter>object_or_class</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>class</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>bool</type><parameter>allow_string</parameter><initializer>&true;</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Проверяет, содержит ли объект <parameter>object</parameter> в своём дереве
|
||||
предков класс <parameter>class_name</parameter> либо прямо реализует его.
|
||||
Проверяет, содержит ли объект <parameter>object_or_class</parameter> в своём дереве
|
||||
предков класс <parameter>class</parameter> либо прямо реализует его.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
@ -25,7 +25,7 @@
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>object</parameter></term>
|
||||
<term><parameter>object_or_class</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Имя класса или экземпляр объекта. В случае отсутствия такого класса
|
||||
@ -34,7 +34,7 @@
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>class_name</parameter></term>
|
||||
<term><parameter>class</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Имя класса
|
||||
@ -46,7 +46,7 @@
|
||||
<listitem>
|
||||
<para>
|
||||
Если параметр установлен в false, то не допускается имя класса в виде строки
|
||||
в качестве параметра <parameter>object</parameter>. Это также предотвращает вызов
|
||||
в качестве параметра <parameter>object_or_class</parameter>. Это также предотвращает вызов
|
||||
автозагрузчика, если класс не существует.
|
||||
</para>
|
||||
</listitem>
|
||||
@ -57,8 +57,8 @@
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Эта функция возвращает &true;, если объект <parameter>object</parameter>
|
||||
принадлежит к классу, наследующему от <parameter>class_name</parameter>, иначе
|
||||
Эта функция возвращает &true;, если объект <parameter>object_or_class</parameter>
|
||||
принадлежит к классу, наследующему от <parameter>class</parameter>, иначе
|
||||
она возвращает &false;.
|
||||
</para>
|
||||
</refsect1>
|
||||
@ -188,7 +188,6 @@ if (is_subclass_of('MyClass', 'MyInterface')) {
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: a9a9172aee44500904963b1449d529754171dee0 Maintainer: shein Status: ready -->
|
||||
<!-- EN-Revision: c44475e1fafcbee203ed4935a6d5d7a01379fcdc Maintainer: shein Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.method-exists" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -11,12 +11,12 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>method_exists</methodname>
|
||||
<methodparam><type class="union"><type>string</type><type>object</type></type><parameter>object</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>method_name</parameter></methodparam>
|
||||
<methodparam><type class="union"><type>object</type><type>string</type></type><parameter>object_or_class</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>method</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Проверяет, существует ли метод класса в указанном объекте
|
||||
<parameter>object</parameter>.
|
||||
<parameter>object_or_class</parameter>.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
@ -24,7 +24,7 @@
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>object</parameter></term>
|
||||
<term><parameter>object_or_class</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Экземпляр объекта или имя класса
|
||||
@ -32,7 +32,7 @@
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>method_name</parameter></term>
|
||||
<term><parameter>method</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Имя метода
|
||||
@ -45,8 +45,8 @@
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Возвращает &true;, если метод <parameter>method_name</parameter>
|
||||
определён для указанного объекта <parameter>object</parameter>, иначе
|
||||
Возвращает &true;, если метод <parameter>method</parameter>
|
||||
определён для указанного объекта <parameter>object_or_class</parameter>, иначе
|
||||
возвращает &false;.
|
||||
</para>
|
||||
</refsect1>
|
||||
@ -105,7 +105,6 @@ bool(true)
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: f9c4a68ef4f89e51e6d9b905ad3ddb6492386dd3 Maintainer: shein Status: ready -->
|
||||
<!-- EN-Revision: c44475e1fafcbee203ed4935a6d5d7a01379fcdc Maintainer: shein Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.property-exists" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -13,7 +13,7 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>property_exists</methodname>
|
||||
<methodparam><type>mixed</type><parameter>class</parameter></methodparam>
|
||||
<methodparam><type class="union"><type>object</type><type>string</type></type><parameter>object_or_class</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>property</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
@ -33,7 +33,7 @@
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>class</parameter></term>
|
||||
<term><parameter>object_or_class</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Имя класса или объект класса для проверки
|
||||
@ -65,8 +65,7 @@
|
||||
<para>
|
||||
Функция <function>property_exists</function> не определяет
|
||||
магически доступные свойства с помощью метода
|
||||
<link
|
||||
linkend="language.oop5.overloading.members"><literal>__get</literal></link>.
|
||||
<link linkend="language.oop5.overloading.members"><literal>__get</literal></link>.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
@ -112,7 +111,6 @@ myClass::test();
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 4754397753fd79f1c846868b66a2448babab1c54 Maintainer: rjhdby Status: ready -->
|
||||
<!-- EN-Revision: c44475e1fafcbee203ed4935a6d5d7a01379fcdc Maintainer: rjhdby Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.trait-exists" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
@ -12,8 +12,8 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>trait_exists</methodname>
|
||||
<methodparam><type>string</type><parameter>traitname</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>bool</type><parameter>autoload</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>trait</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>bool</type><parameter>autoload</parameter><initializer>&true;</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
&reftitle.parameters;
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>traitname</parameter></term>
|
||||
<term><parameter>trait</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Имя трейта для проверки
|
||||
@ -52,7 +52,6 @@
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
Reference in New Issue
Block a user