]> granicus.if.org Git - php/commitdiff
Add missing Reflection API metadata for DOM classes.
authorSebastian Bergmann <sebastian@php.net>
Mon, 4 Feb 2008 15:22:40 +0000 (15:22 +0000)
committerSebastian Bergmann <sebastian@php.net>
Mon, 4 Feb 2008 15:22:40 +0000 (15:22 +0000)
20 files changed:
ext/dom/attr.c
ext/dom/cdatasection.c
ext/dom/characterdata.c
ext/dom/comment.c
ext/dom/document.c
ext/dom/documentfragment.c
ext/dom/domconfiguration.c
ext/dom/domerrorhandler.c
ext/dom/domimplementation.c
ext/dom/domimplementationlist.c
ext/dom/domimplementationsource.c
ext/dom/domstringlist.c
ext/dom/element.c
ext/dom/entityreference.c
ext/dom/namednodemap.c
ext/dom/namelist.c
ext/dom/nodelist.c
ext/dom/processinginstruction.c
ext/dom/string_extend.c
ext/dom/text.c

index 9b62a4d545bbbf76ee320407525378a3ddd60776..c71cf51ca687c703d3d83f175c783714a414996b 100644 (file)
 #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}
 };
 
index 81ea61fe2d5c925b4d2d4536eedd0886a569bc86..cdae88cd2fcf9d33fec0c0a000edee788e876a46 100644 (file)
 #include "php_dom.h"
 
 
+/* {{{ arginfo */
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_cdatasection_construct, 0, 0, 1)
+       ZEND_ARG_INFO(0, value)
+ZEND_END_ARG_INFO();
+/* }}} */
+
 /*
 * class DOMCdataSection extends DOMText 
 *
@@ -36,7 +43,7 @@
 */
 
 const zend_function_entry php_dom_cdatasection_class_functions[] = {
-       PHP_ME(domcdatasection, __construct, NULL, ZEND_ACC_PUBLIC)
+       PHP_ME(domcdatasection, __construct, arginfo_dom_cdatasection_construct, ZEND_ACC_PUBLIC)
        {NULL, NULL, NULL}
 };
 
index e2020d85cae7312f8b31eb7446755374be3d1e0f..bb2d279acc9a4c807e0cc1e9437b202e44703cf0 100644 (file)
 #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 
 *
 */
 
 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}
 };
 
index efc0293eaf3587d1f9d03f1bdca2adf5181cd75d..1f70902cc8f18e78d36a642cb623122b0733413c 100644 (file)
 #include "php_dom.h"
 
 
+/* {{{ arginfo */
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_comment_construct, 0, 0, 0)
+       ZEND_ARG_INFO(0, value)
+ZEND_END_ARG_INFO();
+/* }}} */
+
 /*
 * class DOMComment extends DOMCharacterData 
 *
@@ -36,7 +43,7 @@
 */
 
 const zend_function_entry php_dom_comment_class_functions[] = {
-       PHP_ME(domcomment, __construct, NULL, ZEND_ACC_PUBLIC)
+       PHP_ME(domcomment, __construct, arginfo_dom_comment_construct, ZEND_ACC_PUBLIC)
        {NULL, NULL, NULL}
 };
 
index 3b295c91b41a332f73e7d08d09110ad292f50706..7efb5b25881f5eb3a1d0f5c63cec79a0de522b75 100644 (file)
@@ -43,6 +43,182 @@ struct _idsIterator {
 #define DOM_LOAD_STRING 0
 #define DOM_LOAD_FILE 1
 
+/* {{{ arginfo */
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_create_element, 0, 0, 1)
+       ZEND_ARG_INFO(0, tagName)
+       ZEND_ARG_INFO(0, value)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_create_document_fragment, 0, 0, 0)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_create_text_node, 0, 0, 1)
+       ZEND_ARG_INFO(0, data)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_create_comment, 0, 0, 1)
+       ZEND_ARG_INFO(0, data)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_create_cdatasection, 0, 0, 1)
+       ZEND_ARG_INFO(0, data)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_create_processing_instruction, 0, 0, 2)
+       ZEND_ARG_INFO(0, target)
+       ZEND_ARG_INFO(0, data)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_create_attribute, 0, 0, 1)
+       ZEND_ARG_INFO(0, name)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_create_entity_reference, 0, 0, 1)
+       ZEND_ARG_INFO(0, name)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_get_elements_by_tag_name, 0, 0, 1)
+       ZEND_ARG_INFO(0, tagName)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_import_node, 0, 0, 2)
+       ZEND_ARG_OBJ_INFO(0, importedNode, DOMNode, 0)
+       ZEND_ARG_INFO(0, deep)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_create_element_ns, 0, 0, 2)
+       ZEND_ARG_INFO(0, namespaceURI)
+       ZEND_ARG_INFO(0, qualifiedName)
+       ZEND_ARG_INFO(0, value)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_create_attribute_ns, 0, 0, 2)
+       ZEND_ARG_INFO(0, namespaceURI)
+       ZEND_ARG_INFO(0, qualifiedName)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_get_elements_by_tag_name_ns, 0, 0, 2)
+       ZEND_ARG_INFO(0, namespaceURI)
+       ZEND_ARG_INFO(0, localName)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_get_element_by_id, 0, 0, 1)
+       ZEND_ARG_INFO(0, elementId)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_adopt_node, 0, 0, 1)
+       ZEND_ARG_OBJ_INFO(0, source, DOMNode, 0)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_normalize_document, 0, 0, 0)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_rename_node, 0, 0, 3)
+       ZEND_ARG_OBJ_INFO(0, node, DOMNode, 0)
+       ZEND_ARG_INFO(0, namespaceURI)
+       ZEND_ARG_INFO(0, qualifiedName)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_load, 0, 0, 1)
+       ZEND_ARG_INFO(0, source)
+       ZEND_ARG_INFO(0, options)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_save, 0, 0, 1)
+       ZEND_ARG_INFO(0, file)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_loadxml, 0, 0, 1)
+       ZEND_ARG_INFO(0, source)
+       ZEND_ARG_INFO(0, options)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_savexml, 0, 0, 0)
+       ZEND_ARG_OBJ_INFO(0, node, DOMNode, 0)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_construct, 0, 0, 0)
+       ZEND_ARG_INFO(0, version)
+       ZEND_ARG_INFO(0, encoding)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_validate, 0, 0, 0)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_xinclude, 0, 0, 0)
+       ZEND_ARG_INFO(0, options)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_loadhtml, 0, 0, 1)
+       ZEND_ARG_INFO(0, source)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_loadhtmlfile, 0, 0, 1)
+       ZEND_ARG_INFO(0, source)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_savehtml, 0, 0, 0)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_savehtmlfile, 0, 0, 1)
+       ZEND_ARG_INFO(0, file)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_schema_validate_file, 0, 0, 1)
+       ZEND_ARG_INFO(0, filename)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_schema_validate_xml, 0, 0, 1)
+       ZEND_ARG_INFO(0, source)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_relaxNG_validate_file, 0, 0, 1)
+       ZEND_ARG_INFO(0, filename)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_relaxNG_validate_xml, 0, 0, 1)
+       ZEND_ARG_INFO(0, source)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_registernodeclass, 0, 0, 2)
+       ZEND_ARG_INFO(0, baseClass)
+       ZEND_ARG_INFO(0, extendedClass)
+ZEND_END_ARG_INFO();
+/* }}} */
+
 /*
 * class DOMDocument extends DOMNode 
 *
@@ -51,43 +227,43 @@ struct _idsIterator {
 */
 
 const zend_function_entry php_dom_document_class_functions[] = {
-       PHP_FALIAS(createElement, dom_document_create_element, NULL)
-       PHP_FALIAS(createDocumentFragment, dom_document_create_document_fragment, NULL)
-       PHP_FALIAS(createTextNode, dom_document_create_text_node, NULL)
-       PHP_FALIAS(createComment, dom_document_create_comment, NULL)
-       PHP_FALIAS(createCDATASection, dom_document_create_cdatasection, NULL)
-       PHP_FALIAS(createProcessingInstruction, dom_document_create_processing_instruction, NULL)
-       PHP_FALIAS(createAttribute, dom_document_create_attribute, NULL)
-       PHP_FALIAS(createEntityReference, dom_document_create_entity_reference, NULL)
-       PHP_FALIAS(getElementsByTagName, dom_document_get_elements_by_tag_name, NULL)
-       PHP_FALIAS(importNode, dom_document_import_node, NULL)
-       PHP_FALIAS(createElementNS, dom_document_create_element_ns, NULL)
-       PHP_FALIAS(createAttributeNS, dom_document_create_attribute_ns, NULL)
-       PHP_FALIAS(getElementsByTagNameNS, dom_document_get_elements_by_tag_name_ns, NULL)
-       PHP_FALIAS(getElementById, dom_document_get_element_by_id, NULL)
-       PHP_FALIAS(adoptNode, dom_document_adopt_node, NULL)
-       PHP_FALIAS(normalizeDocument, dom_document_normalize_document, NULL)
-       PHP_FALIAS(renameNode, dom_document_rename_node, NULL)
-       PHP_ME(domdocument, load, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_ALLOW_STATIC)
-       PHP_FALIAS(save, dom_document_save, NULL)
-       PHP_ME(domdocument, loadXML, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_ALLOW_STATIC)
-       PHP_FALIAS(saveXML, dom_document_savexml, NULL)
-       PHP_ME(domdocument, __construct, NULL, ZEND_ACC_PUBLIC)
-       PHP_FALIAS(validate, dom_document_validate, NULL)
-       PHP_FALIAS(xinclude, dom_document_xinclude, NULL)
+       PHP_FALIAS(createElement, dom_document_create_element, arginfo_dom_document_create_element)
+       PHP_FALIAS(createDocumentFragment, dom_document_create_document_fragment, arginfo_dom_document_create_document_fragment)
+       PHP_FALIAS(createTextNode, dom_document_create_text_node, arginfo_dom_document_create_text_node)
+       PHP_FALIAS(createComment, dom_document_create_comment, arginfo_dom_document_create_comment)
+       PHP_FALIAS(createCDATASection, dom_document_create_cdatasection, arginfo_dom_document_create_cdatasection)
+       PHP_FALIAS(createProcessingInstruction, dom_document_create_processing_instruction, arginfo_dom_document_create_processing_instruction)
+       PHP_FALIAS(createAttribute, dom_document_create_attribute, arginfo_dom_document_create_attribute)
+       PHP_FALIAS(createEntityReference, dom_document_create_entity_reference, arginfo_dom_document_create_entity_reference)
+       PHP_FALIAS(getElementsByTagName, dom_document_get_elements_by_tag_name, arginfo_dom_document_get_elements_by_tag_name)
+       PHP_FALIAS(importNode, dom_document_import_node, arginfo_dom_document_import_node)
+       PHP_FALIAS(createElementNS, dom_document_create_element_ns, arginfo_dom_document_create_element_ns)
+       PHP_FALIAS(createAttributeNS, dom_document_create_attribute_ns, arginfo_dom_document_create_attribute_ns)
+       PHP_FALIAS(getElementsByTagNameNS, dom_document_get_elements_by_tag_name_ns, arginfo_dom_document_get_elements_by_tag_name_ns)
+       PHP_FALIAS(getElementById, dom_document_get_element_by_id, arginfo_dom_document_get_element_by_id)
+       PHP_FALIAS(adoptNode, dom_document_adopt_node, arginfo_dom_document_adopt_node)
+       PHP_FALIAS(normalizeDocument, dom_document_normalize_document, arginfo_dom_document_normalize_document)
+       PHP_FALIAS(renameNode, dom_document_rename_node, arginfo_dom_document_rename_node)
+       PHP_ME(domdocument, load, arginfo_dom_document_load, ZEND_ACC_PUBLIC|ZEND_ACC_ALLOW_STATIC)
+       PHP_FALIAS(save, dom_document_save, arginfo_dom_document_save)
+       PHP_ME(domdocument, loadXML, arginfo_dom_document_loadxml, ZEND_ACC_PUBLIC|ZEND_ACC_ALLOW_STATIC)
+       PHP_FALIAS(saveXML, dom_document_savexml, arginfo_dom_document_savexml)
+       PHP_ME(domdocument, __construct, arginfo_dom_document_construct, ZEND_ACC_PUBLIC)
+       PHP_FALIAS(validate, dom_document_validate, arginfo_dom_document_validate)
+       PHP_FALIAS(xinclude, dom_document_xinclude, arginfo_dom_document_xinclude)
 #if defined(LIBXML_HTML_ENABLED)
-       PHP_ME(domdocument, loadHTML, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_ALLOW_STATIC)
-       PHP_ME(domdocument, loadHTMLFile, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_ALLOW_STATIC)
-       PHP_FALIAS(saveHTML, dom_document_save_html, NULL)
-       PHP_FALIAS(saveHTMLFile, dom_document_save_html_file, NULL)
+       PHP_ME(domdocument, loadHTML, arginfo_dom_document_loadhtml, ZEND_ACC_PUBLIC|ZEND_ACC_ALLOW_STATIC)
+       PHP_ME(domdocument, loadHTMLFile, arginfo_dom_document_loadhtmlfile, ZEND_ACC_PUBLIC|ZEND_ACC_ALLOW_STATIC)
+       PHP_FALIAS(saveHTML, dom_document_save_html, arginfo_dom_document_savehtml)
+       PHP_FALIAS(saveHTMLFile, dom_document_save_html_file, arginfo_dom_document_savehtmlfile)
 #endif  /* defined(LIBXML_HTML_ENABLED) */
 #if defined(LIBXML_SCHEMAS_ENABLED)
-       PHP_FALIAS(schemaValidate, dom_document_schema_validate_file, NULL)
-       PHP_FALIAS(schemaValidateSource, dom_document_schema_validate_xml, NULL)
-       PHP_FALIAS(relaxNGValidate, dom_document_relaxNG_validate_file, NULL)
-       PHP_FALIAS(relaxNGValidateSource, dom_document_relaxNG_validate_xml, NULL)
+       PHP_FALIAS(schemaValidate, dom_document_schema_validate_file, arginfo_dom_document_schema_validate_file)
+       PHP_FALIAS(schemaValidateSource, dom_document_schema_validate_xml, arginfo_dom_document_schema_validate_xml)
+       PHP_FALIAS(relaxNGValidate, dom_document_relaxNG_validate_file, arginfo_dom_document_relaxNG_validate_file)
+       PHP_FALIAS(relaxNGValidateSource, dom_document_relaxNG_validate_xml, arginfo_dom_document_relaxNG_validate_xml)
 #endif
-       PHP_ME(domdocument, registerNodeClass, NULL, ZEND_ACC_PUBLIC)
+       PHP_ME(domdocument, registerNodeClass, arginfo_dom_document_registernodeclass, ZEND_ACC_PUBLIC)
        {NULL, NULL, NULL}
 };
 
index ab79f76db9aa0024d40aec3083f80926fc4317b6..3b1c2bd0f0c14d86105f5a7c83802f9083a3ea1f 100644 (file)
 #include "php_dom.h"
 
 
+/* {{{ arginfo */
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_documentfragement_construct, 0, 0, 0)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_documentfragement_appendXML, 0, 0, 1)
+       ZEND_ARG_INFO(0, data)
+ZEND_END_ARG_INFO();
+/* }}} */
+
 /*
 * class DOMDocumentFragment extends DOMNode 
 *
@@ -36,8 +47,8 @@
 */
 
 const zend_function_entry php_dom_documentfragment_class_functions[] = {
-       PHP_ME(domdocumentfragment, __construct, NULL, ZEND_ACC_PUBLIC)
-       PHP_ME(domdocumentfragment, appendXML, NULL, ZEND_ACC_PUBLIC)
+       PHP_ME(domdocumentfragment, __construct, arginfo_dom_documentfragement_construct, ZEND_ACC_PUBLIC)
+       PHP_ME(domdocumentfragment, appendXML, arginfo_dom_documentfragement_appendXML, ZEND_ACC_PUBLIC)
        {NULL, NULL, NULL}
 };
 
index dce70d905f7f1821aaf3251215f34589694f0a9c..19ad8350913c891dc4bd58eab56ca098b4eed959 100644 (file)
 #include "php_dom.h"
 
 
+/* {{{ arginfo */
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_configuration_set_parameter, 0, 0, 2)
+       ZEND_ARG_INFO(0, name)
+       ZEND_ARG_OBJ_INFO(0, value, DOMUserData, 0)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_configuration_get_parameter, 0, 0, 0)
+       ZEND_ARG_INFO(0, name)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_configuration_can_set_parameter, 0, 0, 0)
+       ZEND_ARG_INFO(0, name)
+       ZEND_ARG_OBJ_INFO(0, value, DOMUserData, 0)
+ZEND_END_ARG_INFO();
+/* }}} */
+
 /*
 * class domdomconfiguration 
 *
@@ -36,9 +55,9 @@
 */
 
 const zend_function_entry php_dom_domconfiguration_class_functions[] = {
-       PHP_FALIAS(setParameter, dom_domconfiguration_set_parameter, NULL)
-       PHP_FALIAS(getParameter, dom_domconfiguration_get_parameter, NULL)
-       PHP_FALIAS(canSetParameter, dom_domconfiguration_can_set_parameter, NULL)
+       PHP_FALIAS(setParameter, dom_domconfiguration_set_parameter, arginfo_dom_configuration_set_parameter)
+       PHP_FALIAS(getParameter, dom_domconfiguration_get_parameter, arginfo_dom_configuration_get_parameter)
+       PHP_FALIAS(canSetParameter, dom_domconfiguration_can_set_parameter, arginfo_dom_configuration_can_set_parameter)
        {NULL, NULL, NULL}
 };
 
index 44e9af235815649fb2effc54368aa795bd3433eb..5a58c92392e8bfa73a9b5e6621308425aa767f8f 100644 (file)
 #include "php_dom.h"
 
 
+/* {{{ arginfo */
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_domerrorhandler_handle_error, 0, 0, 1)
+       ZEND_ARG_OBJ_INFO(0, error, DOMError, 0)
+ZEND_END_ARG_INFO();
+/* }}} */
+
 /*
 * class domerrorhandler 
 *
@@ -36,7 +43,7 @@
 */
 
 const zend_function_entry php_dom_domerrorhandler_class_functions[] = {
-       PHP_FALIAS(handleError, dom_domerrorhandler_handle_error, NULL)
+       PHP_FALIAS(handleError, dom_domerrorhandler_handle_error, arginfo_dom_domerrorhandler_handle_error)
        {NULL, NULL, NULL}
 };
 
index 81c7a9c80f06b39d754d5c767b6d508a8a2ef431..87e6bcdfd50900094e20b27e1f8a4900ebfe7ea7 100644 (file)
 #if HAVE_LIBXML && HAVE_DOM
 #include "php_dom.h"
 
+/* {{{ arginfo */
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_implementation_get_feature, 0, 0, 2)
+       ZEND_ARG_INFO(0, feature)
+       ZEND_ARG_INFO(0, version)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_implementation_has_feature, 0, 0, 0)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_implementation_create_documenttype, 0, 0, 3)
+       ZEND_ARG_INFO(0, qualifiedName)
+       ZEND_ARG_INFO(0, publicId)
+       ZEND_ARG_INFO(0, systemId)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_implementation_create_document, 0, 0, 3)
+       ZEND_ARG_INFO(0, namespaceURI)
+       ZEND_ARG_INFO(0, qualifiedName)
+       ZEND_ARG_OBJ_INFO(0, docType, DOMDocumentType, 0)
+ZEND_END_ARG_INFO();
+/* }}} */
+
 /*
 * class DOMImplementation 
 *
 */
 
 const zend_function_entry php_dom_domimplementation_class_functions[] = {
-       PHP_ME(domimplementation, getFeature, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_ALLOW_STATIC)
-       PHP_ME(domimplementation, hasFeature, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_ALLOW_STATIC)
-       PHP_ME(domimplementation, createDocumentType, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_ALLOW_STATIC)
-       PHP_ME(domimplementation, createDocument, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_ALLOW_STATIC)
+       PHP_ME(domimplementation, getFeature, arginfo_dom_implementation_get_feature, ZEND_ACC_PUBLIC|ZEND_ACC_ALLOW_STATIC)
+       PHP_ME(domimplementation, hasFeature, arginfo_dom_implementation_has_feature, ZEND_ACC_PUBLIC|ZEND_ACC_ALLOW_STATIC)
+       PHP_ME(domimplementation, createDocumentType, arginfo_dom_implementation_create_documenttype, ZEND_ACC_PUBLIC|ZEND_ACC_ALLOW_STATIC)
+       PHP_ME(domimplementation, createDocument, arginfo_dom_implementation_create_document, ZEND_ACC_PUBLIC|ZEND_ACC_ALLOW_STATIC)
        {NULL, NULL, NULL}
 };
 
index 6742ae3cf2be7860dba7a36be899053c45fcfe57..ab51895be3f117cc4cb6f311df0fa14eb2f1cb20 100644 (file)
 #include "php_dom.h"
 
 
+/* {{{ arginfo */
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_implementationlist_item, 0, 0, 1)
+       ZEND_ARG_INFO(0, index)
+ZEND_END_ARG_INFO();
+/* }}} */
+
 /*
 * class domimplementationlist 
 *
@@ -36,7 +43,7 @@
 */
 
 const zend_function_entry php_dom_domimplementationlist_class_functions[] = {
-       PHP_FALIAS(item, dom_domimplementationlist_item, NULL)
+       PHP_FALIAS(item, dom_domimplementationlist_item, arginfo_dom_implementationlist_item)
        {NULL, NULL, NULL}
 };
 
index 0bc9fd5973233234a848c7bccec34dbb2b7bfabf..15c592283eda88ea39eaca1924b8f267b7889106 100644 (file)
 #include "php_dom.h"
 
 
+/* {{{ arginfo */
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_implementationsource_getdomimplementation, 0, 0, 1)
+       ZEND_ARG_INFO(0, features)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_implementationsource_getdomimplementations, 0, 0, 1)
+       ZEND_ARG_INFO(0, features)
+ZEND_END_ARG_INFO();
+/* }}} */
+
 /*
 * class domimplementationsource 
 *
@@ -36,8 +48,8 @@
 */
 
 const zend_function_entry php_dom_domimplementationsource_class_functions[] = {
-       PHP_FALIAS(getDomimplementation, dom_domimplementationsource_get_domimplementation, NULL)
-       PHP_FALIAS(getDomimplementations, dom_domimplementationsource_get_domimplementations, NULL)
+       PHP_FALIAS(getDomimplementation, dom_domimplementationsource_get_domimplementation, arginfo_dom_implementationsource_getdomimplementation)
+       PHP_FALIAS(getDomimplementations, dom_domimplementationsource_get_domimplementations, arginfo_dom_implementationsource_getdomimplementations)
        {NULL, NULL, NULL}
 };
 
index 072639de0d1e8ed9ac8f239336d5491fa8be5838..2bbef9180439623ef7024c08cac2c6a282d7fea0 100644 (file)
 #include "php_dom.h"
 
 
+/* {{{ arginfo */
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_stringlist_item, 0, 0, 1)
+       ZEND_ARG_INFO(0, index)
+ZEND_END_ARG_INFO();
+/* }}} */
+
 /*
 * class domstringlist 
 *
@@ -36,7 +43,7 @@
 */
 
 const zend_function_entry php_dom_domstringlist_class_functions[] = {
-       PHP_FALIAS(item, dom_domstringlist_item, NULL)
+       PHP_FALIAS(item, dom_domstringlist_item, arginfo_dom_stringlist_item)
        {NULL, NULL, NULL}
 };
 
index b22b2727341a7f561b0c67221466db552483ce57..fd5b6df182efba2e3290f680649819e15bcf1581 100644 (file)
 #include "php_dom.h"
 
 
+/* {{{ arginfo */
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_element_get_attribute, 0, 0, 1)
+       ZEND_ARG_INFO(0, name)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_element_set_attribute, 0, 0, 2)
+       ZEND_ARG_INFO(0, name)
+       ZEND_ARG_INFO(0, value)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_element_remove_attribute, 0, 0, 1)
+       ZEND_ARG_INFO(0, name)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_element_get_attribute_node, 0, 0, 1)
+       ZEND_ARG_INFO(0, name)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_element_set_attribute_node, 0, 0, 1)
+       ZEND_ARG_OBJ_INFO(0, newAttr, DOMAttr, 0)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_element_remove_attribute_node, 0, 0, 1)
+       ZEND_ARG_OBJ_INFO(0, oldAttr, DOMAttr, 0)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_element_get_elements_by_tag_name, 0, 0, 1)
+       ZEND_ARG_INFO(0, name)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_element_get_attribute_ns, 0, 0, 2)
+       ZEND_ARG_INFO(0, namespaceURI)
+       ZEND_ARG_INFO(0, localName)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_element_set_attribute_ns, 0, 0, 3)
+       ZEND_ARG_INFO(0, namespaceURI)
+       ZEND_ARG_INFO(0, qualifiedName)
+       ZEND_ARG_INFO(0, value)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_element_remove_attribute_ns, 0, 0, 2)
+       ZEND_ARG_INFO(0, namespaceURI)
+       ZEND_ARG_INFO(0, localName)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_element_get_attribute_node_ns, 0, 0, 2)
+       ZEND_ARG_INFO(0, namespaceURI)
+       ZEND_ARG_INFO(0, localName)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_element_set_attribute_node_ns, 0, 0, 1)
+       ZEND_ARG_OBJ_INFO(0, newAttr, DOMAttr, 0)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_element_get_elements_by_tag_name_ns, 0, 0, 2)
+       ZEND_ARG_INFO(0, namespaceURI)
+       ZEND_ARG_INFO(0, localName)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_element_has_attribute, 0, 0, 1)
+       ZEND_ARG_INFO(0, name)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_element_has_attribute_ns, 0, 0, 2)
+       ZEND_ARG_INFO(0, namespaceURI)
+       ZEND_ARG_INFO(0, localName)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_element_set_id_attribute, 0, 0, 2)
+       ZEND_ARG_INFO(0, name)
+       ZEND_ARG_INFO(0, isId)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_element_set_id_attribute_ns, 0, 0, 3)
+       ZEND_ARG_INFO(0, namespaceURI)
+       ZEND_ARG_INFO(0, localName)
+       ZEND_ARG_INFO(0, isId)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_element_set_id_attribute_node, 0, 0, 2)
+       ZEND_ARG_OBJ_INFO(0, attr, DOMAttr, 0)
+       ZEND_ARG_INFO(0, isId)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_element_construct, 0, 0, 1)
+       ZEND_ARG_INFO(0, name)
+       ZEND_ARG_INFO(0, value)
+       ZEND_ARG_INFO(0, uri)
+ZEND_END_ARG_INFO();
+/* }}} */
+
 /*
 * class DOMElement extends DOMNode 
 *
 */
 
 const zend_function_entry php_dom_element_class_functions[] = {
-       PHP_FALIAS(getAttribute, dom_element_get_attribute, NULL)
-       PHP_FALIAS(setAttribute, dom_element_set_attribute, NULL)
-       PHP_FALIAS(removeAttribute, dom_element_remove_attribute, NULL)
-       PHP_FALIAS(getAttributeNode, dom_element_get_attribute_node, NULL)
-       PHP_FALIAS(setAttributeNode, dom_element_set_attribute_node, NULL)
-       PHP_FALIAS(removeAttributeNode, dom_element_remove_attribute_node, NULL)
-       PHP_FALIAS(getElementsByTagName, dom_element_get_elements_by_tag_name, NULL)
-       PHP_FALIAS(getAttributeNS, dom_element_get_attribute_ns, NULL)
-       PHP_FALIAS(setAttributeNS, dom_element_set_attribute_ns, NULL)
-       PHP_FALIAS(removeAttributeNS, dom_element_remove_attribute_ns, NULL)
-       PHP_FALIAS(getAttributeNodeNS, dom_element_get_attribute_node_ns, NULL)
-       PHP_FALIAS(setAttributeNodeNS, dom_element_set_attribute_node_ns, NULL)
-       PHP_FALIAS(getElementsByTagNameNS, dom_element_get_elements_by_tag_name_ns, NULL)
-       PHP_FALIAS(hasAttribute, dom_element_has_attribute, NULL)
-       PHP_FALIAS(hasAttributeNS, dom_element_has_attribute_ns, NULL)
-       PHP_FALIAS(setIdAttribute, dom_element_set_id_attribute, NULL)
-       PHP_FALIAS(setIdAttributeNS, dom_element_set_id_attribute_ns, NULL)
-       PHP_FALIAS(setIdAttributeNode, dom_element_set_id_attribute_node, NULL)
-       PHP_ME(domelement, __construct, NULL, ZEND_ACC_PUBLIC)
+       PHP_FALIAS(getAttribute, dom_element_get_attribute, arginfo_dom_element_get_attribute)
+       PHP_FALIAS(setAttribute, dom_element_set_attribute, arginfo_dom_element_set_attribute)
+       PHP_FALIAS(removeAttribute, dom_element_remove_attribute, arginfo_dom_element_remove_attribute)
+       PHP_FALIAS(getAttributeNode, dom_element_get_attribute_node, arginfo_dom_element_get_attribute_node)
+       PHP_FALIAS(setAttributeNode, dom_element_set_attribute_node, arginfo_dom_element_set_attribute_node)
+       PHP_FALIAS(removeAttributeNode, dom_element_remove_attribute_node, arginfo_dom_element_remove_attribute_node)
+       PHP_FALIAS(getElementsByTagName, dom_element_get_elements_by_tag_name, arginfo_dom_element_get_elements_by_tag_name)
+       PHP_FALIAS(getAttributeNS, dom_element_get_attribute_ns, arginfo_dom_element_get_attribute_ns)
+       PHP_FALIAS(setAttributeNS, dom_element_set_attribute_ns, arginfo_dom_element_set_attribute_ns)
+       PHP_FALIAS(removeAttributeNS, dom_element_remove_attribute_ns, arginfo_dom_element_remove_attribute_ns)
+       PHP_FALIAS(getAttributeNodeNS, dom_element_get_attribute_node_ns, arginfo_dom_element_get_attribute_node_ns)
+       PHP_FALIAS(setAttributeNodeNS, dom_element_set_attribute_node_ns, arginfo_dom_element_set_attribute_node_ns)
+       PHP_FALIAS(getElementsByTagNameNS, dom_element_get_elements_by_tag_name_ns, arginfo_dom_element_get_elements_by_tag_name_ns)
+       PHP_FALIAS(hasAttribute, dom_element_has_attribute, arginfo_dom_element_has_attribute)
+       PHP_FALIAS(hasAttributeNS, dom_element_has_attribute_ns, arginfo_dom_element_has_attribute_ns)
+       PHP_FALIAS(setIdAttribute, dom_element_set_id_attribute, arginfo_dom_element_set_id_attribute)
+       PHP_FALIAS(setIdAttributeNS, dom_element_set_id_attribute_ns, arginfo_dom_element_set_id_attribute_ns)
+       PHP_FALIAS(setIdAttributeNode, dom_element_set_id_attribute_node, arginfo_dom_element_set_id_attribute_node)
+       PHP_ME(domelement, __construct, arginfo_dom_element_construct, ZEND_ACC_PUBLIC)
        {NULL, NULL, NULL}
 };
 
index 01794e2e121bfcd16da4208b3ae9957a6e39ed2e..b06407479d0e693d0e0cb8802df47fb16fba64e5 100644 (file)
 #include "php_dom.h"
 
 
+/* {{{ arginfo */
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_entityreference_construct, 0, 0, 1)
+       ZEND_ARG_INFO(0, name)
+ZEND_END_ARG_INFO();
+/* }}} */
+
 /*
 * class DOMEntityReference extends DOMNode 
 *
@@ -36,7 +43,7 @@
 */
 
 const zend_function_entry php_dom_entityreference_class_functions[] = {
-       PHP_ME(domentityreference, __construct, NULL, ZEND_ACC_PUBLIC)
+       PHP_ME(domentityreference, __construct, arginfo_dom_entityreference_construct, ZEND_ACC_PUBLIC)
        {NULL, NULL, NULL}
 };
 
index b716c5a91dc60d094b58b89198878202c5b5e154..3cc603d41489c01f0528cd16b03134eecef66c9d 100644 (file)
 #include "php_dom.h"
 
 
+/* {{{ arginfo */
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_namednodemap_get_named_item, 0, 0, 1)
+       ZEND_ARG_INFO(0, name)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_namednodemap_set_named_item, 0, 0, 1)
+       ZEND_ARG_OBJ_INFO(0, arg, DOMNode, 0)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_namednodemap_remove_named_item, 0, 0, 0)
+       ZEND_ARG_INFO(0, name)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_namednodemap_item, 0, 0, 0)
+       ZEND_ARG_INFO(0, index)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_namednodemap_get_named_item_ns, 0, 0, 0)
+       ZEND_ARG_INFO(0, namespaceURI)
+       ZEND_ARG_INFO(0, localName)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_namednodemap_set_named_item_ns, 0, 0, 0)
+       ZEND_ARG_OBJ_INFO(0, arg, DOMNode, 0)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_namednodemap_remove_named_item_ns, 0, 0, 0)
+       ZEND_ARG_INFO(0, namespaceURI)
+       ZEND_ARG_INFO(0, localName)
+ZEND_END_ARG_INFO();
+/* }}} */
+
 /*
 * class DOMNamedNodeMap 
 *
 */
 
 const zend_function_entry php_dom_namednodemap_class_functions[] = {
-       PHP_FALIAS(getNamedItem, dom_namednodemap_get_named_item, NULL)
-       PHP_FALIAS(setNamedItem, dom_namednodemap_set_named_item, NULL)
-       PHP_FALIAS(removeNamedItem, dom_namednodemap_remove_named_item, NULL)
-       PHP_FALIAS(item, dom_namednodemap_item, NULL)
-       PHP_FALIAS(getNamedItemNS, dom_namednodemap_get_named_item_ns, NULL)
-       PHP_FALIAS(setNamedItemNS, dom_namednodemap_set_named_item_ns, NULL)
-       PHP_FALIAS(removeNamedItemNS, dom_namednodemap_remove_named_item_ns, NULL)
+       PHP_FALIAS(getNamedItem, dom_namednodemap_get_named_item, arginfo_dom_namednodemap_get_named_item)
+       PHP_FALIAS(setNamedItem, dom_namednodemap_set_named_item, arginfo_dom_namednodemap_set_named_item)
+       PHP_FALIAS(removeNamedItem, dom_namednodemap_remove_named_item, arginfo_dom_namednodemap_remove_named_item)
+       PHP_FALIAS(item, dom_namednodemap_item, arginfo_dom_namednodemap_item)
+       PHP_FALIAS(getNamedItemNS, dom_namednodemap_get_named_item_ns, arginfo_dom_namednodemap_get_named_item_ns)
+       PHP_FALIAS(setNamedItemNS, dom_namednodemap_set_named_item_ns, arginfo_dom_namednodemap_set_named_item_ns)
+       PHP_FALIAS(removeNamedItemNS, dom_namednodemap_remove_named_item_ns, arginfo_dom_namednodemap_remove_named_item_ns)
        {NULL, NULL, NULL}
 };
 
index ace6bc9842b68586ed01bb97e59dd9f12d92936d..60b375fa318f6c17f4045f66aca7712f94e76143 100644 (file)
 #include "php_dom.h"
 
 
+/* {{{ arginfo */
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_namelist_get_name, 0, 0, 1)
+       ZEND_ARG_INFO(0, index)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_namelist_get_namespace_uri, 0, 0, 1)
+       ZEND_ARG_INFO(0, index)
+ZEND_END_ARG_INFO();
+/* }}} */
+
 /*
 * class DOMNameList 
 *
@@ -36,8 +48,8 @@
 */
 
 const zend_function_entry php_dom_namelist_class_functions[] = {
-       PHP_FALIAS(getName, dom_namelist_get_name, NULL)
-       PHP_FALIAS(getNamespaceURI, dom_namelist_get_namespace_uri, NULL)
+       PHP_FALIAS(getName, dom_namelist_get_name, arginfo_dom_namelist_get_name)
+       PHP_FALIAS(getNamespaceURI, dom_namelist_get_namespace_uri, arginfo_dom_namelist_get_namespace_uri)
        {NULL, NULL, NULL}
 };
 
index 0db671bdae9e55a7a6d9ae8705a30b5f8d7f7714..f8b787869edf04493f5e24b0fc6159feee683d44 100644 (file)
 #include "php_dom.h"
 
 
+/* {{{ arginfo */
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_nodelist_item, 0, 0, 1)
+       ZEND_ARG_INFO(0, index)
+ZEND_END_ARG_INFO();
+/* }}} */
+
 /*
 * class DOMNodeList 
 *
@@ -36,7 +43,7 @@
 */
 
 const zend_function_entry php_dom_nodelist_class_functions[] = {
-       PHP_FALIAS(item, dom_nodelist_item, NULL)
+       PHP_FALIAS(item, dom_nodelist_item, arginfo_dom_nodelist_item)
        {NULL, NULL, NULL}
 };
 
index 39e1b556992e9221d22d04964d271219ef8884f1..8070bd386c8e25bfe696bb62bc6c9d5ef532211d 100644 (file)
 #include "php_dom.h"
 
 
+/* {{{ arginfo */
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_processinginstruction_construct, 0, 0, 1)
+       ZEND_ARG_INFO(0, name)
+       ZEND_ARG_INFO(0, value)
+ZEND_END_ARG_INFO();
+/* }}} */
+
 /*
 * class DOMProcessingInstruction extends DOMNode 
 *
@@ -36,7 +44,7 @@
 */
 
 const zend_function_entry php_dom_processinginstruction_class_functions[] = {
-       PHP_ME(domprocessinginstruction, __construct, NULL, ZEND_ACC_PUBLIC)
+       PHP_ME(domprocessinginstruction, __construct, arginfo_dom_processinginstruction_construct, ZEND_ACC_PUBLIC)
        {NULL, NULL, NULL}
 };
 
index 54b4ebb24f1899ea5002b2c504fa6e7ac7039050..bfb67ab15a8311904614388765028c44235e78f5 100644 (file)
 #include "php_dom.h"
 
 
+/* {{{ arginfo */
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_string_extend_find_offset16, 0, 0, 1)
+       ZEND_ARG_INFO(0, offset32)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_string_extend_find_offset32, 0, 0, 1)
+       ZEND_ARG_INFO(0, offset16)
+ZEND_END_ARG_INFO();
+/* }}} */
+
 /*
 * class domstringextend 
 *
@@ -36,8 +48,8 @@
 */
 
 const zend_function_entry php_dom_string_extend_class_functions[] = {
-       PHP_FALIAS(findOffset16, dom_string_extend_find_offset16, NULL)
-       PHP_FALIAS(findOffset32, dom_string_extend_find_offset32, NULL)
+       PHP_FALIAS(findOffset16, dom_string_extend_find_offset16, arginfo_dom_string_extend_find_offset16)
+       PHP_FALIAS(findOffset32, dom_string_extend_find_offset32, arginfo_dom_string_extend_find_offset32)
        {NULL, NULL, NULL}
 };
 
index af2b41cab18c7cb9e052f02dc9aad4509302afd3..1282051b1c42dfd20e88fe8e52b638e3b1894fe7 100644 (file)
 #include "php_dom.h"
 #include "dom_ce.h"
 
+/* {{{ arginfo */
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_text_split_text, 0, 0, 1)
+       ZEND_ARG_INFO(0, offset)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_text_is_whitespace_in_element_content, 0, 0, 0)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_text_replace_whole_text, 0, 0, 1)
+       ZEND_ARG_INFO(0, content)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_text_construct, 0, 0, 0)
+       ZEND_ARG_INFO(0, value)
+ZEND_END_ARG_INFO();
+/* }}} */
+
 /*
 * class DOMText extends DOMCharacterData 
 *
 */
 
 const zend_function_entry php_dom_text_class_functions[] = {
-       PHP_FALIAS(splitText, dom_text_split_text, NULL)
-       PHP_FALIAS(isWhitespaceInElementContent, dom_text_is_whitespace_in_element_content, NULL)
-       PHP_FALIAS(isElementContentWhitespace, dom_text_is_whitespace_in_element_content, NULL)
-       PHP_FALIAS(replaceWholeText, dom_text_replace_whole_text, NULL)
-       PHP_ME(domtext, __construct, NULL, ZEND_ACC_PUBLIC)
+       PHP_FALIAS(splitText, dom_text_split_text, arginfo_dom_text_split_text)
+       PHP_FALIAS(isWhitespaceInElementContent, dom_text_is_whitespace_in_element_content, arginfo_dom_text_is_whitespace_in_element_content)
+       PHP_FALIAS(isElementContentWhitespace, dom_text_is_whitespace_in_element_content, arginfo_dom_text_is_whitespace_in_element_content)
+       PHP_FALIAS(replaceWholeText, dom_text_replace_whole_text, arginfo_dom_text_replace_whole_text)
+       PHP_ME(domtext, __construct, arginfo_dom_text_construct, ZEND_ACC_PUBLIC)
        {NULL, NULL, NULL}
 };