diff options
author | Joseph Tate <jtate@php.net> | 2002-06-07 14:56:08 +0000 |
---|---|---|
committer | Joseph Tate <jtate@php.net> | 2002-06-07 14:56:08 +0000 |
commit | 7a58bc690a479efefaeab310f155e1ef0fb6bef6 (patch) | |
tree | 26b74e35d8ab036c0047c9508df0c08c96d828cc /ext/domxml/php_domxml.c | |
parent | f3673c8798c2a063e436eabe49fd21071e91a8a1 (diff) | |
download | php-git-7a58bc690a479efefaeab310f155e1ef0fb6bef6.tar.gz |
Added aliases to make attr_node access functions more consistent.
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: ----------------------------------------------------------------------
Diffstat (limited to 'ext/domxml/php_domxml.c')
-rw-r--r-- | ext/domxml/php_domxml.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/domxml/php_domxml.c b/ext/domxml/php_domxml.c index 26fc5c7d23..fd8644020c 100644 --- a/ext/domxml/php_domxml.c +++ b/ext/domxml/php_domxml.c @@ -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) |