Skip to content

Commit faea9cf

Browse files
committed
[ext/random] sync with en
1 parent 0e390b1 commit faea9cf

File tree

7 files changed

+14
-48
lines changed

7 files changed

+14
-48
lines changed

reference/random/book.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 550b9c3c31a66c18c9303794c12260bf5c684fed Maintainer: mumumu Status: ready -->
4-
<book xml:id="book.random" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
3+
<!-- EN-Revision: 1bcc40f8134305cbebf6c8378ee7e5fc8c569674 Maintainer: mumumu Status: ready -->
4+
<book xml:id="book.random" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" annotations="interactive">
55
<?phpdoc extension-membership="core" ?>
66
<title>乱数生成器および、乱数関連の関数</title>
77
<titleabbrev>Random</titleabbrev>

reference/random/random/engine/mt19937/construct.xml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: c4f24e2eef1a3c970c491c0ee8cbc1f290ff023a Maintainer: mumumu Status: ready -->
3+
<!-- EN-Revision: 1bcc40f8134305cbebf6c8378ee7e5fc8c569674 Maintainer: mumumu Status: ready -->
44
<refentry xml:id="random-engine-mt19937.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
55
<refnamediv>
66
<refname>Random\Engine\Mt19937::__construct</refname>
@@ -19,9 +19,6 @@
1919
</para>
2020

2121
&caution.mt19937-tiny-seed;
22-
23-
&warn.undocumented.func;
24-
2522
</refsect1>
2623

2724
<refsect1 role="parameters">
@@ -81,7 +78,7 @@
8178

8279
<refsect1 role="examples">
8380
&reftitle.examples;
84-
<example>
81+
<example annotations="non-interactive">
8582
<title><function>Random\Engine\Mt19937::__construct</function> の例</title>
8683
<programlisting role="php">
8784
<![CDATA[

reference/random/random/engine/pcgoneseq128xslrr64/construct.xml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 826073522514072830b63bee2b6135dc675ea45d Maintainer: mumumu Status: ready -->
3+
<!-- EN-Revision: 1bcc40f8134305cbebf6c8378ee7e5fc8c569674 Maintainer: mumumu Status: ready -->
44
<refentry xml:id="random-engine-pcgoneseq128xslrr64.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
55
<refnamediv>
66
<refname>Random\Engine\PcgOneseq128XslRr64::__construct</refname>
@@ -16,9 +16,6 @@
1616
<para>
1717

1818
</para>
19-
20-
&warn.undocumented.func;
21-
2219
</refsect1>
2320

2421
<refsect1 role="parameters">
@@ -98,7 +95,7 @@
9895

9996
<refsect1 role="examples">
10097
&reftitle.examples;
101-
<example>
98+
<example annotations="non-interactive">
10299
<title><function>Random\Engine\PcgOneseq128XslRr64::__construct</function> の例</title>
103100
<programlisting role="php">
104101
<![CDATA[

reference/random/random/engine/xoshiro256starstar/construct.xml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 826073522514072830b63bee2b6135dc675ea45d Maintainer: mumumu Status: ready -->
3+
<!-- EN-Revision: 1bcc40f8134305cbebf6c8378ee7e5fc8c569674 Maintainer: mumumu Status: ready -->
44
<refentry xml:id="random-engine-xoshiro256starstar.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
55
<refnamediv>
66
<refname>Random\Engine\Xoshiro256StarStar::__construct</refname>
@@ -16,9 +16,6 @@
1616
<para>
1717

1818
</para>
19-
20-
&warn.undocumented.func;
21-
2219
</refsect1>
2320

2421
<refsect1 role="parameters">
@@ -103,7 +100,7 @@
103100

104101
<refsect1 role="examples">
105102
&reftitle.examples;
106-
<example>
103+
<example annotations="non-interactive">
107104
<title><function>Random\Engine\Xoshiro256StarStar::__construct</function> の例</title>
108105
<programlisting role="php">
109106
<![CDATA[

reference/random/random/randomizer/construct.xml

Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 5e2031dc70157464c05c1c1e00b3201604a025f1 Maintainer: mumumu Status: ready -->
3+
<!-- EN-Revision: 1bcc40f8134305cbebf6c8378ee7e5fc8c569674 Maintainer: mumumu Status: ready -->
44
<refentry xml:id="random-randomizer.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
55
<refnamediv>
66
<refname>Random\Randomizer::__construct</refname>
@@ -40,37 +40,18 @@
4040
</variablelist>
4141
</refsect1>
4242

43-
<!-- Return values commented out, as constructors generally don't return a
44-
value. Uncomment this if you do need a return values section (for
45-
example, because there's also a procedural version of the method).
46-
<refsect1 role="returnvalues">
47-
&reftitle.returnvalues;
48-
<para>
49-
50-
</para>
51-
</refsect1>
52-
-->
53-
54-
5543
<refsect1 role="examples">
5644
&reftitle.examples;
57-
<example>
45+
<example annotations="non-interactive">
5846
<title><function>Random\Randomizer::__construct</function> example</title>
5947
<programlisting role="php">
6048
<![CDATA[
6149
<?php
62-
63-
/* ... */
64-
50+
$r = new \Random\Randomizer();
51+
$r = new \Random\Randomizer(new \Random\Engine\Mt19937());
6552
?>
6653
]]>
6754
</programlisting>
68-
&example.outputs.similar;
69-
<screen>
70-
<![CDATA[
71-
...
72-
]]>
73-
</screen>
7455
</example>
7556
</refsect1>
7657

reference/random/random/randomizer/getint.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 0ec8e36e0f649354b20c714080a903d32df4dbfb Maintainer: mumumu Status: ready -->
3+
<!-- EN-Revision: 1bcc40f8134305cbebf6c8378ee7e5fc8c569674 Maintainer: mumumu Status: ready -->
44
<refentry xml:id="random-randomizer.getint" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
55
<refnamediv>
66
<refname>Random\Randomizer::getInt</refname>
@@ -17,9 +17,6 @@
1717
<para>
1818

1919
</para>
20-
21-
&warn.undocumented.func;
22-
2320
</refsect1>
2421

2522
<refsect1 role="parameters">

reference/random/random/randomizer/nextint.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 788ec8e5e7bdadd182e52d4820959e21765d7ff3 Maintainer: mumumu Status: ready -->
3+
<!-- EN-Revision: 1bcc40f8134305cbebf6c8378ee7e5fc8c569674 Maintainer: mumumu Status: ready -->
44
<refentry xml:id="random-randomizer.nextint" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
55
<refnamediv>
66
<refname>Random\Randomizer::nextInt</refname>
@@ -16,9 +16,6 @@
1616
<para>
1717

1818
</para>
19-
20-
&warn.undocumented.func;
21-
2219
</refsect1>
2320

2421
<refsect1 role="parameters">

0 commit comments

Comments
 (0)