Skip to content

Commit 8b6e16f

Browse files
kocsismateclaudepache
authored andcommitted
Update ext/com role attributes (php#1977)
Based on php/php-src#9901
1 parent 6395f73 commit 8b6e16f

15 files changed

+19
-28
lines changed

reference/com/com.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
</classsynopsisinfo>
3838

3939
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
40-
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.com')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])">
40+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.com')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='com'])">
4141
<xi:fallback/>
4242
</xi:include>
4343
</classsynopsis>

reference/com/com/construct.xml

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

99
<refsect1 role="description">
1010
&reftitle.description;
11-
<constructorsynopsis>
11+
<constructorsynopsis role="com">
1212
<modifier>public</modifier> <methodname>com::__construct</methodname>
1313
<methodparam><type>string</type><parameter>module_name</parameter></methodparam>
1414
<methodparam choice="opt"><type class="union"><type>array</type><type>string</type><type>null</type></type><parameter>server_name</parameter><initializer>&null;</initializer></methodparam>
@@ -58,8 +58,7 @@
5858
</simpara>
5959
<simpara>
6060
If a non-&null; value is specified for server, PHP will refuse to load
61-
the object unless the <link
62-
linkend="ini.com.allow-dcom">com.allow_dcom</link> &php.ini; option
61+
the object unless the <link linkend="ini.com.allow-dcom">com.allow_dcom</link> &php.ini; option
6362
is set to &true;.
6463
</simpara>
6564
<para>

reference/com/compersisthelper.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@
3535
</classsynopsisinfo>
3636

3737
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
38-
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.compersisthelper')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])">
38+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.compersisthelper')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='COMPersistHelper'])">
3939
<xi:fallback/>
4040
</xi:include>
41-
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.compersisthelper')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])">
41+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.compersisthelper')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='COMPersistHelper'])">
4242
<xi:fallback/>
4343
</xi:include>
4444
</classsynopsis>

reference/com/compersisthelper/construct.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-
<constructorsynopsis>
11+
<constructorsynopsis role="COMPersistHelper">
1212
<modifier>public</modifier> <methodname>COMPersistHelper::__construct</methodname>
1313
<methodparam choice="opt"><type class="union"><type>variant</type><type>null</type></type><parameter>variant</parameter><initializer>&null;</initializer></methodparam>
1414
</constructorsynopsis>

reference/com/compersisthelper/getcurfilename.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="COMPersistHelper">
1212
<modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>COMPersistHelper::GetCurFileName</methodname>
1313
<void/>
1414
</methodsynopsis>

reference/com/compersisthelper/getmaxstreamsize.xml

Lines changed: 2 additions & 4 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="compersisthelper.getmaxstreamsize" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
54
<refnamediv>
65
<refname>COMPersistHelper::GetMaxStreamSize</refname>
@@ -9,9 +8,9 @@
98

109
<refsect1 role="description">
1110
&reftitle.description;
12-
<methodsynopsis>
11+
<methodsynopsis role="COMPersistHelper">
1312
<modifier>public</modifier> <type>int</type><methodname>COMPersistHelper::GetMaxStreamSize</methodname>
14-
<void />
13+
<void/>
1514
</methodsynopsis>
1615
<para>
1716
Retrieves the size of the stream (in bytes) needed to save the object.
@@ -41,7 +40,6 @@
4140
</refsect1>
4241

4342
</refentry>
44-
4543
<!-- Keep this comment at the end of the file
4644
Local variables:
4745
mode: sgml

reference/com/compersisthelper/initnew.xml

Lines changed: 2 additions & 4 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="compersisthelper.initnew" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
54
<refnamediv>
65
<refname>COMPersistHelper::InitNew</refname>
@@ -9,9 +8,9 @@
98

109
<refsect1 role="description">
1110
&reftitle.description;
12-
<methodsynopsis>
11+
<methodsynopsis role="COMPersistHelper">
1312
<modifier>public</modifier> <type>bool</type><methodname>COMPersistHelper::InitNew</methodname>
14-
<void />
13+
<void/>
1514
</methodsynopsis>
1615
<para>
1716
Initializes an object to a default state.
@@ -40,7 +39,6 @@
4039
</refsect1>
4140

4241
</refentry>
43-
4442
<!-- Keep this comment at the end of the file
4543
Local variables:
4644
mode: sgml

reference/com/compersisthelper/loadfromfile.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="COMPersistHelper">
1212
<modifier>public</modifier> <type>bool</type><methodname>COMPersistHelper::LoadFromFile</methodname>
1313
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
1414
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>

reference/com/compersisthelper/loadfromstream.xml

Lines changed: 1 addition & 3 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="compersisthelper.loadfromstream" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
54
<refnamediv>
65
<refname>COMPersistHelper::LoadFromStream</refname>
@@ -9,7 +8,7 @@
98

109
<refsect1 role="description">
1110
&reftitle.description;
12-
<methodsynopsis>
11+
<methodsynopsis role="COMPersistHelper">
1312
<modifier>public</modifier> <type>bool</type><methodname>COMPersistHelper::LoadFromStream</methodname>
1413
<methodparam><type>resource</type><parameter>stream</parameter></methodparam>
1514
</methodsynopsis>
@@ -49,7 +48,6 @@
4948
</refsect1>
5049

5150
</refentry>
52-
5351
<!-- Keep this comment at the end of the file
5452
Local variables:
5553
mode: sgml

reference/com/compersisthelper/savetofile.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="COMPersistHelper">
1212
<modifier>public</modifier> <type>bool</type><methodname>COMPersistHelper::SaveToFile</methodname>
1313
<methodparam><type class="union"><type>string</type><type>null</type></type><parameter>filename</parameter></methodparam>
1414
<methodparam choice="opt"><type>bool</type><parameter>remember</parameter><initializer>&true;</initializer></methodparam>

reference/com/compersisthelper/savetostream.xml

Lines changed: 1 addition & 3 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="compersisthelper.savetostream" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
54
<refnamediv>
65
<refname>COMPersistHelper::SaveToStream</refname>
@@ -9,7 +8,7 @@
98

109
<refsect1 role="description">
1110
&reftitle.description;
12-
<methodsynopsis>
11+
<methodsynopsis role="COMPersistHelper">
1312
<modifier>public</modifier> <type>bool</type><methodname>COMPersistHelper::SaveToStream</methodname>
1413
<methodparam><type>resource</type><parameter>stream</parameter></methodparam>
1514
</methodsynopsis>
@@ -50,7 +49,6 @@
5049
</refsect1>
5150

5251
</refentry>
53-
5452
<!-- Keep this comment at the end of the file
5553
Local variables:
5654
mode: sgml

reference/com/dotnet.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
</classsynopsisinfo>
6262

6363
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
64-
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.dotnet')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])">
64+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.dotnet')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='dotnet'])">
6565
<xi:fallback/>
6666
</xi:include>
6767
</classsynopsis>

reference/com/dotnet/construct.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-
<constructorsynopsis>
11+
<constructorsynopsis role="dotnet">
1212
<modifier>public</modifier> <methodname>dotnet::__construct</methodname>
1313
<methodparam><type>string</type><parameter>assembly_name</parameter></methodparam>
1414
<methodparam><type>string</type><parameter>datatype_name</parameter></methodparam>

reference/com/variant.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
</classsynopsisinfo>
3434

3535
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
36-
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.variant')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])">
36+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.variant')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='variant'])">
3737
<xi:fallback/>
3838
</xi:include>
3939
</classsynopsis>

reference/com/variant/construct.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-
<constructorsynopsis>
11+
<constructorsynopsis role="variant">
1212
<modifier>public</modifier> <methodname>variant::__construct</methodname>
1313
<methodparam choice="opt"><type>mixed</type><parameter>value</parameter><initializer>&null;</initializer></methodparam>
1414
<methodparam choice="opt"><type>int</type><parameter>type</parameter><initializer><constant>VT_EMPTY</constant></initializer></methodparam>

0 commit comments

Comments
 (0)