summaryrefslogtreecommitdiff
path: root/ext/dom/attr.c
diff options
context:
space:
mode:
authorSebastian Bergmann <sebastian@php.net>2008-02-04 15:22:59 +0000
committerSebastian Bergmann <sebastian@php.net>2008-02-04 15:22:59 +0000
commit00586196deaa269971d56e5b0fc63a59c28d7b86 (patch)
tree45ea9b65992ee9b1d4271ee57a764fcd2a2bab7c /ext/dom/attr.c
parenta9418da4fc71e65c7cb0c82896cddd813680dee4 (diff)
downloadphp-git-00586196deaa269971d56e5b0fc63a59c28d7b86.tar.gz
MFH: Add missing Reflection API metadata for DOM classes.
Diffstat (limited to 'ext/dom/attr.c')
-rw-r--r--ext/dom/attr.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/ext/dom/attr.c b/ext/dom/attr.c
index 449cc79311..dafdc0929b 100644
--- a/ext/dom/attr.c
+++ b/ext/dom/attr.c
@@ -30,6 +30,18 @@
#include "php_dom.h"
+/* {{{ arginfo */
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_attr_is_id, 0, 0, 0)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_attr_construct, 0, 0, 1)
+ ZEND_ARG_INFO(0, name)
+ ZEND_ARG_INFO(0, value)
+ZEND_END_ARG_INFO();
+/* }}} */
+
/*
* class DOMAttr extends DOMNode
*
@@ -38,8 +50,8 @@
*/
const zend_function_entry php_dom_attr_class_functions[] = {
- PHP_FALIAS(isId, dom_attr_is_id, NULL)
- PHP_ME(domattr, __construct, NULL, ZEND_ACC_PUBLIC)
+ PHP_FALIAS(isId, dom_attr_is_id, arginfo_dom_attr_is_id)
+ PHP_ME(domattr, __construct, arginfo_dom_attr_construct, ZEND_ACC_PUBLIC)
{NULL, NULL, NULL}
};