cvs: phpdoc /en/appendices migration53.xml /en/reference/libxml versions.xml /en/reference/libxml/functions libxml-disable-entity-loader.xml

From: Date: Tue, 23 Jun 2009 12:22:57 +0000
Subject: cvs: phpdoc /en/appendices migration53.xml /en/reference/libxml versions.xml /en/reference/libxml/functions libxml-disable-entity-loader.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-4209@lists.php.net to get a copy of this message
bjori Tue Jun 23 12:22:57 2009 UTC Added files: /phpdoc/en/reference/libxml/functions libxml-disable-entity-loader.xml Modified files: /phpdoc/en/appendices migration53.xml /phpdoc/en/reference/libxml versions.xml Log: Document libxml_disable_entity_loader() http://cvs.php.net/viewvc.cgi/phpdoc/en/appendices/migration53.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/appendices/migration53.xml diff -u phpdoc/en/appendices/migration53.xml:1.9 phpdoc/en/appendices/migration53.xml:1.10 --- phpdoc/en/appendices/migration53.xml:1.9 Tue Jun 23 08:19:54 2009 +++ phpdoc/en/appendices/migration53.xml Tue Jun 23 12:22:56 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <appendix xml:id="migration53" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Migrating from PHP 5.2.x to PHP 5.3.x</title> <para> @@ -794,6 +794,16 @@ </listitem> </itemizedlist> + <para><link linkend="book.libxml">libXML</link>:</para> + <itemizedlist> + <listitem> + <simpara> + <function>libxml_disable_entity_loader</function> + - Disable the ability to load external entities. + </simpara> + </listitem> + </itemizedlist> + <para><link linkend="book.mysqli">MySQL Improved</link>:</para> <itemizedlist> <listitem> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/libxml/versions.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/libxml/versions.xml diff -u phpdoc/en/reference/libxml/versions.xml:1.1 phpdoc/en/reference/libxml/versions.xml:1.2 --- phpdoc/en/reference/libxml/versions.xml:1.1 Thu Feb 12 01:28:08 2009 +++ phpdoc/en/reference/libxml/versions.xml Tue Jun 23 12:22:57 2009 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='utf-8'?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- Do NOT translate this file --> @@ -10,6 +10,7 @@ <function name='libxml_get_last_error' from='PHP 5 &gt;= 5.1.0'/> <function name='libxml_set_streams_context' from='PHP 5'/> <function name='libxml_use_internal_errors' from='PHP 5 &gt;= 5.1.0'/> + <function name='libxml_disable_entity_loader' from='PHP 5 &gt;= 5.3.0'/> </versions> <!-- Keep this comment at the end of the file @@ -31,4 +32,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> \ No newline at end of file +--> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/libxml/functions/libxml-disable-entity-loader.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/libxml/functions/libxml-disable-entity-loader.xml +++ phpdoc/en/reference/libxml/functions/libxml-disable-entity-loader.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="function.libxml-disable-entity-loader" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>libxml_disable_entity_loader</refname> <refpurpose>Disable the ability to load external entities</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>ReturnType</type><methodname>libxml_disable_entity_loader</methodname> <methodparam choice="opt"><type>string</type><parameter>disable</parameter> <initializer>TRUE</initializer></methodparam> </methodsynopsis> <para> Disable/enable the ability to load external entities. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>disable</parameter></term> <listitem> <para> Disable (&true;) or enable (&false;) libxml extensions (such as <xref linkend="book.dom" />, <xref linkend="book.xmlwriter" /> and <xref linkend="book.xmlreader" />) to load external entities. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns the previous value. </para> </refsect1> <!-- <refsect1 role="errors"> &reftitle.errors; <para> When does this function issue E_* level errors, and/or throw exceptions. </para> </refsect1> --> <!-- <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>libxml_disable_entity_loader</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should be here. </para> <programlisting role="php"> <![CDATA[ <?php /* ... */ ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[.... ]]> </screen> </example> </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>libxml_use_internal_errors</function></member> <member><link linkend="libxml.constants">The <constant>LIBXML_NONET</constant> constant</link></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:"../../../../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 -->

« previous php.doc.cvs (#4209) next »