2007-12-16 13:10:43 +00:00
<?xml version="1.0" encoding="utf-8"?>
2009-07-11 06:52:11 +00:00
<!-- $Revision$ -->
2022-01-03 12:53:30 +00:00
<phpdoc:classref xml:id= "class.domdocumentfragment" xmlns:phpdoc= "http://php.net/ns/phpdoc" xmlns= "http://docbook.org/ns/docbook" xmlns:xlink= "http://www.w3.org/1999/xlink" xmlns:xi= "http://www.w3.org/2001/XInclude" >
2007-12-16 13:10:43 +00:00
<title > The DOMDocumentFragment class</title>
<titleabbrev > DOMDocumentFragment</titleabbrev>
<partintro >
<!-- {{{ DOMDocumentFragment intro -->
<!--
<section xml:id= "domdocumentfragment.intro" >
&reftitle.intro;
<para >
2012-01-11 08:27:49 +00:00
2007-12-16 13:10:43 +00:00
</para>
</section>
-->
<!-- }}} -->
<section xml:id= "domdocumentfragment.synopsis" >
2007-12-26 18:56:29 +00:00
&reftitle.classsynopsis;
2007-12-16 13:10:43 +00:00
<!-- {{{ Synopsis -->
<classsynopsis >
2022-01-03 12:53:30 +00:00
<ooclass >
<classname > DOMDocumentFragment</classname>
</ooclass>
2007-12-16 13:10:43 +00:00
<classsynopsisinfo >
<ooclass >
<classname > DOMDocumentFragment</classname>
</ooclass>
2022-01-03 12:53:30 +00:00
2007-12-16 13:10:43 +00:00
<ooclass >
<modifier > extends</modifier>
<classname > DOMNode</classname>
</ooclass>
2022-01-03 12:53:30 +00:00
<oointerface >
<interfacename > DOMParentNode</interfacename>
</oointerface>
2007-12-16 13:10:43 +00:00
</classsynopsisinfo>
2022-01-03 12:53:30 +00:00
2009-12-29 09:42:00 +00:00
<classsynopsisinfo role= "comment" > &Properties; </classsynopsisinfo>
2007-12-16 13:10:43 +00:00
<fieldsynopsis >
<modifier > public</modifier>
2022-04-20 12:48:26 +00:00
<modifier > readonly</modifier>
<type class= "union" > <type > DOMElement</type> <type > null</type> </type>
<varname linkend= "domdocumentfragment.props.firstelementchild" > firstElementChild</varname>
</fieldsynopsis>
<fieldsynopsis >
<modifier > public</modifier>
<modifier > readonly</modifier>
<type class= "union" > <type > DOMElement</type> <type > null</type> </type>
<varname linkend= "domdocumentfragment.props.lastelementchild" > lastElementChild</varname>
</fieldsynopsis>
<fieldsynopsis >
<modifier > public</modifier>
<modifier > readonly</modifier>
<type > int</type>
<varname linkend= "domdocumentfragment.props.childelementcount" > childElementCount</varname>
2007-12-16 13:10:43 +00:00
</fieldsynopsis>
2018-11-29 18:27:53 +00:00
<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;']]))" >
2022-01-03 12:53:30 +00:00
<xi:fallback />
2018-11-29 18:27:53 +00:00
</xi:include>
2009-12-29 09:42:00 +00:00
<classsynopsisinfo role= "comment" > &Methods; </classsynopsisinfo>
2022-01-04 10:42:29 +00:00
<xi:include xpointer= "xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.domdocumentfragment')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])" >
<xi:fallback />
</xi:include>
2022-01-03 12:53:30 +00:00
<xi:include xpointer= "xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.domdocumentfragment')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" >
<xi:fallback />
</xi:include>
2007-12-16 13:10:43 +00:00
2022-01-03 12:53:30 +00:00
<classsynopsisinfo role= "comment" > &InheritedMethods; </classsynopsisinfo>
<xi:include xpointer= "xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.domnode')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" >
<xi:fallback />
</xi:include>
2007-12-16 13:10:43 +00:00
</classsynopsis>
</section>
2022-04-20 12:48:26 +00:00
2007-12-16 13:10:43 +00:00
<section xml:id= "domdocumentfragment.props" >
&reftitle.properties;
<variablelist >
2022-04-20 12:48:26 +00:00
<varlistentry xml:id= "domdocumentfragment.props.childelementcount" >
<term > <varname > childElementCount</varname> </term>
2007-12-16 13:10:43 +00:00
<listitem >
2022-04-20 12:48:26 +00:00
<para > The number of child elements.</para>
</listitem>
</varlistentry>
<varlistentry xml:id= "domdocumentfragment.props.firstelementchild" >
<term > <varname > firstElementChild</varname> </term>
<listitem >
<para > First child element or &null; .</para>
</listitem>
</varlistentry>
<varlistentry xml:id= "domdocumentfragment.props.lastelementchild" >
<term > <varname > lastElementChild</varname> </term>
<listitem >
<para > Last child element or &null; .</para>
2007-12-16 13:10:43 +00:00
</listitem>
</varlistentry>
</variablelist>
</section>
2022-01-03 12:53:30 +00:00
<section role= "changelog" >
&reftitle.changelog;
<informaltable >
<tgroup cols= "2" >
<thead >
<row >
<entry > &Version; </entry>
<entry > &Description; </entry>
</row>
</thead>
<tbody >
<row >
<entry > 8.0.0</entry>
2022-04-20 12:48:26 +00:00
<entry >
The <varname > firstElementChild</varname> , <varname > lastElementChild</varname> ,
and <varname > childElementCount</varname> properties have been added.
</entry>
</row>
<row >
<entry > 8.0.0</entry>
2022-01-03 12:53:30 +00:00
<entry >
<classname > DOMDocumentFragment</classname> implements
<interfacename > DOMParentNode</interfacename> now.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</section>
2007-12-16 13:10:43 +00:00
<!-- {{{ See also -->
<!--
<section role= "seealso" >
&reftitle.seealso;
<para >
<simplelist >
2007-12-26 15:34:50 +00:00
<member > <link xlink:href= "&url.spec.dom3.;" > W3C specification for</link> </member>
2007-12-16 13:10:43 +00:00
</simplelist>
</para>
</section>
-->
<!-- }}} -->
</partintro>
&reference.dom.entities.domdocumentfragment;
2008-08-23 14:09:15 +00:00
</phpdoc:classref>
2007-12-16 13:10:43 +00:00
<!-- 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
2009-09-25 07:04:39 +00:00
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
2007-12-16 13:10:43 +00:00
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
-->