mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-26 22:08:55 +00:00

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332498 c90b9560-bf6c-de11-be94-00142212c4b1
352 lines
8.3 KiB
XML
352 lines
8.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- $Revision$ -->
|
|
<appendix xml:id="libxml.constants" xmlns="http://docbook.org/ns/docbook">
|
|
&reftitle.constants;
|
|
&extension.constants;
|
|
<variablelist>
|
|
<varlistentry xml:id="constant.libxml-compact">
|
|
<term>
|
|
<constant>LIBXML_COMPACT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Activate small nodes allocation optimization. This may speed up your
|
|
application without needing to change the code.
|
|
</simpara>
|
|
<note>
|
|
<para>
|
|
Only available in Libxml >= 2.6.21
|
|
</para>
|
|
</note>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.libxml-dtdattr">
|
|
<term>
|
|
<constant>LIBXML_DTDATTR</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Default DTD attributes
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.libxml-dtdload">
|
|
<term>
|
|
<constant>LIBXML_DTDLOAD</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Load the external subset
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.libxml-dtdvalid">
|
|
<term>
|
|
<constant>LIBXML_DTDVALID</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Validate with the DTD
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.libxml-html-noimplied">
|
|
<term>
|
|
<constant>LIBXML_HTML_NOIMPLIED</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Sets HTML_PARSE_NOIMPLIED flag, which turns off the
|
|
automatic adding of implied html/body... elements.
|
|
</simpara>
|
|
<note>
|
|
<para>
|
|
Only available in Libxml >= 2.7.7 (as of PHP >= 5.4.0)
|
|
</para>
|
|
</note>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.libxml-html-nodefdtd">
|
|
<term>
|
|
<constant>LIBXML_HTML_NODEFDTD</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Sets HTML_PARSE_NODEFDTD flag, which prevents a default doctype
|
|
being added when one is not found.
|
|
</simpara>
|
|
<note>
|
|
<para>
|
|
Only available in Libxml >= 2.7.8 (as of PHP >= 5.4.0)
|
|
</para>
|
|
</note>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.libxml-noblanks">
|
|
<term>
|
|
<constant>LIBXML_NOBLANKS</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Remove blank nodes
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.libxml-nocdata">
|
|
<term>
|
|
<constant>LIBXML_NOCDATA</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Merge CDATA as text nodes
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.libxml-noemptytag">
|
|
<term>
|
|
<constant>LIBXML_NOEMPTYTAG</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Expand empty tags (e.g. <literal><br/></literal> to
|
|
<literal><br></br></literal>)
|
|
</simpara>
|
|
<note>
|
|
<para>
|
|
This option is currently just available in the
|
|
<xref linkend="domdocument.save" /> and
|
|
<xref linkend="domdocument.savexml" /> functions.
|
|
</para>
|
|
</note>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.libxml-noent">
|
|
<term>
|
|
<constant>LIBXML_NOENT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Substitute entities
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.libxml-noerror">
|
|
<term>
|
|
<constant>LIBXML_NOERROR</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Suppress error reports
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.libxml-nonet">
|
|
<term>
|
|
<constant>LIBXML_NONET</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Disable network access when loading documents
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.libxml-nowarning">
|
|
<term>
|
|
<constant>LIBXML_NOWARNING</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Suppress warning reports
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.libxml-noxmldecl">
|
|
<term>
|
|
<constant>LIBXML_NOXMLDECL</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Drop the XML declaration when saving a document
|
|
</simpara>
|
|
<note>
|
|
<para>
|
|
Only available in Libxml >= 2.6.21
|
|
</para>
|
|
</note>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.libxml-nsclean">
|
|
<term>
|
|
<constant>LIBXML_NSCLEAN</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Remove redundant namespaces declarations
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.libxml-parsehuge">
|
|
<term>
|
|
<constant>LIBXML_PARSEHUGE</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Sets XML_PARSE_HUGE flag, which relaxes any hardcoded limit from the parser. This affects
|
|
limits like maximum depth of a document or the entity recursion, as well as limits of the
|
|
size of text nodes.
|
|
</simpara>
|
|
<note>
|
|
<para>
|
|
Only available in Libxml >= 2.7.0 (as of PHP >= 5.3.2 and PHP >= 5.2.12)
|
|
</para>
|
|
</note>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.libxml-pedantic">
|
|
<term>
|
|
<constant>LIBXML_PEDANTIC</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Sets XML_PARSE_PEDANTIC flag, which enables pedentic error reporting.
|
|
</simpara>
|
|
<note>
|
|
<para>
|
|
Available as of PHP >= 5.4.0
|
|
</para>
|
|
</note>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.libxml-xinclude">
|
|
<term>
|
|
<constant>LIBXML_XINCLUDE</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Implement XInclude substitution
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.libxml-err-error">
|
|
<term>
|
|
<constant>LIBXML_ERR_ERROR</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
A recoverable error
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.libxml-err-fatal">
|
|
<term>
|
|
<constant>LIBXML_ERR_FATAL</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
A fatal error
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.libxml-err-none">
|
|
<term>
|
|
<constant>LIBXML_ERR_NONE</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
No errors
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.libxml-err-warning">
|
|
<term>
|
|
<constant>LIBXML_ERR_WARNING</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
A simple warning
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.libxml-version">
|
|
<term>
|
|
<constant>LIBXML_VERSION</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
libxml version like 20605 or 20617
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.libxml-dotted-version">
|
|
<term>
|
|
<constant>LIBXML_DOTTED_VERSION</constant>
|
|
(<type>string</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
libxml version like 2.6.5 or 2.6.17
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.libxml-schema-create">
|
|
<term>
|
|
<constant>LIBXML_SCHEMA_CREATE</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Create default/fixed value nodes during XSD schema validation
|
|
</simpara>
|
|
<note>
|
|
<para>
|
|
Only available in Libxml >= 2.6.14 (as of PHP >= 5.5.2)
|
|
</para>
|
|
</note>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</appendix>
|
|
|
|
<!-- 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
|
|
-->
|