]> granicus.if.org Git - php/commitdiff
Added aliases to make attr_node access functions more consistent.
authorJoseph Tate <jtate@php.net>
Fri, 7 Jun 2002 14:56:08 +0000 (14:56 +0000)
committerJoseph Tate <jtate@php.net>
Fri, 7 Jun 2002 14:56:08 +0000 (14:56 +0000)
Old access functions are now deprecated.
CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS:  php_domxml.c
CVS: ----------------------------------------------------------------------

ext/domxml/php_domxml.c
ext/domxml/php_domxml.h

index 26fc5c7d233463fe7502cc14b2eb3c0c77b16efe..fd8644020cd07f3b14b68089950eaefabbfa1240 100644 (file)
@@ -441,6 +441,10 @@ static zend_function_entry php_xpathobject_class_functions[] = {
 
 static zend_function_entry php_domxmlattr_class_functions[] = {
        PHP_FALIAS(domattribute,                        domxml_doc_create_attribute,    NULL)
+       PHP_FALIAS(node_name,                           domxml_attr_name,                               NULL)
+       PHP_FALIAS(node_value,                          domxml_attr_value,                              NULL)
+       PHP_FALIAS(node_specified,                      domxml_attr_specified,                  NULL)
+       /* Deprecated left in for BC */
        PHP_FALIAS(name,                                        domxml_attr_name,                               NULL)
        PHP_FALIAS(value,                                       domxml_attr_value,                              NULL)
        PHP_FALIAS(specified,                           domxml_attr_specified,                  NULL)
index 3ce7bf3221006720d6a38815d160d5adcff58a87..eb7bceb0e85f6fff303e063c3c37df810a87de81 100644 (file)
@@ -51,7 +51,7 @@
     therefore it's easier for the script-programmers to check, what's working how
    Can be checked with phpversion("domxml");
 */
-#define DOMXML_API_VERSION "20020530"
+#define DOMXML_API_VERSION "20020607"
 
 extern zend_module_entry domxml_module_entry;
 #define domxml_module_ptr &domxml_module_entry