svn: /phpdoc/ru/trunk/reference/reflection/reflectiontype/ isbuiltin.xml

[email protected] (Sergey Panteleev) Mon, 28 Dec 2020 06:30:25 +0000
Newsgroups php.doc.ru
Message-ID <[email protected]>
sergey                                   Mon, 28 Dec 2020 06:30:25 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=352236

Log:
docs(ru): Removed outdated files

Changed paths:
    D   phpdoc/ru/trunk/reference/reflection/reflectiontype/isbuiltin.xml

Deleted: phpdoc/ru/trunk/reference/reflection/reflectiontype/isbuiltin.xml
===================================================================
--- phpdoc/ru/trunk/reference/reflection/reflectiontype/isbuiltin.xml	2020-12-28 06:29:10 UTC (rev 352235)
+++ phpdoc/ru/trunk/reference/reflection/reflectiontype/isbuiltin.xml	2020-12-28 06:30:25 UTC (rev 352236)
@@ -1,104 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 337586 Maintainer: rjhdby Status: ready -->
-<!-- Reviewed: yes Maintainer: lex -->
-<!-- $Revision$ -->
-<refentry xml:id="reflectiontype.isbuiltin" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
- <refnamediv>
-  <refname>ReflectionType::isBuiltin</refname>
-  <refpurpose>Проверяет тип, встроенный он или нет</refpurpose>
- </refnamediv>
-
- <refsect1 role="description">
-  &reftitle.description;
-  <methodsynopsis>
-   <modifier>public</modifier> <type>bool</type><methodname>ReflectionType::isBuiltin</methodname>
-   <void />
-  </methodsynopsis>
-  <para>
-   Проверяет тип, встроенный он или нет.
-  </para>
- </refsect1>
-
- <refsect1 role="parameters">
-  &reftitle.parameters;
-  &no.function.parameters;
- </refsect1>
-
- <refsect1 role="returnvalues">
-  &reftitle.returnvalues;
-  <para>
-   &true;, если это встроенный тип PHP, иначе &false;
-  </para>
- </refsect1>
-
- <refsect1 role="examples">
-  &reftitle.examples;
-  <para>
-   <example>
-    <title>Пример использования <methodname>ReflectionType::isBuiltin</methodname></title>
-    <programlisting role="php">
-<![CDATA[
-<?php
-class SomeClass {}
-
-function someFunction(string $param, SomeClass $param2, StdClass $param3) {}
-
-$reflectionFunc = new ReflectionFunction('someFunction');
-$reflectionParams = $reflectionFunc->getParameters();
-
-var_dump($reflectionParams[0]->getType()->isBuiltin());
-var_dump($reflectionParams[1]->getType()->isBuiltin());
-var_dump($reflectionParams[2]->getType()->isBuiltin());
-]]>
-    </programlisting>
-    &example.outputs.similar;
-    <screen>
-<![CDATA[
-bool(true)
-bool(false)
-bool(false)
-]]>
-    </screen>
-   </example>
-  </para>
-  <para>
-   Обратите внимание, что метод <methodname>ReflectionType::isBuiltin</methodname>
-   не различает встроенные и пользовательские классы. Для подобной проверки используйте
-   метод <methodname>ReflectionClass::isInternal</methodname>.
-  </para>
- </refsect1>
-
- <refsect1 role="seealso">
-  &reftitle.seealso;
-  <para>
-   <simplelist>
-    <member><methodname>ReflectionType::allowsNull</methodname></member>
-    <member><methodname>ReflectionType::__toString</methodname></member>
-    <member><methodname>ReflectionClass::isInternal</methodname></member>
-    <member><methodname>ReflectionParameter::getType</methodname></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
--->