API update

This commit is contained in:
Zeev Suraski 2003-07-22 13:50:00 +00:00
parent 6a50660cfe
commit 6c24e1577c
3 changed files with 4 additions and 4 deletions

View file

@ -97,7 +97,7 @@ static int dom_document_get_property_int(zval *id, char *property TSRMLS_DC) {
ZVAL_STRING(member, property, 1);
std_hnd = zend_get_std_object_handlers();
format = std_hnd->read_property(id, member TSRMLS_CC);
format = std_hnd->read_property(id, member, 0 TSRMLS_CC);
if (format->type == IS_BOOL) {
retformat = Z_BVAL_P(format);

View file

@ -272,7 +272,7 @@ static void dom_register_prop_handler(HashTable *prop_handler, char *name, dom_r
/* }}} */
/* {{{ dom_read_property */
zval *dom_read_property(zval *object, zval *member TSRMLS_DC)
zval *dom_read_property(zval *object, zval *member, zend_bool silent TSRMLS_DC)
{
dom_object *obj;
zval tmp_member;
@ -305,7 +305,7 @@ zval *dom_read_property(zval *object, zval *member TSRMLS_DC)
}
} else {
std_hnd = zend_get_std_object_handlers();
retval = std_hnd->read_property(object, member TSRMLS_CC);
retval = std_hnd->read_property(object, member, silent TSRMLS_CC);
}
if (member == &tmp_member) {

View file

@ -61,7 +61,7 @@ typedef struct _dom_object {
#define PHP_DOM_EXPORT(__type) PHPAPI __type
PHP_DOM_EXPORT(zval *) php_dom_create_object(xmlNodePtr obj, int *found, zval *in, zval* return_value, dom_object *domobj TSRMLS_DC);
PHP_DOM_EXPORT(zval *) dom_read_property(zval *object, zval *member TSRMLS_DC);
PHP_DOM_EXPORT(zval *) dom_read_property(zval *object, zval *member, zend_bool silent TSRMLS_DC);
PHP_DOM_EXPORT(void) dom_write_property(zval *object, zval *member, zval *value TSRMLS_DC);
#define DOM_XMLNS_NAMESPACE \