Skip to content

Commit 476ab39

Browse files
authored
Update ext/zip role attributes (#1974)
1 parent 49ff120 commit 476ab39

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+53
-75
lines changed

reference/zip/ziparchive.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
</fieldsynopsis>
7474

7575
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
76-
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.ziparchive')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])">
76+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.ziparchive')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='ZipArchive'])">
7777
<xi:fallback/>
7878
</xi:include>
7979
</classsynopsis>

reference/zip/ziparchive/addemptydir.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</refnamediv>
88
<refsect1 role="description">
99
&reftitle.description;
10-
<methodsynopsis>
10+
<methodsynopsis role="ZipArchive">
1111
<modifier>public</modifier> <type>bool</type><methodname>ZipArchive::addEmptyDir</methodname>
1212
<methodparam><type>string</type><parameter>dirname</parameter></methodparam>
1313
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
@@ -101,7 +101,6 @@ if ($zip->open('test.zip') === TRUE) {
101101
</example>
102102
</refsect1>
103103
</refentry>
104-
105104
<!-- Keep this comment at the end of the file
106105
Local variables:
107106
mode: sgml
@@ -122,4 +121,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
122121
vim: et tw=78 syn=sgml
123122
vi: ts=1 sw=1
124123
-->
125-

reference/zip/ziparchive/addfile.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</refnamediv>
88
<refsect1 role="description">
99
&reftitle.description;
10-
<methodsynopsis>
10+
<methodsynopsis role="ZipArchive">
1111
<modifier>public</modifier> <type>bool</type><methodname>ZipArchive::addFile</methodname>
1212
<methodparam><type>string</type><parameter>filepath</parameter></methodparam>
1313
<methodparam choice="opt"><type>string</type><parameter>entryname</parameter><initializer>""</initializer></methodparam>

reference/zip/ziparchive/addfromstring.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</refnamediv>
88
<refsect1 role="description">
99
&reftitle.description;
10-
<methodsynopsis>
10+
<methodsynopsis role="ZipArchive">
1111
<modifier>public</modifier> <type>bool</type><methodname>ZipArchive::addFromString</methodname>
1212
<methodparam><type>string</type><parameter>name</parameter></methodparam>
1313
<methodparam><type>string</type><parameter>content</parameter></methodparam>

reference/zip/ziparchive/addglob.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<refsect1 role="description">
1010
&reftitle.description;
11-
<methodsynopsis>
11+
<methodsynopsis role="ZipArchive">
1212
<modifier>public</modifier> <type class="union"><type>array</type><type>false</type></type><methodname>ZipArchive::addGlob</methodname>
1313
<methodparam><type>string</type><parameter>pattern</parameter></methodparam>
1414
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>

reference/zip/ziparchive/addpattern.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<refsect1 role="description">
1010
&reftitle.description;
11-
<methodsynopsis>
11+
<methodsynopsis role="ZipArchive">
1212
<modifier>public</modifier> <type class="union"><type>array</type><type>false</type></type><methodname>ZipArchive::addPattern</methodname>
1313
<methodparam><type>string</type><parameter>pattern</parameter></methodparam>
1414
<methodparam choice="opt"><type>string</type><parameter>path</parameter><initializer>"."</initializer></methodparam>

reference/zip/ziparchive/clearerror.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</refnamediv>
88
<refsect1 role="description">
99
&reftitle.description;
10-
<methodsynopsis>
10+
<methodsynopsis role="ZipArchive">
1111
<modifier>public</modifier> <type>void</type><methodname>ZipArchive::clearError</methodname>
1212
<void/>
1313
</methodsynopsis>

reference/zip/ziparchive/close.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</refnamediv>
88
<refsect1 role="description">
99
&reftitle.description;
10-
<methodsynopsis>
10+
<methodsynopsis role="ZipArchive">
1111
<modifier>public</modifier> <type>bool</type><methodname>ZipArchive::close</methodname>
1212
<void/>
1313
</methodsynopsis>
@@ -33,7 +33,6 @@
3333
</para>
3434
</refsect1>
3535
</refentry>
36-
3736
<!-- Keep this comment at the end of the file
3837
Local variables:
3938
mode: sgml

reference/zip/ziparchive/count.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<refsect1 role="description">
1010
&reftitle.description;
11-
<methodsynopsis>
11+
<methodsynopsis role="ZipArchive">
1212
<modifier>public</modifier> <type>int</type><methodname>ZipArchive::count</methodname>
1313
<void/>
1414
</methodsynopsis>
@@ -27,7 +27,6 @@
2727
</refsect1>
2828

2929
</refentry>
30-
3130
<!-- Keep this comment at the end of the file
3231
Local variables:
3332
mode: sgml

reference/zip/ziparchive/deleteindex.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</refnamediv>
88
<refsect1 role="description">
99
&reftitle.description;
10-
<methodsynopsis>
10+
<methodsynopsis role="ZipArchive">
1111
<modifier>public</modifier> <type>bool</type><methodname>ZipArchive::deleteIndex</methodname>
1212
<methodparam><type>int</type><parameter>index</parameter></methodparam>
1313
</methodsynopsis>
@@ -57,7 +57,6 @@ if ($zip->open('test.zip') === TRUE) {
5757
</example>
5858
</refsect1>
5959
</refentry>
60-
6160
<!-- Keep this comment at the end of the file
6261
Local variables:
6362
mode: sgml

reference/zip/ziparchive/deletename.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</refnamediv>
88
<refsect1 role="description">
99
&reftitle.description;
10-
<methodsynopsis>
10+
<methodsynopsis role="ZipArchive">
1111
<modifier>public</modifier> <type>bool</type><methodname>ZipArchive::deleteName</methodname>
1212
<methodparam><type>string</type><parameter>name</parameter></methodparam>
1313
</methodsynopsis>
@@ -58,7 +58,6 @@ if ($zip->open('test1.zip') === TRUE) {
5858
</example>
5959
</refsect1>
6060
</refentry>
61-
6261
<!-- Keep this comment at the end of the file
6362
Local variables:
6463
mode: sgml

reference/zip/ziparchive/extractto.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</refnamediv>
88
<refsect1 role="description">
99
&reftitle.description;
10-
<methodsynopsis>
10+
<methodsynopsis role="ZipArchive">
1111
<modifier>public</modifier> <type>bool</type><methodname>ZipArchive::extractTo</methodname>
1212
<methodparam><type>string</type><parameter>pathto</parameter></methodparam>
1313
<methodparam choice="opt"><type class="union"><type>array</type><type>string</type><type>null</type></type><parameter>files</parameter><initializer>&null;</initializer></methodparam>

reference/zip/ziparchive/getarchivecomment.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</refnamediv>
88
<refsect1 role="description">
99
&reftitle.description;
10-
<methodsynopsis>
10+
<methodsynopsis role="ZipArchive">
1111
<modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ZipArchive::getArchiveComment</methodname>
1212
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
1313
</methodsynopsis>

reference/zip/ziparchive/getcommentindex.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</refnamediv>
88
<refsect1 role="description">
99
&reftitle.description;
10-
<methodsynopsis>
10+
<methodsynopsis role="ZipArchive">
1111
<modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ZipArchive::getCommentIndex</methodname>
1212
<methodparam><type>int</type><parameter>index</parameter></methodparam>
1313
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>

reference/zip/ziparchive/getcommentname.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</refnamediv>
88
<refsect1 role="description">
99
&reftitle.description;
10-
<methodsynopsis>
10+
<methodsynopsis role="ZipArchive">
1111
<modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ZipArchive::getCommentName</methodname>
1212
<methodparam><type>string</type><parameter>name</parameter></methodparam>
1313
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>

reference/zip/ziparchive/getexternalattributesindex.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</refnamediv>
88
<refsect1 role="description">
99
&reftitle.description;
10-
<methodsynopsis>
10+
<methodsynopsis role="ZipArchive">
1111
<modifier>public</modifier> <type>bool</type><methodname>ZipArchive::getExternalAttributesIndex</methodname>
1212
<methodparam><type>int</type><parameter>index</parameter></methodparam>
1313
<methodparam><type>int</type><parameter role="reference">opsys</parameter></methodparam>

reference/zip/ziparchive/getexternalattributesname.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</refnamediv>
88
<refsect1 role="description">
99
&reftitle.description;
10-
<methodsynopsis>
10+
<methodsynopsis role="ZipArchive">
1111
<modifier>public</modifier> <type>bool</type><methodname>ZipArchive::getExternalAttributesName</methodname>
1212
<methodparam><type>string</type><parameter>name</parameter></methodparam>
1313
<methodparam><type>int</type><parameter role="reference">opsys</parameter></methodparam>

reference/zip/ziparchive/getfromindex.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</refnamediv>
88
<refsect1 role="description">
99
&reftitle.description;
10-
<methodsynopsis>
10+
<methodsynopsis role="ZipArchive">
1111
<modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ZipArchive::getFromIndex</methodname>
1212
<methodparam><type>int</type><parameter>index</parameter></methodparam>
1313
<methodparam choice="opt"><type>int</type><parameter>len</parameter><initializer>0</initializer></methodparam>

reference/zip/ziparchive/getfromname.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</refnamediv>
88
<refsect1 role="description">
99
&reftitle.description;
10-
<methodsynopsis>
10+
<methodsynopsis role="ZipArchive">
1111
<modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ZipArchive::getFromName</methodname>
1212
<methodparam><type>string</type><parameter>name</parameter></methodparam>
1313
<methodparam choice="opt"><type>int</type><parameter>len</parameter><initializer>0</initializer></methodparam>

reference/zip/ziparchive/getnameindex.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</refnamediv>
88
<refsect1 role="description">
99
&reftitle.description;
10-
<methodsynopsis>
10+
<methodsynopsis role="ZipArchive">
1111
<modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ZipArchive::getNameIndex</methodname>
1212
<methodparam><type>int</type><parameter>index</parameter></methodparam>
1313
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>

reference/zip/ziparchive/getstatusstring.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</refnamediv>
88
<refsect1 role="description">
99
&reftitle.description;
10-
<methodsynopsis>
10+
<methodsynopsis role="ZipArchive">
1111
<modifier>public</modifier> <type>string</type><methodname>ZipArchive::getStatusString</methodname>
1212
<void/>
1313
</methodsynopsis>

reference/zip/ziparchive/getstream.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</refnamediv>
88
<refsect1 role="description">
99
&reftitle.description;
10-
<methodsynopsis>
10+
<methodsynopsis role="ZipArchive">
1111
<modifier>public</modifier> <type class="union"><type>resource</type><type>false</type></type><methodname>ZipArchive::getStream</methodname>
1212
<methodparam><type>string</type><parameter>name</parameter></methodparam>
1313
</methodsynopsis>
@@ -109,7 +109,6 @@ imagepng($im, 'a.png');
109109
</refsect1>
110110

111111
</refentry>
112-
113112
<!-- Keep this comment at the end of the file
114113
Local variables:
115114
mode: sgml

reference/zip/ziparchive/getstreamindex.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</refnamediv>
88
<refsect1 role="description">
99
&reftitle.description;
10-
<methodsynopsis>
10+
<methodsynopsis role="ZipArchive">
1111
<modifier>public</modifier> <type class="union"><type>resource</type><type>false</type></type><methodname>ZipArchive::getStreamIndex</methodname>
1212
<methodparam><type>int</type><parameter>index</parameter></methodparam>
1313
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
@@ -80,7 +80,6 @@ if ($z->open('test.zip')) {
8080
</refsect1>
8181

8282
</refentry>
83-
8483
<!-- Keep this comment at the end of the file
8584
Local variables:
8685
mode: sgml

reference/zip/ziparchive/getstreamname.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</refnamediv>
88
<refsect1 role="description">
99
&reftitle.description;
10-
<methodsynopsis>
10+
<methodsynopsis role="ZipArchive">
1111
<modifier>public</modifier> <type class="union"><type>resource</type><type>false</type></type><methodname>ZipArchive::getStreamName</methodname>
1212
<methodparam><type>string</type><parameter>name</parameter></methodparam>
1313
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
@@ -80,7 +80,6 @@ if ($z->open('test.zip')) {
8080
</refsect1>
8181

8282
</refentry>
83-
8483
<!-- Keep this comment at the end of the file
8584
Local variables:
8685
mode: sgml

reference/zip/ziparchive/iscompressionmethoddupported.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<refsect1 role="description">
1010
&reftitle.description;
11-
<methodsynopsis>
11+
<methodsynopsis role="ZipArchive">
1212
<modifier>public</modifier> <modifier>static</modifier> <type>bool</type><methodname>ZipArchive::isCompressionMethodSupported</methodname>
1313
<methodparam><type>int</type><parameter>method</parameter></methodparam>
1414
<methodparam choice="opt"><type>bool</type><parameter>enc</parameter><initializer>&true;</initializer></methodparam>

reference/zip/ziparchive/isencryptionmethoddupported.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<refsect1 role="description">
1010
&reftitle.description;
11-
<methodsynopsis>
11+
<methodsynopsis role="ZipArchive">
1212
<modifier>public</modifier> <modifier>static</modifier> <type>bool</type><methodname>ZipArchive::isEncryptionMethodSupported</methodname>
1313
<methodparam><type>int</type><parameter>method</parameter></methodparam>
1414
<methodparam choice="opt"><type>bool</type><parameter>enc</parameter><initializer>&true;</initializer></methodparam>

reference/zip/ziparchive/locatename.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</refnamediv>
88
<refsect1 role="description">
99
&reftitle.description;
10-
<methodsynopsis>
10+
<methodsynopsis role="ZipArchive">
1111
<modifier>public</modifier> <type class="union"><type>int</type><type>false</type></type><methodname>ZipArchive::locateName</methodname>
1212
<methodparam><type>string</type><parameter>name</parameter></methodparam>
1313
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>

reference/zip/ziparchive/open.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</refnamediv>
88
<refsect1 role="description">
99
&reftitle.description;
10-
<methodsynopsis>
10+
<methodsynopsis role="ZipArchive">
1111
<modifier>public</modifier> <type class="union"><type>bool</type><type>int</type></type><methodname>ZipArchive::open</methodname>
1212
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
1313
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>

reference/zip/ziparchive/registercancelcallback.xml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
43
<refentry xml:id="ziparchive.registercancelcallback" xmlns="http://docbook.org/ns/docbook">
54
<refnamediv>
65
<refname>ZipArchive::registerCancelCallback</refname>
@@ -9,9 +8,8 @@
98

109
<refsect1 role="description">
1110
&reftitle.description;
12-
<methodsynopsis>
13-
<modifier>public</modifier> <type>bool</type>
14-
<methodname>ZipArchive::registerCancelCallback</methodname>
11+
<methodsynopsis role="ZipArchive">
12+
<modifier>public</modifier> <type>bool</type><methodname>ZipArchive::registerCancelCallback</methodname>
1513
<methodparam><type>callable</type><parameter>callback</parameter></methodparam>
1614
</methodsynopsis>
1715
<para>
@@ -86,7 +84,6 @@ if ($zip->open('php.zip', ZipArchive::CREATE | ZipArchive::OVERWRITE)) {
8684
</refsect1>
8785

8886
</refentry>
89-
9087
<!-- Keep this comment at the end of the file
9188
Local variables:
9289
mode: sgml

reference/zip/ziparchive/registerprogresscallback.xml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
43
<refentry xml:id="ziparchive.registerprogresscallback" xmlns="http://docbook.org/ns/docbook">
54
<refnamediv>
65
<refname>ZipArchive::registerProgressCallback</refname>
@@ -9,9 +8,8 @@
98

109
<refsect1 role="description">
1110
&reftitle.description;
12-
<methodsynopsis>
13-
<modifier>public</modifier> <type>bool</type>
14-
<methodname>ZipArchive::registerProgressCallback</methodname>
11+
<methodsynopsis role="ZipArchive">
12+
<modifier>public</modifier> <type>bool</type><methodname>ZipArchive::registerProgressCallback</methodname>
1513
<methodparam><type>float</type><parameter>rate</parameter></methodparam>
1614
<methodparam><type>callable</type><parameter>callback</parameter></methodparam>
1715
</methodsynopsis>
@@ -94,7 +92,6 @@ if ($zip->open('php.zip', ZipArchive::CREATE | ZipArchive::OVERWRITE)) {
9492
</refsect1>
9593

9694
</refentry>
97-
9895
<!-- Keep this comment at the end of the file
9996
Local variables:
10097
mode: sgml

reference/zip/ziparchive/renameindex.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</refnamediv>
88
<refsect1 role="description">
99
&reftitle.description;
10-
<methodsynopsis>
10+
<methodsynopsis role="ZipArchive">
1111
<modifier>public</modifier> <type>bool</type><methodname>ZipArchive::renameIndex</methodname>
1212
<methodparam><type>int</type><parameter>index</parameter></methodparam>
1313
<methodparam><type>string</type><parameter>new_name</parameter></methodparam>

reference/zip/ziparchive/renamename.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</refnamediv>
88
<refsect1 role="description">
99
&reftitle.description;
10-
<methodsynopsis>
10+
<methodsynopsis role="ZipArchive">
1111
<modifier>public</modifier> <type>bool</type><methodname>ZipArchive::renameName</methodname>
1212
<methodparam><type>string</type><parameter>name</parameter></methodparam>
1313
<methodparam><type>string</type><parameter>new_name</parameter></methodparam>

0 commit comments

Comments
 (0)