cvs: php4 /ext/domxml php_domxml.c php_domxml.h
| From: | Jaroslaw Kolakowski | Date: | Tue, 08 Jan 2002 19:13:43 +0000 |
| Subject: | cvs: php4 /ext/domxml php_domxml.c php_domxml.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-8985@lists.php.net to get a copy of this message | ||
jarkol Tue Jan 8 14:13:43 2002 EDT
Modified files:
/php4/ext/domxml php_domxml.c php_domxml.h
Log:
A
Changed names of functions:
- htmldoc() to html_doc(),
- htmldocfile() to html_doc_file(),
- domxml_htmldumpmem() to domxml_html_dump_mem(),
- htmldumpmem() to html_dump_mem().
Index: php4/ext/domxml/php_domxml.c
diff -u php4/ext/domxml/php_domxml.c:1.95 php4/ext/domxml/php_domxml.c:1.96
--- php4/ext/domxml/php_domxml.c:1.95 Mon Jan 7 19:31:22 2002
+++ php4/ext/domxml/php_domxml.c Tue Jan 8 14:13:42 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_domxml.c,v 1.95 2002/01/08 00:31:22 jarkol Exp $ */
+/* $Id: php_domxml.c,v 1.96 2002/01/08 19:13:42 jarkol Exp $ */
/* TODO
* - Support Notation Nodes
@@ -154,14 +154,14 @@
PHP_FE(xmldoc, NULL)
PHP_FE(xmldocfile, NULL)
#if defined(LIBXML_HTML_ENABLED)
- PHP_FE(htmldoc, NULL)
- PHP_FE(htmldocfile, NULL)
+ PHP_FE(html_doc, NULL)
+ PHP_FE(html_doc_file, NULL)
#endif
PHP_FE(xmltree, NULL)
PHP_FE(domxml_add_root, NULL)
PHP_FE(domxml_dumpmem, NULL)
#if defined(LIBXML_HTML_ENABLED)
- PHP_FE(domxml_htmldumpmem, NULL)
+ PHP_FE(domxml_html_dump_mem, NULL)
#endif
PHP_FE(domxml_node_attributes, NULL)
PHP_FE(domxml_elem_get_attribute, NULL)
@@ -223,7 +223,7 @@
PHP_FALIAS(dtd, domxml_intdtd, NULL)
PHP_FALIAS(dumpmem, domxml_dumpmem, NULL)
#if defined(LIBXML_HTML_ENABLED)
- PHP_FALIAS(htmldumpmem, domxml_htmldumpmem, NULL)
+ PHP_FALIAS(html_dump_mem, domxml_html_dump_mem, NULL)
#endif
#if defined(LIBXML_XPATH_ENABLED)
PHP_FALIAS(xpath_init, xpath_init, NULL)
@@ -2479,9 +2479,9 @@
/* }}} */
#if defined(LIBXML_HTML_ENABLED)
-/* {{{ proto string domxml_htmldumpmem([int doc_handle])
- Dumps document into string */
-PHP_FUNCTION(domxml_htmldumpmem)
+/* {{{ proto string domxml_html_dump_mem([int doc_handle])
+ Dumps document into string as HTML */
+PHP_FUNCTION(domxml_html_dump_mem)
{
zval *id;
xmlDoc *docp;
@@ -2498,9 +2498,9 @@
}
/* }}} */
-/* {{{ proto object htmldoc(string htmldoc)
+/* {{{ proto object html_doc(string html_doc)
Creates DOM object of HTML document */
-PHP_FUNCTION(htmldoc)
+PHP_FUNCTION(html_doc)
{
zval *rv;
xmlDoc *docp;
@@ -2525,9 +2525,9 @@
}
/* }}} */
-/* {{{ proto object htmldocfile(string filename)
- Creates DOM object of HTML document in file*/
-PHP_FUNCTION(htmldocfile)
+/* {{{ proto object html_doc_file(string filename)
+ Creates DOM object of HTML document in file */
+PHP_FUNCTION(html_doc_file)
{
zval *rv;
xmlDoc *docp;
Index: php4/ext/domxml/php_domxml.h
diff -u php4/ext/domxml/php_domxml.h:1.31 php4/ext/domxml/php_domxml.h:1.32
--- php4/ext/domxml/php_domxml.h:1.31 Mon Jan 7 19:31:26 2002
+++ php4/ext/domxml/php_domxml.h Tue Jan 8 14:13:42 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_domxml.h,v 1.31 2002/01/08 00:31:26 jarkol Exp $ */
+/* $Id: php_domxml.h,v 1.32 2002/01/08 19:13:42 jarkol Exp $ */
#ifndef PHP_DOMXML_H
#define PHP_DOMXML_H
@@ -51,8 +51,8 @@
PHP_FUNCTION(xmldoc);
PHP_FUNCTION(xmldocfile);
#if defined(LIBXML_HTML_ENABLED)
-PHP_FUNCTION(htmldoc);
-PHP_FUNCTION(htmldocfile);
+PHP_FUNCTION(html_doc);
+PHP_FUNCTION(html_doc_file);
#endif
PHP_FUNCTION(xmltree);
PHP_FUNCTION(domxml_new_xmldoc);
@@ -73,7 +73,7 @@
PHP_FUNCTION(domxml_intdtd);
PHP_FUNCTION(domxml_dumpmem);
#if defined(LIBXML_HTML_ENABLED)
-PHP_FUNCTION(domxml_htmldumpmem);
+PHP_FUNCTION(domxml_html_dump_mem);
#endif
/* Class DocumentType methods */