bjori Tue Jul 4 15:33:32 2006 UTC
Modified files:
/php-src/ext/reflection php_reflection.c
Log:
Fix protos&arginfo
http://cvs.php.net/viewvc.cgi/php-src/ext/reflection/php_reflection.c?r1=1.237&r2=1.238&diff_format=u
Index: php-src/ext/reflection/php_reflection.c
diff -u php-src/ext/reflection/php_reflection.c:1.237
php-src/ext/reflection/php_reflection.c:1.238
--- php-src/ext/reflection/php_reflection.c:1.237 Sat Jun 24 18:53:51 2006
+++ php-src/ext/reflection/php_reflection.c Tue Jul 4 15:33:32 2006
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_reflection.c,v 1.237 2006/06/24 18:53:51 helly Exp $ */
+/* $Id: php_reflection.c,v 1.238 2006/07/04 15:33:32 bjori Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -2969,7 +2969,7 @@
}
/* }}} */
-/* {{{ proto public ReflectionMethod[] ReflectionClass::getMethods()
+/* {{{ proto public ReflectionMethod[] ReflectionClass::getMethods([long
$filter])
Returns an array of this class' methods */
ZEND_METHOD(reflection_class, getMethods)
{
@@ -3134,7 +3134,7 @@
}
/* }}} */
-/* {{{ proto public ReflectionProperty[] ReflectionClass::getProperties()
+/* {{{ proto public ReflectionProperty[] ReflectionClass::getProperties([long
$filter])
Returns an array of this class' properties */
ZEND_METHOD(reflection_class, getProperties)
{
@@ -3383,7 +3383,7 @@
}
/* }}} */
-/* {{{ proto public stdclass ReflectionClass::newInstanceArgs(array args)
+/* {{{ proto public stdclass ReflectionClass::newInstanceArgs([array args])
Returns an instance of this class */
ZEND_METHOD(reflection_class, newInstanceArgs)
{
@@ -4484,6 +4484,11 @@
ZEND_END_ARG_INFO()
static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_reflection_class_getMethods, 0, 0, 0)
+ ZEND_ARG_INFO(0, $filter)
+ZEND_END_ARG_INFO()
+
+static
ZEND_BEGIN_ARG_INFO(arginfo_reflection_class_hasProperty, 0)
ZEND_ARG_INFO(0, name)
ZEND_END_ARG_INFO()
@@ -4494,6 +4499,11 @@
ZEND_END_ARG_INFO()
static
+ZEND_BEGIN_ARG_INFO(arginfo_reflection_class_getProperties, 0, 0, 0)
+ ZEND_ARG_INFO(0, filter)
+ZEND_END_ARG_INFO()
+
+static
ZEND_BEGIN_ARG_INFO(arginfo_reflection_class_hasConstant, 0)
ZEND_ARG_INFO(0, name)
ZEND_END_ARG_INFO()
@@ -4514,7 +4524,7 @@
ZEND_END_ARG_INFO()
static
-ZEND_BEGIN_ARG_INFO(arginfo_reflection_class_newInstanceArgs, 0)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_reflection_class_newInstanceArgs, 0, 0, 0)
ZEND_ARG_ARRAY_INFO(0, args, 0)
ZEND_END_ARG_INFO()
@@ -4544,10 +4554,10 @@
ZEND_ME(reflection_class, getConstructor, NULL, 0)
ZEND_ME(reflection_class, hasMethod,
arginfo_reflection_class_hasMethod, 0)
ZEND_ME(reflection_class, getMethod,
arginfo_reflection_class_getMethod, 0)
- ZEND_ME(reflection_class, getMethods, NULL, 0)
+ ZEND_ME(reflection_class, getMethods,
arginfo_reflection_class_getMethods, 0)
ZEND_ME(reflection_class, hasProperty,
arginfo_reflection_class_hasProperty, 0)
ZEND_ME(reflection_class, getProperty,
arginfo_reflection_class_getProperty, 0)
- ZEND_ME(reflection_class, getProperties, NULL, 0)
+ ZEND_ME(reflection_class, getProperties,
arginfo_reflection_class_getProperties, 0)
ZEND_ME(reflection_class, hasConstant,
arginfo_reflection_class_hasConstant, 0)
ZEND_ME(reflection_class, getConstants, NULL, 0)
ZEND_ME(reflection_class, getConstant,
arginfo_reflection_class_getConstant, 0)
@@ -4808,7 +4818,7 @@
php_info_print_table_start();
php_info_print_table_header(2, "Reflection", "enabled");
- php_info_print_table_row(2, "Version", "$Id: php_reflection.c,v 1.237
2006/06/24 18:53:51 helly Exp $");
+ php_info_print_table_row(2, "Version", "$Id: php_reflection.c,v 1.238
2006/07/04 15:33:32 bjori Exp $");
php_info_print_table_end();
} /* }}} */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php