Skip to content

Update ext/intl role attributes #1975

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

Merged
merged 1 commit into from
Dec 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions reference/intl/collator.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
</classsynopsisinfo>

<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.collator')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])">
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.collator')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='Collator'])">
<xi:fallback/>
</xi:include>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.collator')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])">
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.collator')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='Collator'])">
<xi:fallback/>
</xi:include>
</classsynopsis>
Expand Down
4 changes: 2 additions & 2 deletions reference/intl/collator/asort.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
<refsect1 role="description">
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<methodsynopsis role="Collator">
<modifier>public</modifier> <type>bool</type><methodname>Collator::asort</methodname>
<methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>Collator::SORT_REGULAR</initializer></methodparam>
</methodsynopsis>
<para>
&style.procedural;
</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type>bool</type><methodname>collator_asort</methodname>
<methodparam><type>Collator</type><parameter>object</parameter></methodparam>
<methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
Expand Down
4 changes: 2 additions & 2 deletions reference/intl/collator/compare.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
<para>
&style.oop;
</para>
<methodsynopsis role="oop">
<methodsynopsis role="Collator">
<modifier>public</modifier> <type class="union"><type>int</type><type>false</type></type><methodname>Collator::compare</methodname>
<methodparam><type>string</type><parameter>string1</parameter></methodparam>
<methodparam><type>string</type><parameter>string2</parameter></methodparam>
</methodsynopsis>
<para>
&style.procedural;
</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type class="union"><type>int</type><type>false</type></type><methodname>collator_compare</methodname>
<methodparam><type>Collator</type><parameter>object</parameter></methodparam>
<methodparam><type>string</type><parameter>string1</parameter></methodparam>
Expand Down
3 changes: 1 addition & 2 deletions reference/intl/collator/construct.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<constructorsynopsis>
<constructorsynopsis role="Collator">
<modifier>public</modifier> <methodname>Collator::__construct</methodname>
<methodparam><type>string</type><parameter>locale</parameter></methodparam>
</constructorsynopsis>
Expand Down Expand Up @@ -101,7 +101,6 @@ $coll = new Collator('en_CA');
</para>
</refsect1>
</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down
4 changes: 2 additions & 2 deletions reference/intl/collator/create.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
<refsect1 role="description">
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
<methodsynopsis role="Collator">
<modifier>public</modifier> <modifier>static</modifier> <type class="union"><type>Collator</type><type>null</type></type><methodname>Collator::create</methodname>
<methodparam><type>string</type><parameter>locale</parameter></methodparam>
</methodsynopsis>
<para>
&style.procedural;
</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type class="union"><type>Collator</type><type>null</type></type><methodname>collator_create</methodname>
<methodparam><type>string</type><parameter>locale</parameter></methodparam>
</methodsynopsis>
Expand Down
4 changes: 2 additions & 2 deletions reference/intl/collator/get-attribute.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
<para>
&style.oop;
</para>
<methodsynopsis role="oop">
<methodsynopsis role="Collator">
<modifier>public</modifier> <type class="union"><type>int</type><type>false</type></type><methodname>Collator::getAttribute</methodname>
<methodparam><type>int</type><parameter>attribute</parameter></methodparam>
</methodsynopsis>
<para>
&style.procedural;
</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type class="union"><type>int</type><type>false</type></type><methodname>collator_get_attribute</methodname>
<methodparam><type>Collator</type><parameter>object</parameter></methodparam>
<methodparam><type>int</type><parameter>attribute</parameter></methodparam>
Expand Down
4 changes: 2 additions & 2 deletions reference/intl/collator/get-error-code.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
<para>
&style.oop;
</para>
<methodsynopsis role="oop">
<methodsynopsis role="Collator">
<modifier>public</modifier> <type class="union"><type>int</type><type>false</type></type><methodname>Collator::getErrorCode</methodname>
<void/>
</methodsynopsis>
<para>
&style.procedural;
</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type class="union"><type>int</type><type>false</type></type><methodname>collator_get_error_code</methodname>
<methodparam><type>Collator</type><parameter>object</parameter></methodparam>
</methodsynopsis>
Expand Down
4 changes: 2 additions & 2 deletions reference/intl/collator/get-error-message.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
<para>
&style.oop;
</para>
<methodsynopsis role="oop">
<methodsynopsis role="Collator">
<modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>Collator::getErrorMessage</methodname>
<void/>
</methodsynopsis>
<para>
&style.procedural;
</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type class="union"><type>string</type><type>false</type></type><methodname>collator_get_error_message</methodname>
<methodparam><type>Collator</type><parameter>object</parameter></methodparam>
</methodsynopsis>
Expand Down
4 changes: 2 additions & 2 deletions reference/intl/collator/get-locale.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
<para>
&style.oop;
</para>
<methodsynopsis role="oop">
<methodsynopsis role="Collator">
<modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>Collator::getLocale</methodname>
<methodparam><type>int</type><parameter>type</parameter></methodparam>
</methodsynopsis>
<para>
&style.procedural;
</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type class="union"><type>string</type><type>false</type></type><methodname>collator_get_locale</methodname>
<methodparam><type>Collator</type><parameter>object</parameter></methodparam>
<methodparam><type>int</type><parameter>type</parameter></methodparam>
Expand Down
4 changes: 2 additions & 2 deletions reference/intl/collator/get-sort-key.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
<para>
&style.oop;
</para>
<methodsynopsis role="oop">
<methodsynopsis role="Collator">
<modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>Collator::getSortKey</methodname>
<methodparam><type>string</type><parameter>string</parameter></methodparam>
</methodsynopsis>
<para>
&style.procedural;
</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type class="union"><type>string</type><type>false</type></type><methodname>collator_get_sort_key</methodname>
<methodparam><type>Collator</type><parameter>object</parameter></methodparam>
<methodparam><type>string</type><parameter>string</parameter></methodparam>
Expand Down
4 changes: 2 additions & 2 deletions reference/intl/collator/get-strength.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
<para>
&style.oop;
</para>
<methodsynopsis role="oop">
<methodsynopsis role="Collator">
<modifier>public</modifier> <type>int</type><methodname>Collator::getStrength</methodname>
<void/>
</methodsynopsis>
<para>
&style.procedural;
</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type>int</type><methodname>collator_get_strength</methodname>
<methodparam><type>Collator</type><parameter>object</parameter></methodparam>
</methodsynopsis>
Expand Down
4 changes: 2 additions & 2 deletions reference/intl/collator/set-attribute.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
<para>
&style.oop;
</para>
<methodsynopsis role="oop">
<methodsynopsis role="Collator">
<modifier>public</modifier> <type>bool</type><methodname>Collator::setAttribute</methodname>
<methodparam><type>int</type><parameter>attribute</parameter></methodparam>
<methodparam><type>int</type><parameter>value</parameter></methodparam>
</methodsynopsis>
<para>
&style.procedural;
</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type>bool</type><methodname>collator_set_attribute</methodname>
<methodparam><type>Collator</type><parameter>object</parameter></methodparam>
<methodparam><type>int</type><parameter>attribute</parameter></methodparam>
Expand Down
4 changes: 2 additions & 2 deletions reference/intl/collator/set-strength.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
<para>
&style.oop;
</para>
<methodsynopsis role="oop">
<methodsynopsis role="Collator">
<modifier>public</modifier> <type>bool</type><methodname>Collator::setStrength</methodname>
<methodparam><type>int</type><parameter>strength</parameter></methodparam>
</methodsynopsis>
<para>
&style.procedural;
</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type>bool</type><methodname>collator_set_strength</methodname>
<methodparam><type>Collator</type><parameter>object</parameter></methodparam>
<methodparam><type>int</type><parameter>strength</parameter></methodparam>
Expand Down
4 changes: 2 additions & 2 deletions reference/intl/collator/sort-with-sort-keys.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
<para>
&style.oop;
</para>
<methodsynopsis role="oop">
<methodsynopsis role="Collator">
<modifier>public</modifier> <type>bool</type><methodname>Collator::sortWithSortKeys</methodname>
<methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
</methodsynopsis>
<para>
&style.procedural;
</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type>bool</type><methodname>collator_sort_with_sort_keys</methodname>
<methodparam><type>Collator</type><parameter>object</parameter></methodparam>
<methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
Expand Down
4 changes: 2 additions & 2 deletions reference/intl/collator/sort.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
<para>
&style.oop;
</para>
<methodsynopsis role="oop">
<methodsynopsis role="Collator">
<modifier>public</modifier> <type>bool</type><methodname>Collator::sort</methodname>
<methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>Collator::SORT_REGULAR</initializer></methodparam>
</methodsynopsis>
<para>
&style.procedural;
</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type>bool</type><methodname>collator_sort</methodname>
<methodparam><type>Collator</type><parameter>object</parameter></methodparam>
<methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
Expand Down
4 changes: 2 additions & 2 deletions reference/intl/dateformatter.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
</classsynopsisinfo>

<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.intldateformatter')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])">
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.intldateformatter')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='IntlDateFormatter'])">
<xi:fallback/>
</xi:include>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.intldateformatter')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])">
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.intldateformatter')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='IntlDateFormatter'])">
<xi:fallback/>
</xi:include>
</classsynopsis>
Expand Down
6 changes: 3 additions & 3 deletions reference/intl/dateformatter/create.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<para>
&style.oop;
</para>
<methodsynopsis role="oop">
<methodsynopsis role="IntlDateFormatter">
<modifier>public</modifier> <modifier>static</modifier> <type class="union"><type>IntlDateFormatter</type><type>null</type></type><methodname>IntlDateFormatter::create</methodname>
<methodparam><type class="union"><type>string</type><type>null</type></type><parameter>locale</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>dateType</parameter><initializer>IntlDateFormatter::FULL</initializer></methodparam>
Expand All @@ -24,7 +24,7 @@
<para>
&style.oop; (constructor)
</para>
<constructorsynopsis>
<constructorsynopsis role="IntlDateFormatter">
<modifier>public</modifier> <methodname>IntlDateFormatter::__construct</methodname>
<methodparam><type class="union"><type>string</type><type>null</type></type><parameter>locale</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>dateType</parameter><initializer>IntlDateFormatter::FULL</initializer></methodparam>
Expand All @@ -36,7 +36,7 @@
<para>
&style.procedural;
</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type class="union"><type>IntlDateFormatter</type><type>null</type></type><methodname>datefmt_create</methodname>
<methodparam><type class="union"><type>string</type><type>null</type></type><parameter>locale</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>dateType</parameter><initializer>IntlDateFormatter::FULL</initializer></methodparam>
Expand Down
4 changes: 2 additions & 2 deletions reference/intl/dateformatter/format.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
<para>
&style.oop;
</para>
<methodsynopsis role="oop">
<methodsynopsis role="IntlDateFormatter">
<modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>IntlDateFormatter::format</methodname>
<methodparam><type class="union"><type>IntlCalendar</type><type>DateTimeInterface</type><type>array</type><type>string</type><type>int</type><type>float</type></type><parameter>datetime</parameter></methodparam>
</methodsynopsis>
<para>
&style.procedural;
</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type class="union"><type>string</type><type>false</type></type><methodname>datefmt_format</methodname>
<methodparam><type>IntlDateFormatter</type><parameter>formatter</parameter></methodparam>
<methodparam><type class="union"><type>IntlCalendar</type><type>DateTimeInterface</type><type>array</type><type>string</type><type>int</type><type>float</type></type><parameter>datetime</parameter></methodparam>
Expand Down
4 changes: 2 additions & 2 deletions reference/intl/dateformatter/formatobject.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<para>
&style.oop;
</para>
<methodsynopsis role="oop">
<methodsynopsis role="IntlDateFormatter">
<modifier>public</modifier> <modifier>static</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>IntlDateFormatter::formatObject</methodname>
<methodparam><type class="union"><type>IntlCalendar</type><type>DateTimeInterface</type></type><parameter>datetime</parameter></methodparam>
<methodparam choice="opt"><type class="union"><type>array</type><type>int</type><type>string</type><type>null</type></type><parameter>format</parameter><initializer>&null;</initializer></methodparam>
Expand All @@ -21,7 +21,7 @@
<para>
&style.procedural;
</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type class="union"><type>string</type><type>false</type></type><methodname>datefmt_format_object</methodname>
<methodparam><type class="union"><type>IntlCalendar</type><type>DateTimeInterface</type></type><parameter>datetime</parameter></methodparam>
<methodparam choice="opt"><type class="union"><type>array</type><type>int</type><type>string</type><type>null</type></type><parameter>format</parameter><initializer>&null;</initializer></methodparam>
Expand Down
4 changes: 2 additions & 2 deletions reference/intl/dateformatter/get-calendar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
<para>
&style.oop;
</para>
<methodsynopsis role="oop">
<methodsynopsis role="IntlDateFormatter">
<modifier>public</modifier> <type class="union"><type>int</type><type>false</type></type><methodname>IntlDateFormatter::getCalendar</methodname>
<void/>
</methodsynopsis>
<para>
&style.procedural;
</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type class="union"><type>int</type><type>false</type></type><methodname>datefmt_get_calendar</methodname>
<methodparam><type>IntlDateFormatter</type><parameter>formatter</parameter></methodparam>
</methodsynopsis>
Expand Down
4 changes: 2 additions & 2 deletions reference/intl/dateformatter/get-datetype.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
<para>
&style.oop;
</para>
<methodsynopsis role="oop">
<methodsynopsis role="IntlDateFormatter">
<modifier>public</modifier> <type class="union"><type>int</type><type>false</type></type><methodname>IntlDateFormatter::getDateType</methodname>
<void/>
</methodsynopsis>
<para>
&style.procedural;
</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type class="union"><type>int</type><type>false</type></type><methodname>datefmt_get_datetype</methodname>
<methodparam><type>IntlDateFormatter</type><parameter>formatter</parameter></methodparam>
</methodsynopsis>
Expand Down
4 changes: 2 additions & 2 deletions reference/intl/dateformatter/get-error-code.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
<para>
&style.oop;
</para>
<methodsynopsis role="oop">
<methodsynopsis role="IntlDateFormatter">
<modifier>public</modifier> <type>int</type><methodname>IntlDateFormatter::getErrorCode</methodname>
<void/>
</methodsynopsis>
<para>
&style.procedural;
</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type>int</type><methodname>datefmt_get_error_code</methodname>
<methodparam><type>IntlDateFormatter</type><parameter>formatter</parameter></methodparam>
</methodsynopsis>
Expand Down
4 changes: 2 additions & 2 deletions reference/intl/dateformatter/get-error-message.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
<para>
&style.oop;
</para>
<methodsynopsis role="oop">
<methodsynopsis role="IntlDateFormatter">
<modifier>public</modifier> <type>string</type><methodname>IntlDateFormatter::getErrorMessage</methodname>
<void/>
</methodsynopsis>
<para>
&style.procedural;
</para>
<methodsynopsis role="procedural">
<methodsynopsis>
<type>string</type><methodname>datefmt_get_error_message</methodname>
<methodparam><type>IntlDateFormatter</type><parameter>formatter</parameter></methodparam>
</methodsynopsis>
Expand Down
Loading