vrana Wed Jan 11 10:25:00 2006 UTC
Modified files:
/phpdoc/en/language/oop5 reflection.xml
Log:
ReflectionObject
export parameters
http://cvs.php.net/viewcvs.cgi/phpdoc/en/language/oop5/reflection.xml?r1=1.16&r2=1.17&diff_format=u
Index: phpdoc/en/language/oop5/reflection.xml
diff -u phpdoc/en/language/oop5/reflection.xml:1.16
phpdoc/en/language/oop5/reflection.xml:1.17
--- phpdoc/en/language/oop5/reflection.xml:1.16 Thu Sep 1 20:40:53 2005
+++ phpdoc/en/language/oop5/reflection.xml Wed Jan 11 10:24:59 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.16 $ -->
+<!-- $Revision: 1.17 $ -->
<sect1 id="language.oop5.reflection">
<title>Reflection</title>
<sect2 id="language.oop5.reflection.introduction">
@@ -135,7 +135,7 @@
final private __clone()
public object __construct(string name)
public string __toString()
- public static string export()
+ public static string export(string name, bool return)
public string getName()
public bool isInternal()
public bool isUserDefined()
@@ -144,7 +144,7 @@
public int getEndLine()
public string getDocComment()
public array getStaticVariables()
- public mixed invoke(mixed* args)
+ public mixed invoke(mixed args)
public mixed invokeArgs(array args)
public bool returnsReference()
public ReflectionParameter[] getParameters()
@@ -243,7 +243,7 @@
final private __clone()
public object __construct(string name)
public string __toString()
- public static string export()
+ public static string export(mixed function, mixed parameter, bool return)
public string getName()
public bool isPassedByReference()
public ReflectionClass getClass()
@@ -324,7 +324,7 @@
final private __clone()
public object __construct(string name)
public string __toString()
- public static string export()
+ public static string export(mixed class, bool return)
public string getName()
public bool isInternal()
public bool isUserDefined()
@@ -349,7 +349,7 @@
public bool isFinal()
public int getModifiers()
public bool isInstance(stdclass object)
- public stdclass newInstance(mixed* args)
+ public stdclass newInstance(mixed args)
public ReflectionClass getParentClass()
public bool isSubclassOf(ReflectionClass class)
public array getStaticProperties()
@@ -478,6 +478,29 @@
</note>
</sect2>
+ <sect2 id="language.oop5.reflection.reflectionobject">
+ <title><classname>ReflectionObject</classname></title>
+ <para>
+ The <classname>ReflectionObject</classname> class lets
+ you reverse-engineer objects.
+ </para>
+ <informalexample>
+ <programlisting role="php">
+<![CDATA[
+<?php
+class ReflectionObject extends ReflectionClass
+{
+ final private __clone()
+ public object __construct(mixed object)
+ public string __toString()
+ public static string export(mixed object, bool return)
+}
+?>
+]]>
+ </programlisting>
+ </informalexample>
+ </sect2>
+
<sect2 id="language.oop5.reflection.reflectionmethod">
<title><classname>ReflectionMethod</classname></title>
<para>
@@ -492,8 +515,8 @@
{
public __construct(mixed class, string name)
public string __toString()
- public static string export()
- public mixed invoke(stdclass object, mixed* args)
+ public static string export(mixed class, string name, bool return)
+ public mixed invoke(stdclass object, mixed args)
public mixed invokeArgs(stdclass object, array args)
public bool isFinal()
public bool isAbstract()
@@ -624,7 +647,7 @@
final private __clone()
public __construct(mixed class, string name)
public string __toString()
- public static string export()
+ public static string export(mixed class, string name, bool return)
public string getName()
public bool isPublic()
public bool isPrivate()
@@ -718,7 +741,7 @@
final private __clone()
public __construct(string name)
public string __toString()
- public static string export()
+ public static string export(string name, bool return)
public string getName()
public string getVersion()
public ReflectionFunction[] getFunctions()