vrana Mon Apr 3 15:31:22 2006 UTC
Modified files:
/phpdoc/en/language/oop5 reflection.xml
Log:
Mention getClass() and other ReflectionFunction methods (bug #36916)
http://cvs.php.net/viewcvs.cgi/phpdoc/en/language/oop5/reflection.xml?r1=1.18&r2=1.19&diff_format=u
Index: phpdoc/en/language/oop5/reflection.xml
diff -u phpdoc/en/language/oop5/reflection.xml:1.18
phpdoc/en/language/oop5/reflection.xml:1.19
--- phpdoc/en/language/oop5/reflection.xml:1.18 Sat Feb 18 20:23:31 2006
+++ phpdoc/en/language/oop5/reflection.xml Mon Apr 3 15:31:21 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.18 $ -->
+<!-- $Revision: 1.19 $ -->
<sect1 id="language.oop5.reflection">
<title>Reflection</title>
<sect2 id="language.oop5.reflection.introduction">
@@ -246,9 +246,13 @@
public static string export(mixed function, mixed parameter, bool return)
public string getName()
public bool isPassedByReference()
+ public ReflectionFunction getDeclaringFunction()
public ReflectionClass getDeclaringClass()
+ public ReflectionClass getClass()
public bool isArray()
public bool allowsNull()
+ public bool isPassedByReference()
+ public bool getPosition()
public bool isOptional()
public bool isDefaultValueAvailable()
public mixed getDefaultValue()
@@ -263,6 +267,8 @@
<function>isDefaultValueAvailable</function> and
<function>isOptional</function> were added in PHP 5.0.3,
while <function>isArray</function> was added in PHP 5.1.0.
+ <function>getDeclaringFunction</function> and
+ <function>getPosition</function> were added in PHP 5.1.3.
</para>
</note>
<para>