Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix section order issues in various extensions #657

Merged
merged 13 commits into from
Jun 6, 2021
Merged
44 changes: 22 additions & 22 deletions reference/apcu/functions/apcu-fetch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,28 @@
</para>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>PECL apcu 3.0.17</entry>
<entry>
The <parameter>success</parameter> parameter was added.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</refsect1>

<refsect1 role="examples">
&reftitle.examples;
<para>
Expand All @@ -74,28 +96,6 @@ string(3) "BAR"
</para>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>PECL apcu 3.0.17</entry>
<entry>
The <parameter>success</parameter> parameter was added.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</refsect1>

<refsect1 role="seealso">
&reftitle.seealso;
<para>
Expand Down
20 changes: 10 additions & 10 deletions reference/array/functions/array-unique.xml
Original file line number Diff line number Diff line change
Expand Up @@ -162,26 +162,26 @@ array(2) {
</example>
</para>
</refsect1>

<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>array_count_values</function></member>
</simplelist>
</para>
</refsect1>

<refsect1 role="notes">
&reftitle.notes;
<note>
<simpara>
Note that <function>array_unique</function> is not intended to
Note that <function>array_unique</function> is not intended to
work on multi dimensional arrays.
</simpara>
</note>
</refsect1>

<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>array_count_values</function></member>
</simplelist>
</para>
</refsect1>

</refentry>
<!-- Keep this comment at the end of the file
Local variables:
Expand Down
24 changes: 12 additions & 12 deletions reference/bc/functions/bcpowmod.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,7 @@
is <literal>0</literal> or <parameter>exponent</parameter> is negative.
</para>
</refsect1>

<refsect1 role="notes">
&reftitle.notes;
<note>
<para>
Because this method uses the modulus operation, numbers which are not
positive integers may give unexpected results.
</para>
</note>
</refsect1>


<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
Expand Down Expand Up @@ -118,7 +108,17 @@ $b = bcmod(bcpow($x, $y), $mod);
</informalexample>
</para>
</refsect1>


<refsect1 role="notes">
&reftitle.notes;
<note>
<para>
Because this method uses the modulus operation, numbers which are not
positive integers may give unexpected results.
</para>
</note>
</refsect1>

<refsect1 role="seealso">
&reftitle.seealso;
<para>
Expand Down
6 changes: 6 additions & 0 deletions reference/com/functions/com-create-guid.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
Microsoft convention is to enclose a GUID in curly braces.
</para>
</refsect1>

<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>

<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Expand Down
24 changes: 12 additions & 12 deletions reference/cubrid/cubridmysql/cubrid-unbuffered-query.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,6 @@
</para>
</refsect1>

<refsect1 role="notes">
&reftitle.notes;
<note>
<para>
The benefits of <function>cubrid_unbuffered_query</function> come
at a cost: you cannot use <function>cubrid_num_rows</function> and
<function>cubrid_data_seek</function> on a result set returned from
<function>cubrid_unbuffered_query</function>.
</para>
</note>
</refsect1>

<refsect1 role="examples">
&reftitle.examples;
<example>
Expand Down Expand Up @@ -89,6 +77,18 @@
</example>
</refsect1>

<refsect1 role="notes">
&reftitle.notes;
<note>
<para>
The benefits of <function>cubrid_unbuffered_query</function> come
at a cost: you cannot use <function>cubrid_num_rows</function> and
<function>cubrid_data_seek</function> on a result set returned from
<function>cubrid_unbuffered_query</function>.
</para>
</note>
</refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Expand Down
7 changes: 6 additions & 1 deletion reference/dba/functions/dba-list.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,19 @@
<function>dba_list</function> list all open database files.
</para>
</refsect1>

<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>

<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
An associative array, in the form <literal>resourceid =&gt; filename</literal>.
</para>
</refsect1>
</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down
36 changes: 18 additions & 18 deletions reference/exec/functions/proc-nice.xml
Original file line number Diff line number Diff line change
Expand Up @@ -101,24 +101,6 @@
</para>
</refsect1>

<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>Using <function>proc_nice</function> to set the process priority to high</title>
<programlisting role="php">
<![CDATA[
<?php
// Highest priority
proc_nice(-20);
?>
]]>
</programlisting>
</example>
</para>

</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<para>
Expand All @@ -143,6 +125,24 @@ proc_nice(-20);
</para>
</refsect1>

<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>Using <function>proc_nice</function> to set the process priority to high</title>
<programlisting role="php">
<![CDATA[
<?php
// Highest priority
proc_nice(-20);
?>
]]>
</programlisting>
</example>
</para>

</refsect1>

<refsect1 role="notes">
&reftitle.notes;
<note>
Expand Down
51 changes: 27 additions & 24 deletions reference/exif/functions/exif-thumbnail.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,30 +77,7 @@
thumbnail.
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title><function>exif_thumbnail</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
$image = exif_thumbnail('/path/to/image.jpg', $width, $height, $type);

if ($image!==false) {
header('Content-type: ' .image_type_to_mime_type($type));
echo $image;
exit;
} else {
// no thumbnail available, handle the error here
echo 'No thumbnail available';
}
?>
]]>
</programlisting>
</example>
</para>
</refsect1>
<refsect1 role="changelog">
&reftitle.changelog;
<para>
Expand All @@ -116,7 +93,7 @@ if ($image!==false) {
<row>
<entry>7.2.0</entry>
<entry>
The <parameter>file</parameter> parameter now supports both local files
The <parameter>file</parameter> parameter now supports both local files
and stream resources.
</entry>
</row>
Expand All @@ -125,6 +102,32 @@ if ($image!==false) {
</informaltable>
</para>
</refsect1>

<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title><function>exif_thumbnail</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
$image = exif_thumbnail('/path/to/image.jpg', $width, $height, $type);

if ($image!==false) {
header('Content-type: ' .image_type_to_mime_type($type));
echo $image;
exit;
} else {
// no thumbnail available, handle the error here
echo 'No thumbnail available';
}
?>
]]>
</programlisting>
</example>
</para>
</refsect1>

<refsect1 role="notes">
&reftitle.notes;
<note>
Expand Down
5 changes: 5 additions & 0 deletions reference/fdf/functions/fdf-create.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
</para>
</refsect1>

<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>

<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Expand Down
5 changes: 5 additions & 0 deletions reference/fdf/functions/fdf-errno.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
</para>
</refsect1>

<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>

<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Expand Down
5 changes: 5 additions & 0 deletions reference/fdf/functions/fdf-header.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
</para>
</refsect1>

<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>

<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Expand Down
6 changes: 6 additions & 0 deletions reference/filter/functions/filter-list.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
</methodsynopsis>

</refsect1>

<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>

<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Expand Down
5 changes: 5 additions & 0 deletions reference/fpm/functions/fastcgi-finish-request.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
</para>
</refsect1>

<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>

<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Expand Down
Loading