cvs: phpdoc-ja /reference/classobj/functions get-class.xml get-parent-class.xml

From: Date: Sun, 24 Jul 2005 03:39:32 +0000
Subject: cvs: phpdoc-ja /reference/classobj/functions get-class.xml get-parent-class.xml
Groups: php.doc.ja 
Request: Send a blank email to doc-ja+get-1058@lists.php.net to get a copy of this message
shimooka Sat Jul 23 23:39:32 2005 EDT Modified files: /phpdoc-ja/reference/classobj/functions get-class.xml get-parent-class.xml Log: translation updated http://cvs.php.net/diff.php/phpdoc-ja/reference/classobj/functions/get-class.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-ja/reference/classobj/functions/get-class.xml diff -u phpdoc-ja/reference/classobj/functions/get-class.xml:1.5 phpdoc-ja/reference/classobj/functions/get-class.xml:1.6 --- phpdoc-ja/reference/classobj/functions/get-class.xml:1.5 Wed May 4 13:16:54 2005 +++ phpdoc-ja/reference/classobj/functions/get-class.xml Sat Jul 23 23:39:30 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.7 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.8 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <refentry id="function.get-class"> <refnamediv> @@ -11,7 +11,7 @@ <title>説明</title> <methodsynopsis> <type>string</type><methodname>get_class</methodname> - <methodparam><type>object</type><parameter>obj</parameter></methodparam> + <methodparam choice="opt"><type>object</type><parameter>obj</parameter></methodparam> </methodsynopsis> <para> このクラスはオブジェクト<parameter>obj</parameter>がインスタンス @@ -27,9 +27,15 @@ そのオリジナルの表記でクラス名が返されます。 </simpara> </note> + <note> + <para> + PHP 5 以降、<parameter>obj</parameter> + はオブジェクトメソッドからコールされた場合は任意です。 + </para> + </note> <para> <example> - <title>Using <function>get_class</function></title> + <title><function>get_class</function> の使用例</title> <programlisting role="php"> <![CDATA[ <?php http://cvs.php.net/diff.php/phpdoc-ja/reference/classobj/functions/get-parent-class.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-ja/reference/classobj/functions/get-parent-class.xml diff -u phpdoc-ja/reference/classobj/functions/get-parent-class.xml:1.5 phpdoc-ja/reference/classobj/functions/get-parent-class.xml:1.6 --- phpdoc-ja/reference/classobj/functions/get-parent-class.xml:1.5 Wed May 4 13:16:54 2005 +++ phpdoc-ja/reference/classobj/functions/get-parent-class.xml Sat Jul 23 23:39:31 2005 @@ -11,7 +11,7 @@ <title>説明</title> <methodsynopsis> <type>string</type><methodname>get_parent_class</methodname> - <methodparam><type>mixed</type><parameter>obj</parameter></methodparam> + <methodparam choice="opt"><type>mixed</type><parameter>obj</parameter></methodparam> </methodsynopsis> <para> <parameter>obj</parameter>がオブジェクトの場合、 @@ -22,6 +22,12 @@ <parameter>obj</parameter>が文字列の場合、これを名前とするクラス の親クラスの名前を返します。この機能は、PHP 4.0.5で追加されました。 </para> + <note> + <para> + PHP 5 以降、<parameter>obj</parameter> + はオブジェクトメソッドからコールされた場合は任意です。 + </para> + </note> <para> <example> <title><function>get_parent_class</function> の使用例</title>

« previous php.doc.ja (#1058) next »