Skip to content
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
14 changes: 9 additions & 5 deletions reference/classobj/functions/get-class.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<term><parameter>object</parameter></term>
<listitem>
<para>
The tested object. This parameter may be omitted when inside a class.
The tested object.
</para>
<note>
<simpara>
Expand All @@ -44,10 +44,6 @@
Returns the name of the class of which <parameter>object</parameter> is an
instance.
</para>
<para>
If <parameter>object</parameter> is omitted when inside a class, the
name of that class is returned.
</para>
<para>
If the <parameter>object</parameter> is an instance of a class which exists
in a namespace, the qualified namespaced name of that class is returned.
Expand Down Expand Up @@ -78,6 +74,14 @@
</row>
</thead>
<tbody>
<row>
<entry>8.3.0</entry>
<entry>
Calling <function>get_class</function> without an argument now emits an
<constant>E_DEPRECATED</constant> warning;
previously, calling this function inside a class returned the name of that class.
</entry>
</row>
<row>
<entry>8.0.0</entry>
<entry>
Expand Down
14 changes: 9 additions & 5 deletions reference/classobj/functions/get-parent-class.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
<term><parameter>object_or_class</parameter></term>
<listitem>
<para>
The tested object or class name. This parameter is optional if called
from the object's method.
The tested object or class name.
</para>
</listitem>
</varlistentry>
Expand All @@ -41,9 +40,6 @@
If the object does not have a parent or the given class does not exist,
&false; will be returned.
</para>
<para>
If called without parameter outside object, this function returns &false;.
</para>
</refsect1>

<refsect1 role="changelog">
Expand All @@ -57,6 +53,14 @@
</row>
</thead>
<tbody>
<row>
<entry>8.3.0</entry>
<entry>
Calling <function>get_class</function> without an argument now emits an
Comment thread
saundefined marked this conversation as resolved.
<constant>E_DEPRECATED</constant> warning;
previously, calling this function inside a class returned the name of that class.
</entry>
</row>
<row>
<entry>8.0.0</entry>
<entry>
Expand Down