Searched refs:extendedclass (Results 1 - 1 of 1) sorted by relevance

/PHP_TRUNK/ext/dom/
H A Ddocument.c2389 /* {{{ proto boolean DOMDocument::registerNodeClass(string baseclass, string extendedclass);
2395 char *baseclass = NULL, *extendedclass = NULL; local
2400 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Oss!", &id, dom_document_class_entry, &baseclass, &baseclass_len, &extendedclass, &extendedclass_len) == FAILURE) {
2420 if (zend_lookup_class(extendedclass, extendedclass_len, &pce TSRMLS_CC) == FAILURE) {
2421 php_error_docref(NULL TSRMLS_CC, E_ERROR, "Class %s does not exist", extendedclass);
2431 php_error_docref(NULL TSRMLS_CC, E_ERROR, "Class %s could not be registered.", extendedclass);
2435 php_error_docref(NULL TSRMLS_CC, E_ERROR, "Class %s is not derived from %s.", extendedclass, baseclass);

Completed in 5 milliseconds