cvs: phpdoc /en/language/oop5 reflection.xml
| From: | Richard Quadling | Date: | Fri, 23 May 2008 14:28:55 +0000 |
| Subject: | cvs: phpdoc /en/language/oop5 reflection.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-1675@lists.php.net to get a copy of this message | ||
rquadling Fri May 23 14:28:55 2008 UTC
Modified files:
/phpdoc/en/language/oop5 reflection.xml
Log:
Added getPosition() to ReflectionParameter class definition.
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/oop5/reflection.xml?r1=1.34&r2=1.35&diff_format=u
Index: phpdoc/en/language/oop5/reflection.xml
diff -u phpdoc/en/language/oop5/reflection.xml:1.34 phpdoc/en/language/oop5/reflection.xml:1.35
--- phpdoc/en/language/oop5/reflection.xml:1.34 Tue Nov 13 13:10:55 2007
+++ phpdoc/en/language/oop5/reflection.xml Fri May 23 14:28:55 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.34 $ -->
+<!-- $Revision: 1.35 $ -->
<sect1 xml:id="language.oop5.reflection" xmlns="http://docbook.org/ns/docbook">
<title>Reflection</title>
<sect2 xml:id="language.oop5.reflection.toc">
@@ -298,6 +298,7 @@
public bool isOptional()
public bool isDefaultValueAvailable()
public mixed getDefaultValue()
+ public int getPosition()
}
?>
]]>
@@ -343,7 +344,7 @@
" Passed to by reference: %s\n".
" Is optional?: %s\n".
"}\n",
- $i,
+ $i, // $param->getPosition() can be used from PHP 5.2.3
$param->getName(),
var_export($param->getClass(), 1),
var_export($param->allowsNull(), 1),