Skip to content

Add documentation for libxml_get_external_entity_loader() #1933

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<?xml version="1.0" encoding="utf-8"?>
<refentry xml:id="function.libxml-get-external-entity-loader" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>libxml_get_external_entity_loader</refname>
<refpurpose>Get the current external entity loader</refpurpose>
</refnamediv>

<refsect1 role="description"><!-- {{{ -->
&reftitle.description;
<methodsynopsis role="procedural">
<type class="union"><type>callable</type><type>null</type></type><methodname>libxml_get_external_entity_loader</methodname>
<void />
</methodsynopsis>
<para>
Get external entity loader previously installed by
<function>libxml_set_external_entity_loader</function>.
</para>
</refsect1><!-- }}} -->

<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>

<refsect1 role="returnvalues"><!-- {{{ -->
&reftitle.returnvalues;
<para>
The external entity loader previously installed by
<function>libxml_set_external_entity_loader</function>. If that function was
never called, or if it was called with &null;, &null; will be returned.
</para>
</refsect1><!-- }}} -->

<refsect1 role="seealso"><!-- {{{ -->
&reftitle.seealso;
<simplelist>
<member><function>libxml_set_external_entity_loader</function></member>
</simplelist>
</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
-->
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ bool(true)
<para>
<simplelist>
<member><function>libxml_disable_entity_loader</function></member>
<member><function>libxml_get_external_entity_loader</function></member>
</simplelist>
</para>
</refsect1>
Expand Down
1 change: 1 addition & 0 deletions reference/libxml/versions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<function name="libxml_use_internal_errors" from="PHP 5 &gt;= 5.1.0, PHP 7, PHP 8"/>
<function name="libxml_disable_entity_loader" from="PHP 5 &gt;= 5.2.11, PHP 7, PHP 8" deprecated="PHP 8.0.0"/>
<function name="libxml_set_external_entity_loader" from="PHP 5 &gt;= 5.4.0, PHP 7, PHP 8"/>
<function name="libxml_get_external_entity_loader" from="PHP 8 &gt;= 8.2.0"/>

<function name="libxmlerror" from="PHP 5 &gt;= 5.1.0, PHP 7, PHP 8"/>
</versions>
Expand Down