diff options
| author | Sebastian Bergmann <sebastian@php.net> | 2008-02-04 15:22:59 +0000 |
|---|---|---|
| committer | Sebastian Bergmann <sebastian@php.net> | 2008-02-04 15:22:59 +0000 |
| commit | 00586196deaa269971d56e5b0fc63a59c28d7b86 (patch) | |
| tree | 45ea9b65992ee9b1d4271ee57a764fcd2a2bab7c /ext/dom/characterdata.c | |
| parent | a9418da4fc71e65c7cb0c82896cddd813680dee4 (diff) | |
| download | php-git-00586196deaa269971d56e5b0fc63a59c28d7b86.tar.gz | |
MFH: Add missing Reflection API metadata for DOM classes.
Diffstat (limited to 'ext/dom/characterdata.c')
| -rw-r--r-- | ext/dom/characterdata.c | 42 |
1 files changed, 37 insertions, 5 deletions
diff --git a/ext/dom/characterdata.c b/ext/dom/characterdata.c index f626fa7c64..e84c631bc3 100644 --- a/ext/dom/characterdata.c +++ b/ext/dom/characterdata.c @@ -28,6 +28,38 @@ #include "php_dom.h" +/* {{{ arginfo */ +static +ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_characterdata_substring_data, 0, 0, 2) + ZEND_ARG_INFO(0, offset) + ZEND_ARG_INFO(0, count) +ZEND_END_ARG_INFO(); + +static +ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_characterdata_append_data, 0, 0, 1) + ZEND_ARG_INFO(0, arg) +ZEND_END_ARG_INFO(); + +static +ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_characterdata_insert_data, 0, 0, 2) + ZEND_ARG_INFO(0, offset) + ZEND_ARG_INFO(0, arg) +ZEND_END_ARG_INFO(); + +static +ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_characterdata_delete_data, 0, 0, 2) + ZEND_ARG_INFO(0, offset) + ZEND_ARG_INFO(0, count) +ZEND_END_ARG_INFO(); + +static +ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_characterdata_replace_data, 0, 0, 3) + ZEND_ARG_INFO(0, offset) + ZEND_ARG_INFO(0, count) + ZEND_ARG_INFO(0, arg) +ZEND_END_ARG_INFO(); +/* }}} */ + /* * class DOMCharacterData extends DOMNode * @@ -36,11 +68,11 @@ */ const zend_function_entry php_dom_characterdata_class_functions[] = { - PHP_FALIAS(substringData, dom_characterdata_substring_data, NULL) - PHP_FALIAS(appendData, dom_characterdata_append_data, NULL) - PHP_FALIAS(insertData, dom_characterdata_insert_data, NULL) - PHP_FALIAS(deleteData, dom_characterdata_delete_data, NULL) - PHP_FALIAS(replaceData, dom_characterdata_replace_data, NULL) + PHP_FALIAS(substringData, dom_characterdata_substring_data, arginfo_dom_characterdata_substring_data) + PHP_FALIAS(appendData, dom_characterdata_append_data, arginfo_dom_characterdata_append_data) + PHP_FALIAS(insertData, dom_characterdata_insert_data, arginfo_dom_characterdata_insert_data) + PHP_FALIAS(deleteData, dom_characterdata_delete_data, arginfo_dom_characterdata_delete_data) + PHP_FALIAS(replaceData, dom_characterdata_replace_data, arginfo_dom_characterdata_replace_data) {NULL, NULL, NULL} }; |
