diff options
Diffstat (limited to 'ext/dom/cdatasection.c')
| -rw-r--r-- | ext/dom/cdatasection.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/dom/cdatasection.c b/ext/dom/cdatasection.c index 0daab0bfcc..0dc18a9358 100644 --- a/ext/dom/cdatasection.c +++ b/ext/dom/cdatasection.c @@ -36,12 +36,12 @@ */ zend_function_entry php_dom_cdatasection_class_functions[] = { - PHP_FALIAS("domcdatasection", dom_cdatasection_cdatasection, NULL) + PHP_ME(domcdatasection, __construct, NULL, ZEND_ACC_PUBLIC) {NULL, NULL, NULL} }; -/* {{{ proto domnode dom_cdatasection_cdatasection(string value); */ -PHP_FUNCTION(dom_cdatasection_cdatasection) +/* {{{ proto void DomCDataSection::__construct(string value); */ +PHP_METHOD(domcdatasection, __construct) { zval *id; @@ -68,6 +68,6 @@ PHP_FUNCTION(dom_cdatasection_cdatasection) php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern TSRMLS_CC); } } -/* }}} end dom_cdatasection_cdatasection */ +/* }}} end DomCDataSection::__construct */ #endif |
