cvs: phpdoc-pl /reference/classobj/functions get-parent-class.xml
| From: | Leszek Krupinski | Date: | Tue, 18 Apr 2006 08:16:11 +0000 |
| Subject: | cvs: phpdoc-pl /reference/classobj/functions get-parent-class.xml | ||
| Groups: | php.doc.pl | ||
| Request: | Send a blank email to doc-pl+get-894@lists.php.net to get a copy of this message | ||
leszek Tue Apr 18 08:16:11 2006 UTC
Modified files:
/phpdoc-pl/reference/classobj/functions get-parent-class.xml
Log:
[leszek] - updated to EN 1.8
http://cvs.php.net/viewcvs.cgi/phpdoc-pl/reference/classobj/functions/get-parent-class.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc-pl/reference/classobj/functions/get-parent-class.xml
diff -u phpdoc-pl/reference/classobj/functions/get-parent-class.xml:1.5
phpdoc-pl/reference/classobj/functions/get-parent-class.xml:1.6
--- phpdoc-pl/reference/classobj/functions/get-parent-class.xml:1.5 Sun Mar 13 01:03:16 2005
+++ phpdoc-pl/reference/classobj/functions/get-parent-class.xml Tue Apr 18 08:16:11 2006
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.6 Maintainer: dombal Status: Ready -->
-<!-- $Revision: 1.5 $ -->
+<!-- EN-Revision: 1.8 Maintainer: dombal Status: Ready -->
+<!-- $Revision: 1.6 $ -->
<refentry id="function.get-parent-class">
<refnamediv>
<refname>get_parent_class</refname>
@@ -10,7 +10,7 @@
<title>Opis</title>
<methodsynopsis>
<type>string</type><methodname>get_parent_class</methodname>
-
<methodparam><type>mixed</type><parameter>obiekt</parameter></methodparam>
+ <methodparam
choice="opt"><type>mixed</type><parameter>obiekt</parameter></methodparam>
</methodsynopsis>
<para>
Je¿eli <parameter>obiekt</parameter> jest obiektem, zwraca nazwê klasy
@@ -21,6 +21,14 @@
nazwê klasy przodka klasy o tej nazwie. Ta funkcjonalno¶æ zosta³a dodana
w PHP 4.0.5.
</para>
+ <note>
+ <para>
+ Od PHP 5, argument <parameter>obiekt</parameter> jest opcjonalny, je¶li
+ funkcja zosta³a wywo³ana z wnêtrza metody obiektu. Je¶li zostanie
+ wywo³ana bez argumentu spoza metody, zwrócona zostanie warto¶æ &false;
+ (lub &null; razem z ostrze¿eniem w wersjach starszych ni¿ PHP 5.1.0).
+ </para>
+ </note>
<para>
<example>
<title>Przyk³ad u¿ycia
<function>get_parent_class</function></title>