1
0
mirror of https://github.com/php/doc-zh.git synced 2026-03-25 15:42:15 +01:00
Files
魔王卷子 541e8c7610 Update reflection 2 (#648)
* Update reflectionenum.xml

* Update construct.xml

* Update getbackingtype.xml

* Update getcase.xml

* Update getcases.xml

* Update hascase.xml

* Update isbacked.xml

* Update reflectionenumbackedcase.xml

* Update getbackingvalue.xml

* Update reflectionenumunitcase.xml

* Update getenum.xml

* Update getvalue.xml

* Update reflectionextension.xml

* Update clone.xml

* Update construct.xml

* Update export.xml

* Update getclasses.xml

* Update getclassnames.xml

* Update getconstants.xml

* Update getdependencies.xml

* Update getfunctions.xml

* Update getinientries.xml

* Update getname.xml

* Update getversion.xml

* Update info.xml

* Update ispersistent.xml

* Update istemporary.xml

* Update tostring.xml

* Update clone.xml

* Update getclosurethis.xml

* Update getdoccomment.xml

* Update getendline.xml

* Update getextension.xml

* Update getextensionname.xml

* Update getfilename.xml

* Update getname.xml

* Update getnamespacename.xml

* Update getnumberofparameters.xml

* Update getnumberofrequiredparameters.xml

* Update getparameters.xml

* Update getshortname.xml

* Update getstartline.xml

* Update getstaticvariables.xml

* Update innamespace.xml

* Update isclosure.xml

* Update isdeprecated.xml

* Update isgenerator.xml

* Update isinternal.xml

* Update isuserdefined.xml

* Update returnsreference.xml

* Update tostring.xml

* Update reflectionfunctionabstract.xml

* Update reflectionintersectiontype.xml

* Update gettypes.xml

* Update reflectionfiber.xml
2023-02-14 00:08:35 +08:00

90 lines
2.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: ec2fe9a592f794978114ef5021db9f1d00c2e05d Maintainer: benson zhai Status: ready -->
<!-- CREDITS: mowangjuanzi -->
<refentry xml:id="reflectionextension.export" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>ReflectionExtension::export</refname>
<refpurpose>Export</refpurpose>
</refnamediv>
<refsynopsisdiv>
&warn.deprecated.function-7-4-0.removed-8-0-0;
</refsynopsisdiv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis role="ReflectionExtension">
<modifier>public</modifier> <modifier>static</modifier> <type>string</type><methodname>ReflectionExtension::export</methodname>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>return</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
<para>
导出可以被反射的扩展。输出格式同CLI argument <literal>--re [extension]</literal>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>name</parameter></term>
<listitem>
<para>
&reflection.export.param.name;
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>return</parameter></term>
<listitem>
<para>
&reflection.export.param.return;
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&reflection.export.return;
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><methodname>ReflectionExtension::info</methodname></member>
<member><methodname>ReflectionExtension::__toString</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
-->