Skip to content

Update ext/reflection role attributes #1979

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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion reference/reflection/reflection.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</classsynopsisinfo>

<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflection')/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.reflection')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='Reflection'])">
<xi:fallback/>
</xi:include>
</classsynopsis>
Expand Down
2 changes: 1 addition & 1 deletion reference/reflection/reflection/export.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="Reflection">
<modifier>public</modifier> <modifier>static</modifier> <type>string</type><methodname>Reflection::export</methodname>
<methodparam><type>Reflector</type><parameter>reflector</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>return</parameter><initializer>&false;</initializer></methodparam>
Expand Down
4 changes: 1 addition & 3 deletions reference/reflection/reflection/getmodifiernames.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->

<refentry xml:id="reflection.getmodifiernames" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Reflection::getModifierNames</refname>
Expand All @@ -9,7 +8,7 @@

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="Reflection">
<modifier>public</modifier> <modifier>static</modifier> <type>array</type><methodname>Reflection::getModifierNames</methodname>
<methodparam><type>int</type><parameter>modifiers</parameter></methodparam>
</methodsynopsis>
Expand Down Expand Up @@ -103,7 +102,6 @@ public
</refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down
4 changes: 2 additions & 2 deletions reference/reflection/reflectionattribute.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@
</fieldsynopsis>

<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionattribute')/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.reflectionattribute')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='ReflectionAttribute'])">
<xi:fallback/>
</xi:include>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionattribute')/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.reflectionattribute')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='ReflectionAttribute'])">
<xi:fallback/>
</xi:include>
</classsynopsis>
Expand Down
4 changes: 2 additions & 2 deletions reference/reflection/reflectionattribute/construct.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

<refsect1 role="description">
&reftitle.description;
<constructorsynopsis>
<constructorsynopsis role="ReflectionAttribute">
<modifier>private</modifier> <methodname>ReflectionAttribute::__construct</methodname>
<void />
<void/>
</constructorsynopsis>
</refsect1>

Expand Down
6 changes: 2 additions & 4 deletions reference/reflection/reflectionattribute/getarguments.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->

<refentry xml:id="reflectionattribute.getarguments" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>ReflectionAttribute::getArguments</refname>
Expand All @@ -9,9 +8,9 @@

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="ReflectionAttribute">
<modifier>public</modifier> <type>array</type><methodname>ReflectionAttribute::getArguments</methodname>
<void />
<void/>
</methodsynopsis>
<para>
Gets arguments passed to attribute.
Expand All @@ -32,7 +31,6 @@
</refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down
6 changes: 2 additions & 4 deletions reference/reflection/reflectionattribute/getname.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->

<refentry xml:id="reflectionattribute.getname" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>ReflectionAttribute::getName</refname>
Expand All @@ -9,9 +8,9 @@

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="ReflectionAttribute">
<modifier>public</modifier> <type>string</type><methodname>ReflectionAttribute::getName</methodname>
<void />
<void/>
</methodsynopsis>
<para>
Gets the attributes name.
Expand All @@ -32,7 +31,6 @@
</refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down
6 changes: 2 additions & 4 deletions reference/reflection/reflectionattribute/gettarget.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->

<refentry xml:id="reflectionattribute.gettarget" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>ReflectionAttribute::getTarget</refname>
Expand All @@ -9,9 +8,9 @@

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="ReflectionAttribute">
<modifier>public</modifier> <type>int</type><methodname>ReflectionAttribute::getTarget</methodname>
<void />
<void/>
</methodsynopsis>
<para>
Gets target of the attribute as bitmask.
Expand All @@ -35,7 +34,6 @@
</refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down
6 changes: 2 additions & 4 deletions reference/reflection/reflectionattribute/isrepeated.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->

<refentry xml:id="reflectionattribute.isrepeated" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>ReflectionAttribute::isRepeated</refname>
Expand All @@ -9,9 +8,9 @@

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="ReflectionAttribute">
<modifier>public</modifier> <type>bool</type><methodname>ReflectionAttribute::isRepeated</methodname>
<void />
<void/>
</methodsynopsis>
<para>
Returns whether the attribute of this name has been repeated on a code element.
Expand All @@ -32,7 +31,6 @@
</refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down
6 changes: 2 additions & 4 deletions reference/reflection/reflectionattribute/newinstance.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->

<refentry xml:id="reflectionattribute.newinstance" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>ReflectionAttribute::newInstance</refname>
Expand All @@ -9,9 +8,9 @@

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="ReflectionAttribute">
<modifier>public</modifier> <type>object</type><methodname>ReflectionAttribute::newInstance</methodname>
<void />
<void/>
</methodsynopsis>
<para>
Instantiates the attribute class represented by this ReflectionAttribute class and arguments.
Expand All @@ -31,7 +30,6 @@
</refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down
4 changes: 2 additions & 2 deletions reference/reflection/reflectionclass.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@
</fieldsynopsis>

<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionclass')/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.reflectionclass')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='ReflectionClass'])">
<xi:fallback/>
</xi:include>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionclass')/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.reflectionclass')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='ReflectionClass'])">
<xi:fallback/>
</xi:include>
</classsynopsis>
Expand Down
2 changes: 1 addition & 1 deletion reference/reflection/reflectionclass/construct.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<refsect1 role="description">
&reftitle.description;
<constructorsynopsis>
<constructorsynopsis role="ReflectionClass">
<modifier>public</modifier> <methodname>ReflectionClass::__construct</methodname>
<methodparam><type class="union"><type>object</type><type>string</type></type><parameter>objectOrClass</parameter></methodparam>
</constructorsynopsis>
Expand Down
2 changes: 1 addition & 1 deletion reference/reflection/reflectionclass/export.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="ReflectionClass">
<modifier>public</modifier> <modifier>static</modifier> <type>string</type><methodname>ReflectionClass::export</methodname>
<methodparam><type>mixed</type><parameter>argument</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>return</parameter><initializer>&false;</initializer></methodparam>
Expand Down
2 changes: 1 addition & 1 deletion reference/reflection/reflectionclass/getattributes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="ReflectionClass">
<modifier>public</modifier> <type>array</type><methodname>ReflectionClass::getAttributes</methodname>
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>name</parameter><initializer>&null;</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
Expand Down
4 changes: 1 addition & 3 deletions reference/reflection/reflectionclass/getconstant.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->

<refentry xml:id="reflectionclass.getconstant" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>ReflectionClass::getConstant</refname>
Expand All @@ -9,7 +8,7 @@

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="ReflectionClass">
<modifier>public</modifier> <type>mixed</type><methodname>ReflectionClass::getConstant</methodname>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
</methodsynopsis>
Expand Down Expand Up @@ -86,7 +85,6 @@ bool(false)
</refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down
2 changes: 1 addition & 1 deletion reference/reflection/reflectionclass/getconstants.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="ReflectionClass">
<modifier>public</modifier> <type>array</type><methodname>ReflectionClass::getConstants</methodname>
<methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>filter</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
Expand Down
2 changes: 1 addition & 1 deletion reference/reflection/reflectionclass/getconstructor.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="ReflectionClass">
<modifier>public</modifier> <type class="union"><type>ReflectionMethod</type><type>null</type></type><methodname>ReflectionClass::getConstructor</methodname>
<void/>
</methodsynopsis>
Expand Down
6 changes: 2 additions & 4 deletions reference/reflection/reflectionclass/getdefaultproperties.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->

<refentry xml:id="reflectionclass.getdefaultproperties" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>ReflectionClass::getDefaultProperties</refname>
Expand All @@ -9,9 +8,9 @@

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="ReflectionClass">
<modifier>public</modifier> <type>array</type><methodname>ReflectionClass::getDefaultProperties</methodname>
<void />
<void/>
</methodsynopsis>
<para>
Gets default properties from a class (including inherited properties).
Expand Down Expand Up @@ -98,7 +97,6 @@ array(5) {
</refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down
2 changes: 1 addition & 1 deletion reference/reflection/reflectionclass/getdoccomment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="ReflectionClass">
<modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ReflectionClass::getDocComment</methodname>
<void/>
</methodsynopsis>
Expand Down
2 changes: 1 addition & 1 deletion reference/reflection/reflectionclass/getendline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="ReflectionClass">
<modifier>public</modifier> <type class="union"><type>int</type><type>false</type></type><methodname>ReflectionClass::getEndLine</methodname>
<void/>
</methodsynopsis>
Expand Down
2 changes: 1 addition & 1 deletion reference/reflection/reflectionclass/getextension.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="ReflectionClass">
<modifier>public</modifier> <type class="union"><type>ReflectionExtension</type><type>null</type></type><methodname>ReflectionClass::getExtension</methodname>
<void/>
</methodsynopsis>
Expand Down
2 changes: 1 addition & 1 deletion reference/reflection/reflectionclass/getextensionname.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="ReflectionClass">
<modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ReflectionClass::getExtensionName</methodname>
<void/>
</methodsynopsis>
Expand Down
2 changes: 1 addition & 1 deletion reference/reflection/reflectionclass/getfilename.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="ReflectionClass">
<modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ReflectionClass::getFileName</methodname>
<void/>
</methodsynopsis>
Expand Down
6 changes: 2 additions & 4 deletions reference/reflection/reflectionclass/getinterfacenames.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->

<refentry xml:id="reflectionclass.getinterfacenames" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>ReflectionClass::getInterfaceNames</refname>
Expand All @@ -9,9 +8,9 @@

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="ReflectionClass">
<modifier>public</modifier> <type>array</type><methodname>ReflectionClass::getInterfaceNames</methodname>
<void />
<void/>
</methodsynopsis>
<para>
Get the interface names.
Expand Down Expand Up @@ -74,7 +73,6 @@ Array
</refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down
Loading