[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] [doc-en] master: Reorder DOMDocument properties (#1335)
From: Máté_Kocsis_via_GitHub <noreply () php ! net>
Date: 2022-04-20 11:07:00
Message-ID: gwMiw0yd67drSRdyLvwZPkHq15Mr3AJQUwmjJeuaQ () main ! php ! net
[Download RAW message or body]
Author: Máté Kocsis (kocsismate)
Committer: GitHub (web-flow)
Pusher: kocsismate
Date: 2022-04-20T13:03:27+02:00
Commit: https://github.com/php/doc-en/commit/6d48923b82b3b517f2f46fa44eea9aa35264fe60
Raw diff: https://github.com/php/doc-en/commit/6d48923b82b3b517f2f46fa44eea9aa35264fe60.diff
Reorder DOMDocument properties (#1335)
Changed paths:
M reference/dom/domdocument.xml
Diff:
diff --git a/reference/dom/domdocument.xml b/reference/dom/domdocument.xml
index c8f3567aa92..03048a28c18 100644
--- a/reference/dom/domdocument.xml
+++ b/reference/dom/domdocument.xml
@@ -44,111 +44,127 @@
<fieldsynopsis>
<modifier>public</modifier>
<modifier>readonly</modifier>
- <type>string</type>
- <varname linkend="domdocument.props.actualencoding">actualEncoding</varname>
+ <type class="union"><type>DOMDocumentType</type><type>null</type></type>
+ <varname linkend="domdocument.props.doctype">doctype</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
<modifier>readonly</modifier>
- <type>DOMConfiguration</type>
- <varname linkend="domdocument.props.config">config</varname>
+ <type>DOMImplementation</type>
+ <varname linkend="domdocument.props.implementation">implementation</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
<modifier>readonly</modifier>
- <type>DOMDocumentType</type>
- <varname linkend="domdocument.props.doctype">doctype</varname>
+ <type class="union"><type>DOMElement</type><type>null</type></type>
+ <varname linkend="domdocument.props.documentelement">documentElement</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
<modifier>readonly</modifier>
- <type class="union"><type>DOMElement</type><type>null</type></type>
- <varname linkend="domdocument.props.documentelement">documentElement</varname>
+ <type class="union"><type>string</type><type>null</type></type>
+ <varname linkend="domdocument.props.actualencoding">actualEncoding</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
<type class="union"><type>string</type><type>null</type></type>
- <varname linkend="domdocument.props.documenturi">documentURI</varname>
+ <varname linkend="domdocument.props.encoding">encoding</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
- <type>string</type>
- <varname linkend="domdocument.props.encoding">encoding</varname>
+ <modifier>readonly</modifier>
+ <type class="union"><type>string</type><type>null</type></type>
+ <varname linkend="domdocument.props.xmlencoding">xmlEncoding</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
<type>bool</type>
- <varname linkend="domdocument.props.formatoutput">formatOutput</varname>
+ <varname linkend="domdocument.props.standalone">standalone</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
- <modifier>readonly</modifier>
- <type>DOMImplementation</type>
- <varname linkend="domdocument.props.implementation">implementation</varname>
+ <type>bool</type>
+ <varname linkend="domdocument.props.xmlstandalone">xmlStandalone</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
- <type>bool</type>
- <varname linkend="domdocument.props.preservewhitespace">preserveWhiteSpace</varname>
- <initializer>&true;</initializer>
+ <type class="union"><type>string</type><type>null</type></type>
+ <varname linkend="domdocument.props.version">version</varname>
+ </fieldsynopsis>
+ <fieldsynopsis>
+ <modifier>public</modifier>
+ <type class="union"><type>string</type><type>null</type></type>
+ <varname linkend="domdocument.props.xmlversion">xmlVersion</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
<type>bool</type>
- <varname linkend="domdocument.props.recover">recover</varname>
+ <varname linkend="domdocument.props.stricterrorchecking">strictErrorChecking</varname>
+ </fieldsynopsis>
+ <fieldsynopsis>
+ <modifier>public</modifier>
+ <type class="union"><type>string</type><type>null</type></type>
+ <varname linkend="domdocument.props.documenturi">documentURI</varname>
+ </fieldsynopsis>
+ <fieldsynopsis>
+ <modifier>public</modifier>
+ <modifier>readonly</modifier>
+ <type>mixed</type>
+ <varname linkend="domdocument.props.config">config</varname>
+ <initializer>null</initializer>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
<type>bool</type>
- <varname linkend="domdocument.props.resolveexternals">resolveExternals</varname>
+ <varname linkend="domdocument.props.formatoutput">formatOutput</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
<type>bool</type>
- <varname linkend="domdocument.props.standalone">standalone</varname>
+ <varname linkend="domdocument.props.validateonparse">validateOnParse</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
<type>bool</type>
- <varname linkend="domdocument.props.stricterrorchecking">strictErrorChecking</varname>
- <initializer>&true;</initializer>
+ <varname linkend="domdocument.props.resolveexternals">resolveExternals</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
<type>bool</type>
- <varname linkend="domdocument.props.substituteentities">substituteEntities</varname>
+ <varname linkend="domdocument.props.preservewhitespace">preserveWhiteSpace</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
<type>bool</type>
- <varname linkend="domdocument.props.validateonparse">validateOnParse</varname>
- <initializer>&false;</initializer>
+ <varname linkend="domdocument.props.recover">recover</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
- <type>string</type>
- <varname linkend="domdocument.props.version">version</varname>
+ <type>bool</type>
+ <varname linkend="domdocument.props.substituteentities">substituteEntities</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
<modifier>readonly</modifier>
- <type class="union"><type>string</type><type>null</type></type>
- <varname linkend="domdocument.props.xmlencoding">xmlEncoding</varname>
+ <type class="union"><type>DOMElement</type><type>null</type></type>
+ <varname linkend="domdocument.props.firstelementchild">firstElementChild</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
- <type>bool</type>
- <varname linkend="domdocument.props.xmlstandalone">xmlStandalone</varname>
+ <modifier>readonly</modifier>
+ <type class="union"><type>DOMElement</type><type>null</type></type>
+ <varname linkend="domdocument.props.lastelementchild">lastElementChild</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
- <type>string</type>
- <varname linkend="domdocument.props.xmlversion">xmlVersion</varname>
+ <modifier>readonly</modifier>
+ <type>int</type>
+ <varname linkend="domdocument.props.childelementcount">childElementCount</varname>
</fieldsynopsis>
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) \
xpointer(id('class.domnode')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment' \
and text()='&Properties;']]))">
- <xi:fallback />
+ <xi:fallback/>
</xi:include>
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
@@ -182,6 +198,12 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry xml:id="domdocument.props.childelementcount">
+ <term><varname>childElementCount</varname></term>
+ <listitem>
+ <para>The number of child elements.</para>
+ </listitem>
+ </varlistentry>
<varlistentry xml:id="domdocument.props.config">
<term><varname>config</varname></term>
<listitem>
@@ -224,6 +246,12 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry xml:id="domdocument.props.firstelementchild">
+ <term><varname>firstElementChild</varname></term>
+ <listitem>
+ <para>First child element or &null;.</para>
+ </listitem>
+ </varlistentry>
<varlistentry xml:id="domdocument.props.formatoutput">
<term><varname>formatOutput</varname></term>
<listitem>
@@ -243,6 +271,12 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry xml:id="domdocument.props.lastelementchild">
+ <term><varname>lastElementChild</varname></term>
+ <listitem>
+ <para>Last child element or &null;.</para>
+ </listitem>
+ </varlistentry>
<varlistentry xml:id="domdocument.props.preservewhitespace">
<term><varname>preserveWhiteSpace</varname></term>
<listitem>
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic