Document Object.get_class()/is_class() ignores class_name declaration

This commit is contained in:
Hugo Locurcio 2021-09-12 22:51:34 +02:00
parent 5f69218edc
commit a15847e5ca
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C

View file

@ -331,7 +331,8 @@
<method name="get_class" qualifiers="const"> <method name="get_class" qualifiers="const">
<return type="String" /> <return type="String" />
<description> <description>
Returns the object's class as a [String]. Returns the object's class as a [String]. See also [method is_class].
[b]Note:[/b] [method get_class] does not take [code]class_name[/code] declarations into account. If the object has a [code]class_name[/code] defined, the base class name will be returned instead.
</description> </description>
</method> </method>
<method name="get_incoming_connections" qualifiers="const"> <method name="get_incoming_connections" qualifiers="const">
@ -441,7 +442,8 @@
<return type="bool" /> <return type="bool" />
<argument index="0" name="class" type="String" /> <argument index="0" name="class" type="String" />
<description> <description>
Returns [code]true[/code] if the object inherits from the given [code]class[/code]. Returns [code]true[/code] if the object inherits from the given [code]class[/code]. See also [method get_class].
[b]Note:[/b] [method is_class] does not take [code]class_name[/code] declarations into account. If the object has a [code]class_name[/code] defined, [method is_class] will return [code]false[/code] for that name.
</description> </description>
</method> </method>
<method name="is_connected" qualifiers="const"> <method name="is_connected" qualifiers="const">