reference/classobj/functions/get-parent-class.xml
7cec82fec28b339913fe98e990e7b01f4bb97476
...
...
@@ -23,8 +23,7 @@
23
23
<term><parameter>object_or_class</parameter></term>
24
24
<listitem>
25
25
<para>
26
-
The tested object or class name. This parameter is optional if called
27
-
from the object's method.
26
+
The tested object or class name.
28
27
</para>
29
28
</listitem>
30
29
</varlistentry>
...
...
@@ -37,13 +36,9 @@
37
36
Returns the name of the parent class of the class of which
38
37
<parameter>object_or_class</parameter> is an instance or the name.
39
38
</para>
40
-
<note>
41
-
<para>
42
-
If the object does not have a parent or the class given does not exist &false; will be returned.
43
-
</para>
44
-
</note>
45
39
<para>
46
-
If called without parameter outside object, this function returns &false;.
40
+
If the object does not have a parent or the given class does not exist,
41
+
&false; will be returned.
47
42
</para>
48
43
</refsect1>
49
44

...
...
@@ -59,6 +54,14 @@
59
54
</thead>
60
55
<tbody>
61
56
<row>
57
+
<entry>8.3.0</entry>
58
+
<entry>
59
+
Calling <function>get_parent_class</function> without an argument now emits an
60
+
<constant>E_DEPRECATED</constant> warning;
61
+
previously, calling this function inside a class returned the name of that class.
62
+
</entry>
63
+
</row>
64
+
<row>
62
65
<entry>8.0.0</entry>
63
66
<entry>
64
67
The <parameter>object_or_class</parameter> parameter now only accepts objects or valid class names.
65
68