summaryrefslogtreecommitdiff
path: root/ext/domxml/domxml.c
diff options
context:
space:
mode:
authorUwe Steinmann <steinm@php.net>2000-02-17 15:05:24 +0000
committerUwe Steinmann <steinm@php.net>2000-02-17 15:05:24 +0000
commit995c565fba10a4abaddd4db556c89b98bdd5fd41 (patch)
treed07562121c8a879c7d68e0fd27c11cbaccfe9084 /ext/domxml/domxml.c
parentf1a2ee55e0ac3c1ff443ef7c67724ff7b773d4c3 (diff)
downloadphp-git-995c565fba10a4abaddd4db556c89b98bdd5fd41.tar.gz
- change some function name into php style
Diffstat (limited to 'ext/domxml/domxml.c')
-rw-r--r--ext/domxml/domxml.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/ext/domxml/domxml.c b/ext/domxml/domxml.c
index 9f8fd295e9..6fc14137bf 100644
--- a/ext/domxml/domxml.c
+++ b/ext/domxml/domxml.c
@@ -38,23 +38,23 @@ static zend_function_entry php_domxml_functions[] = {
PHP_FE(xmldocfile, NULL)
PHP_FE(xmltree, NULL)
PHP_FE(domxml_root, NULL)
- PHP_FE(domxml_addroot, NULL)
+ PHP_FE(domxml_add_root, NULL)
PHP_FE(domxml_dumpmem, NULL)
PHP_FE(domxml_attributes, NULL)
PHP_FE(domxml_getattr, NULL)
PHP_FE(domxml_setattr, NULL)
PHP_FE(domxml_children, NULL)
- PHP_FE(domxml_newchild, NULL)
+ PHP_FE(domxml_new_child, NULL)
PHP_FE(domxml_node, NULL)
- PHP_FE(domxml_newxmldoc, NULL)
- PHP_FALIAS(newxmldoc, domxml_newxmldoc, NULL)
+ PHP_FE(domxml_new_xmldoc, NULL)
+ PHP_FALIAS(new_xmldoc, domxml_new_xmldoc, NULL)
{NULL, NULL, NULL}
};
static zend_function_entry php_domxmldoc_class_functions[] = {
PHP_FALIAS(root, domxml_root, NULL)
- PHP_FALIAS(addroot, domxml_addroot, NULL)
+ PHP_FALIAS(add_root, domxml_add_root, NULL)
PHP_FALIAS(dtd, domxml_intdtd, NULL)
PHP_FALIAS(dumpmem, domxml_dumpmem, NULL)
{NULL, NULL, NULL}
@@ -72,7 +72,7 @@ static zend_function_entry php_domxmlnode_class_functions[] = {
PHP_FALIAS(lastchild, domxml_lastchild, NULL)
PHP_FALIAS(children, domxml_children, NULL)
PHP_FALIAS(parent, domxml_parent, NULL)
- PHP_FALIAS(newchild, domxml_newchild, NULL)
+ PHP_FALIAS(new_child, domxml_new_child, NULL)
PHP_FALIAS(getattr, domxml_getattr, NULL)
PHP_FALIAS(setattr, domxml_setattr, NULL)
PHP_FALIAS(attributes, domxml_attributes, NULL)
@@ -738,9 +738,9 @@ PHP_FUNCTION(xmldocfile)
}
/* }}} */
-/* {{{ proto string domxml_newchild([int node_handle], string name, string content)
+/* {{{ proto string domxml_new_child([int node_handle], string name, string content)
Adds child node to parent node */
-PHP_FUNCTION(domxml_newchild)
+PHP_FUNCTION(domxml_new_child)
{
zval *id, *name, *content, **tmp;
int id_to_find;
@@ -796,9 +796,9 @@ PHP_FUNCTION(domxml_newchild)
}
/* }}} */
-/* {{{ proto string domxml_addroot([int doc_handle], string name)
+/* {{{ proto string domxml_add_root([int doc_handle], string name)
Adds root node to document */
-PHP_FUNCTION(domxml_addroot)
+PHP_FUNCTION(domxml_add_root)
{
zval *id, *name, **tmp;
int id_to_find;
@@ -852,9 +852,9 @@ PHP_FUNCTION(domxml_addroot)
}
/* }}} */
-/* {{{ proto class domxml_newxmldoc(string version)
+/* {{{ proto class domxml_new_xmldoc(string version)
Creates new xmldoc */
-PHP_FUNCTION(domxml_newxmldoc)
+PHP_FUNCTION(domxml_new_xmldoc)
{
zval *arg;
xmlDoc *docp;