mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-22 20:08:55 +00:00
54 lines
1.6 KiB
XML
54 lines
1.6 KiB
XML
![]() |
<?xml version="1.0" encoding="iso-8859-1"?>
|
||
|
<!-- splitted from ./en/functions/classobj.xml, last change in rev 1.4 -->
|
||
|
<refentry id="function.get-class">
|
||
|
<refnamediv>
|
||
|
<refname>get_class</refname>
|
||
|
<refpurpose>Returns the name of the class of an object</refpurpose>
|
||
|
</refnamediv>
|
||
|
<refsect1>
|
||
|
<title>Description</title>
|
||
|
<methodsynopsis>
|
||
|
<type>string</type><methodname>get_class</methodname>
|
||
|
<methodparam><type>object</type><parameter>obj</parameter></methodparam>
|
||
|
</methodsynopsis>
|
||
|
<para>
|
||
|
This function returns the name of the class of which the
|
||
|
object <parameter>obj</parameter> is an instance. Returns
|
||
|
&false; if <parameter>obj</parameter> is not an object.
|
||
|
</para>
|
||
|
<note>
|
||
|
<simpara>
|
||
|
<function>get_class</function> returns a user defined class name
|
||
|
in lowercase. A class defined in a PHP extension is returned
|
||
|
in its original notation.
|
||
|
</simpara>
|
||
|
</note>
|
||
|
<simpara>
|
||
|
See also <function>get_parent_class</function>,
|
||
|
<function>gettype</function>, and
|
||
|
<function>is_subclass_of</function>.
|
||
|
</simpara>
|
||
|
</refsect1>
|
||
|
</refentry>
|
||
|
|
||
|
<!-- Keep this comment at the end of the file
|
||
|
Local variables:
|
||
|
mode: sgml
|
||
|
sgml-omittag:t
|
||
|
sgml-shorttag:t
|
||
|
sgml-minimize-attributes:nil
|
||
|
sgml-always-quote-attributes:t
|
||
|
sgml-indent-step:1
|
||
|
sgml-indent-data:t
|
||
|
indent-tabs-mode:nil
|
||
|
sgml-parent-document:nil
|
||
|
sgml-default-dtd-file:"../../../../manual.ced"
|
||
|
sgml-exposed-tags:nil
|
||
|
sgml-local-catalogs:nil
|
||
|
sgml-local-ecat-files:nil
|
||
|
End:
|
||
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||
|
vim: et tw=78 syn=sgml
|
||
|
vi: ts=1 sw=1
|
||
|
-->
|