version 1.1.1.1, 2012/02/21 23:47:54
|
version 1.1.1.2, 2012/05/29 12:34:37
|
Line 126 Since:
|
Line 126 Since:
|
*/ |
*/ |
PHP_FUNCTION(dom_namednodemap_get_named_item) |
PHP_FUNCTION(dom_namednodemap_get_named_item) |
{ |
{ |
zval *id, *rv = NULL; | zval *id; |
int ret, namedlen=0; |
int ret, namedlen=0; |
dom_object *intern; |
dom_object *intern; |
xmlNodePtr itemnode = NULL; |
xmlNodePtr itemnode = NULL; |
Line 166 PHP_FUNCTION(dom_namednodemap_get_named_item)
|
Line 166 PHP_FUNCTION(dom_namednodemap_get_named_item)
|
} |
} |
|
|
if (itemnode) { |
if (itemnode) { |
DOM_RET_OBJ(rv, itemnode, &ret, objmap->baseobj); | DOM_RET_OBJ(itemnode, &ret, objmap->baseobj); |
return; |
return; |
} else { |
} else { |
RETVAL_NULL(); |
RETVAL_NULL(); |
Line 200 Since:
|
Line 200 Since:
|
*/ |
*/ |
PHP_FUNCTION(dom_namednodemap_item) |
PHP_FUNCTION(dom_namednodemap_item) |
{ |
{ |
zval *id, *rv = NULL; | zval *id; |
long index; |
long index; |
int ret; |
int ret; |
dom_object *intern; |
dom_object *intern; |
Line 243 PHP_FUNCTION(dom_namednodemap_item)
|
Line 243 PHP_FUNCTION(dom_namednodemap_item)
|
} |
} |
|
|
if (itemnode) { |
if (itemnode) { |
DOM_RET_OBJ(rv, itemnode, &ret, objmap->baseobj); | DOM_RET_OBJ(itemnode, &ret, objmap->baseobj); |
return; |
return; |
} |
} |
} |
} |
Line 258 Since: DOM Level 2
|
Line 258 Since: DOM Level 2
|
*/ |
*/ |
PHP_FUNCTION(dom_namednodemap_get_named_item_ns) |
PHP_FUNCTION(dom_namednodemap_get_named_item_ns) |
{ |
{ |
zval *id, *rv = NULL; | zval *id; |
int ret, namedlen=0, urilen=0; |
int ret, namedlen=0, urilen=0; |
dom_object *intern; |
dom_object *intern; |
xmlNodePtr itemnode = NULL; |
xmlNodePtr itemnode = NULL; |
Line 298 PHP_FUNCTION(dom_namednodemap_get_named_item_ns)
|
Line 298 PHP_FUNCTION(dom_namednodemap_get_named_item_ns)
|
} |
} |
|
|
if (itemnode) { |
if (itemnode) { |
DOM_RET_OBJ(rv, itemnode, &ret, objmap->baseobj); | DOM_RET_OBJ(itemnode, &ret, objmap->baseobj); |
return; |
return; |
} else { |
} else { |
RETVAL_NULL(); |
RETVAL_NULL(); |