summaryrefslogtreecommitdiff
path: root/ext/dom/entityreference.c
diff options
context:
space:
mode:
authorRob Richards <rrichards@php.net>2004-03-31 17:18:59 +0000
committerRob Richards <rrichards@php.net>2004-03-31 17:18:59 +0000
commit010c340f296243ef78e50664df19b159223850fc (patch)
treef1dae612ae3e7f7a2dda47ba7da453101a79f42b /ext/dom/entityreference.c
parent39a43c994edfe11243f4565690fba52e854a24d9 (diff)
downloadphp-git-010c340f296243ef78e50664df19b159223850fc.tar.gz
use new style constructors
fix return for nodelist item
Diffstat (limited to 'ext/dom/entityreference.c')
-rw-r--r--ext/dom/entityreference.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/dom/entityreference.c b/ext/dom/entityreference.c
index 9d8039f577..b44da01a8e 100644
--- a/ext/dom/entityreference.c
+++ b/ext/dom/entityreference.c
@@ -36,12 +36,12 @@
*/
zend_function_entry php_dom_entityreference_class_functions[] = {
- PHP_FALIAS(domentityreference, dom_entityreference_entityreference, NULL)
+ PHP_ME(domentityreference, __construct, NULL, ZEND_ACC_PUBLIC)
{NULL, NULL, NULL}
};
-/* {{{ proto domnode dom_entityreference_entityreference(string name); */
-PHP_FUNCTION(dom_entityreference_entityreference)
+/* {{{ proto void DomEntityReference::__construct(string name); */
+PHP_METHOD(domentityreference, __construct)
{
zval *id;
xmlNode *node;
@@ -74,5 +74,5 @@ PHP_FUNCTION(dom_entityreference_entityreference)
}
}
-/* }}} end dom_entityreference_entityreference */
+/* }}} end DomEntityReference::__construct */
#endif