Skip to content

Commit 1e6be82

Browse files
committed
Document Dom\Text methods
1 parent b757572 commit 1e6be82

File tree

3 files changed

+43
-0
lines changed

3 files changed

+43
-0
lines changed

reference/dom/dom/dom-text.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,6 @@
8080

8181
</partintro>
8282

83+
&reference.dom.dom.entities.text;
84+
8385
</reference>

reference/dom/dom/text/splittext.xml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<refentry xml:id="dom-text.splittext" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude">
3+
<refnamediv>
4+
<refname>Dom\Text::splitText</refname>
5+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('domtext.splittext')/db:refnamediv/db:refpurpose)"/>
6+
</refnamediv>
7+
8+
<refsect1 role="description">
9+
&reftitle.description;
10+
<methodsynopsis role="Dom\\Text">
11+
<modifier>public</modifier> <type>Dom\Text</type><methodname>Dom\Text::splitText</methodname>
12+
<methodparam><type>int</type><parameter>offset</parameter></methodparam>
13+
</methodsynopsis>
14+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('domtext.splittext')/db:refsect1[@role='description']/db:para[1])"/>
15+
</refsect1>
16+
17+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('domtext.splittext')/db:refsect1[@role='parameters'])" />
18+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('domtext.splittext')/db:refsect1[@role='returnvalues'])" />
19+
</refentry>
20+
<!-- Keep this comment at the end of the file
21+
Local variables:
22+
mode: sgml
23+
sgml-omittag:t
24+
sgml-shorttag:t
25+
sgml-minimize-attributes:nil
26+
sgml-always-quote-attributes:t
27+
sgml-indent-step:1
28+
sgml-indent-data:t
29+
indent-tabs-mode:nil
30+
sgml-parent-document:nil
31+
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
32+
sgml-exposed-tags:nil
33+
sgml-local-catalogs:nil
34+
sgml-local-ecat-files:nil
35+
End:
36+
vim600: syn=xml fen fdm=syntax fdl=2 si
37+
vim: et tw=78 syn=sgml
38+
vi: ts=1 sw=1
39+
-->

reference/dom/versions.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,8 @@
247247
<function name="dom\childnode::before" from="PHP 8 &gt;= 8.4.0"/>
248248
<function name="dom\childnode::remove" from="PHP 8 &gt;= 8.4.0"/>
249249
<function name="dom\childnode::replacewith" from="PHP 8 &gt;= 8.4.0"/>
250+
251+
<function name="dom\text::splittext" from="PHP 8 &gt;= 8.4.0"/>
250252
</versions>
251253
<!-- Keep this comment at the end of the file
252254
Local variables:

0 commit comments

Comments
 (0)