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

/PHP_TRUNK/ext/dom/
H A Ddocument.c2203 zend_class_entry *basece = dom_node_class_entry, *ce = NULL; local
2206 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "OCC!", &id, dom_document_class_entry, &basece, &ce) == FAILURE) {
2210 if (ce == NULL || instanceof_function(ce, basece TSRMLS_CC)) {
2213 if (dom_set_doc_classmap(intern->document, basece, ce TSRMLS_CC) == FAILURE) {
2218 php_error_docref(NULL TSRMLS_CC, E_ERROR, "Class %s is not derived from %s.", ce->name->val, basece->name->val);
H A Dphp_dom.h128 int dom_set_doc_classmap(php_libxml_ref_obj *document, zend_class_entry *basece, zend_class_entry *ce TSRMLS_DC);
H A Dphp_dom.c209 int dom_set_doc_classmap(php_libxml_ref_obj *document, zend_class_entry *basece, zend_class_entry *ce TSRMLS_DC) argument
223 zend_hash_update_ptr(doc_props->classmap, basece->name, ce);
225 zend_hash_del(doc_props->classmap, basece->name);
231 zend_class_entry *dom_get_doc_classmap(php_libxml_ref_obj *document, zend_class_entry *basece TSRMLS_DC)
238 zend_class_entry *ce = zend_hash_find_ptr(doc_props->classmap, basece->name);
245 return basece;

Completed in 9 milliseconds