summaryrefslogtreecommitdiff
path: root/ext/domxml/php_domxml.h
diff options
context:
space:
mode:
authorUwe Steinmann <steinm@php.net>2001-03-20 15:01:13 +0000
committerUwe Steinmann <steinm@php.net>2001-03-20 15:01:13 +0000
commit9fc59ce735195c8c08b104373c7497d65484a8ac (patch)
treeb272ddb8f1bb576a8819656586938af2dec1f70c /ext/domxml/php_domxml.h
parenta2ff136c8e98d52e0c8b2dbf4e136ee291a5c61a (diff)
downloadphp-git-9fc59ce735195c8c08b104373c7497d65484a8ac.tar.gz
- complete rewrite of domxml module.
It is now mostly conform to DOM Level 2 though some classes and methods are still missing
Diffstat (limited to 'ext/domxml/php_domxml.h')
-rw-r--r--ext/domxml/php_domxml.h78
1 files changed, 67 insertions, 11 deletions
diff --git a/ext/domxml/php_domxml.h b/ext/domxml/php_domxml.h
index fabd32d57b..6c4bb0a271 100644
--- a/ext/domxml/php_domxml.h
+++ b/ext/domxml/php_domxml.h
@@ -35,6 +35,7 @@ extern zend_module_entry domxml_module_entry;
/* directory functions */
extern PHP_MINIT_FUNCTION(domxml);
+extern PHP_RINIT_FUNCTION(domxml);
extern PHP_MINFO_FUNCTION(domxml);
PHP_FUNCTION(xmldoc);
PHP_FUNCTION(xmldocfile);
@@ -42,25 +43,80 @@ PHP_FUNCTION(xmltree);
PHP_FUNCTION(domxml_new_xmldoc);
/* Class Document methods */
-PHP_FUNCTION(domxml_root);
+PHP_FUNCTION(domxml_doc_doctype);
+PHP_FUNCTION(domxml_doc_implementation);
+PHP_FUNCTION(domxml_doc_document_element);
+PHP_FUNCTION(domxml_doc_create_element);
+PHP_FUNCTION(domxml_doc_create_text_node);
+PHP_FUNCTION(domxml_doc_create_comment);
+PHP_FUNCTION(domxml_doc_create_processing_instruction);
+PHP_FUNCTION(domxml_doc_create_attribute);
PHP_FUNCTION(domxml_add_root);
PHP_FUNCTION(domxml_intdtd);
PHP_FUNCTION(domxml_dumpmem);
+/* Class DocumentType methods */
+PHP_FUNCTION(domxml_doctype_name);
+PHP_FUNCTION(domxml_doctype_entities);
+PHP_FUNCTION(domxml_doctype_notations);
+PHP_FUNCTION(domxml_doctype_public_id);
+PHP_FUNCTION(domxml_doctype_system_id);
+PHP_FUNCTION(domxml_doctype_internal_subset);
+
/* Class Node methods */
-PHP_FUNCTION(domxml_attributes);
-PHP_FUNCTION(domxml_get_attribute);
-PHP_FUNCTION(domxml_set_attribute);
-PHP_FUNCTION(domxml_children);
-PHP_FUNCTION(domxml_last_child);
-PHP_FUNCTION(domxml_parent);
+PHP_FUNCTION(domxml_node_attributes);
+PHP_FUNCTION(domxml_node_children);
+PHP_FUNCTION(domxml_node_first_child);
+PHP_FUNCTION(domxml_node_last_child);
+PHP_FUNCTION(domxml_node_next_sibling);
+PHP_FUNCTION(domxml_node_previous_sibling);
+PHP_FUNCTION(domxml_node_owner_document);
+PHP_FUNCTION(domxml_node_insert_before);
+PHP_FUNCTION(domxml_node_append_child);
+PHP_FUNCTION(domxml_node_add_child);
+PHP_FUNCTION(domxml_node_has_attributes);
+PHP_FUNCTION(domxml_node_has_child_nodes);
+PHP_FUNCTION(domxml_node_parent);
+PHP_FUNCTION(domxml_node_prefix);
PHP_FUNCTION(domxml_node);
-PHP_FUNCTION(domxml_unlink_node);
-PHP_FUNCTION(domxml_new_child);
-PHP_FUNCTION(domxml_set_content);
+PHP_FUNCTION(domxml_node_unlink_node);
+PHP_FUNCTION(domxml_node_new_child);
+PHP_FUNCTION(domxml_node_set_content);
+PHP_FUNCTION(domxml_node_text_concat);
+PHP_FUNCTION(domxml_node_set_name);
+PHP_FUNCTION(domxml_node_name);
+PHP_FUNCTION(domxml_node_value);
/* Class Attribute methods */
-PHP_FUNCTION(domxml_attrname);
+PHP_FUNCTION(domxml_attr_name);
+PHP_FUNCTION(domxml_attr_value);
+PHP_FUNCTION(domxml_attr_specified);
+
+/* Class Element methods */
+PHP_FUNCTION(domxml_element);
+PHP_FUNCTION(domxml_elem_tagname);
+PHP_FUNCTION(domxml_elem_get_attribute);
+PHP_FUNCTION(domxml_elem_set_attribute);
+PHP_FUNCTION(domxml_elem_remove_attribute);
+PHP_FUNCTION(domxml_elem_get_attribute_node);
+PHP_FUNCTION(domxml_elem_set_attribute_node);
+PHP_FUNCTION(domxml_elem_get_element_by_tagname);
+
+/* Class CData methods */
+PHP_FUNCTION(domxml_cdata_length);
+
+/* Class Notation methods */
+PHP_FUNCTION(domxml_notation_public_id);
+PHP_FUNCTION(domxml_notation_system_id);
+
+/* Class Entity methods */
+PHP_FUNCTION(domxml_entity_public_id);
+PHP_FUNCTION(domxml_entity_system_id);
+PHP_FUNCTION(domxml_entity_notation_name);
+
+/* Class ProcessingInstructions */
+PHP_FUNCTION(domxml_pi_target);
+PHP_FUNCTION(domxml_pi_data);
/* Class XPathContext methods */
#if defined(LIBXML_XPATH_ENABLED)