@@ -50,7 +50,7 @@ readonly=yes
50
50
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-B63ED1A31
51
51
Since:
52
52
*/
53
- int dom_document_doctype_read (dom_object * obj , zval * retval )
53
+ zend_result dom_document_doctype_read (dom_object * obj , zval * retval )
54
54
{
55
55
xmlDoc * docp = (xmlDocPtr ) dom_object_get_node (obj );
56
56
xmlDtdPtr dtdptr ;
@@ -77,7 +77,7 @@ readonly=yes
77
77
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1B793EBA
78
78
Since:
79
79
*/
80
- int dom_document_implementation_read (dom_object * obj , zval * retval )
80
+ zend_result dom_document_implementation_read (dom_object * obj , zval * retval )
81
81
{
82
82
php_dom_create_implementation (retval );
83
83
return SUCCESS ;
@@ -90,7 +90,7 @@ readonly=yes
90
90
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-87CD092
91
91
Since:
92
92
*/
93
- int dom_document_document_element_read (dom_object * obj , zval * retval )
93
+ zend_result dom_document_document_element_read (dom_object * obj , zval * retval )
94
94
{
95
95
xmlDoc * docp = (xmlDocPtr ) dom_object_get_node (obj );
96
96
xmlNode * root ;
@@ -116,7 +116,7 @@ int dom_document_document_element_read(dom_object *obj, zval *retval)
116
116
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-encoding
117
117
Since: DOM Level 3
118
118
*/
119
- int dom_document_encoding_read (dom_object * obj , zval * retval )
119
+ zend_result dom_document_encoding_read (dom_object * obj , zval * retval )
120
120
{
121
121
xmlDoc * docp = (xmlDocPtr ) dom_object_get_node (obj );
122
122
char * encoding ;
@@ -182,7 +182,7 @@ readonly=no
182
182
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-standalone
183
183
Since: DOM Level 3
184
184
*/
185
- int dom_document_standalone_read (dom_object * obj , zval * retval )
185
+ zend_result dom_document_standalone_read (dom_object * obj , zval * retval )
186
186
{
187
187
xmlDoc * docp ;
188
188
@@ -197,7 +197,7 @@ int dom_document_standalone_read(dom_object *obj, zval *retval)
197
197
return SUCCESS ;
198
198
}
199
199
200
- int dom_document_standalone_write (dom_object * obj , zval * newval )
200
+ zend_result dom_document_standalone_write (dom_object * obj , zval * newval )
201
201
{
202
202
xmlDoc * docp = (xmlDocPtr ) dom_object_get_node (obj );
203
203
zend_long standalone ;
@@ -220,7 +220,7 @@ readonly=no
220
220
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-version
221
221
Since: DOM Level 3
222
222
*/
223
- int dom_document_version_read (dom_object * obj , zval * retval )
223
+ zend_result dom_document_version_read (dom_object * obj , zval * retval )
224
224
{
225
225
xmlDoc * docp = (xmlDocPtr ) dom_object_get_node (obj );
226
226
char * version ;
@@ -241,7 +241,7 @@ int dom_document_version_read(dom_object *obj, zval *retval)
241
241
return SUCCESS ;
242
242
}
243
243
244
- int dom_document_version_write (dom_object * obj , zval * newval )
244
+ zend_result dom_document_version_write (dom_object * obj , zval * newval )
245
245
{
246
246
xmlDoc * docp = (xmlDocPtr ) dom_object_get_node (obj );
247
247
zend_string * str ;
@@ -273,14 +273,14 @@ readonly=no
273
273
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-strictErrorChecking
274
274
Since: DOM Level 3
275
275
*/
276
- int dom_document_strict_error_checking_read (dom_object * obj , zval * retval )
276
+ zend_result dom_document_strict_error_checking_read (dom_object * obj , zval * retval )
277
277
{
278
278
libxml_doc_props const * doc_prop = dom_get_doc_props_read_only (obj -> document );
279
279
ZVAL_BOOL (retval , doc_prop -> stricterror );
280
280
return SUCCESS ;
281
281
}
282
282
283
- int dom_document_strict_error_checking_write (dom_object * obj , zval * newval )
283
+ zend_result dom_document_strict_error_checking_write (dom_object * obj , zval * newval )
284
284
{
285
285
if (obj -> document ) {
286
286
dom_doc_propsptr doc_prop = dom_get_doc_props (obj -> document );
@@ -295,14 +295,14 @@ int dom_document_strict_error_checking_write(dom_object *obj, zval *newval)
295
295
/* {{{ formatOutput boolean
296
296
readonly=no
297
297
*/
298
- int dom_document_format_output_read (dom_object * obj , zval * retval )
298
+ zend_result dom_document_format_output_read (dom_object * obj , zval * retval )
299
299
{
300
300
libxml_doc_props const * doc_prop = dom_get_doc_props_read_only (obj -> document );
301
301
ZVAL_BOOL (retval , doc_prop -> formatoutput );
302
302
return SUCCESS ;
303
303
}
304
304
305
- int dom_document_format_output_write (dom_object * obj , zval * newval )
305
+ zend_result dom_document_format_output_write (dom_object * obj , zval * newval )
306
306
{
307
307
if (obj -> document ) {
308
308
dom_doc_propsptr doc_prop = dom_get_doc_props (obj -> document );
@@ -316,14 +316,14 @@ int dom_document_format_output_write(dom_object *obj, zval *newval)
316
316
/* {{{ validateOnParse boolean
317
317
readonly=no
318
318
*/
319
- int dom_document_validate_on_parse_read (dom_object * obj , zval * retval )
319
+ zend_result dom_document_validate_on_parse_read (dom_object * obj , zval * retval )
320
320
{
321
321
libxml_doc_props const * doc_prop = dom_get_doc_props_read_only (obj -> document );
322
322
ZVAL_BOOL (retval , doc_prop -> validateonparse );
323
323
return SUCCESS ;
324
324
}
325
325
326
- int dom_document_validate_on_parse_write (dom_object * obj , zval * newval )
326
+ zend_result dom_document_validate_on_parse_write (dom_object * obj , zval * newval )
327
327
{
328
328
if (obj -> document ) {
329
329
dom_doc_propsptr doc_prop = dom_get_doc_props (obj -> document );
@@ -337,14 +337,14 @@ int dom_document_validate_on_parse_write(dom_object *obj, zval *newval)
337
337
/* {{{ resolveExternals boolean
338
338
readonly=no
339
339
*/
340
- int dom_document_resolve_externals_read (dom_object * obj , zval * retval )
340
+ zend_result dom_document_resolve_externals_read (dom_object * obj , zval * retval )
341
341
{
342
342
libxml_doc_props const * doc_prop = dom_get_doc_props_read_only (obj -> document );
343
343
ZVAL_BOOL (retval , doc_prop -> resolveexternals );
344
344
return SUCCESS ;
345
345
}
346
346
347
- int dom_document_resolve_externals_write (dom_object * obj , zval * newval )
347
+ zend_result dom_document_resolve_externals_write (dom_object * obj , zval * newval )
348
348
{
349
349
if (obj -> document ) {
350
350
dom_doc_propsptr doc_prop = dom_get_doc_props (obj -> document );
@@ -358,14 +358,14 @@ int dom_document_resolve_externals_write(dom_object *obj, zval *newval)
358
358
/* {{{ preserveWhiteSpace boolean
359
359
readonly=no
360
360
*/
361
- int dom_document_preserve_whitespace_read (dom_object * obj , zval * retval )
361
+ zend_result dom_document_preserve_whitespace_read (dom_object * obj , zval * retval )
362
362
{
363
363
libxml_doc_props const * doc_prop = dom_get_doc_props_read_only (obj -> document );
364
364
ZVAL_BOOL (retval , doc_prop -> preservewhitespace );
365
365
return SUCCESS ;
366
366
}
367
367
368
- int dom_document_preserve_whitespace_write (dom_object * obj , zval * newval )
368
+ zend_result dom_document_preserve_whitespace_write (dom_object * obj , zval * newval )
369
369
{
370
370
if (obj -> document ) {
371
371
dom_doc_propsptr doc_prop = dom_get_doc_props (obj -> document );
@@ -379,14 +379,14 @@ int dom_document_preserve_whitespace_write(dom_object *obj, zval *newval)
379
379
/* {{{ recover boolean
380
380
readonly=no
381
381
*/
382
- int dom_document_recover_read (dom_object * obj , zval * retval )
382
+ zend_result dom_document_recover_read (dom_object * obj , zval * retval )
383
383
{
384
384
libxml_doc_props const * doc_prop = dom_get_doc_props_read_only (obj -> document );
385
385
ZVAL_BOOL (retval , doc_prop -> recover );
386
386
return SUCCESS ;
387
387
}
388
388
389
- int dom_document_recover_write (dom_object * obj , zval * newval )
389
+ zend_result dom_document_recover_write (dom_object * obj , zval * newval )
390
390
{
391
391
if (obj -> document ) {
392
392
dom_doc_propsptr doc_prop = dom_get_doc_props (obj -> document );
@@ -400,14 +400,14 @@ int dom_document_recover_write(dom_object *obj, zval *newval)
400
400
/* {{{ substituteEntities boolean
401
401
readonly=no
402
402
*/
403
- int dom_document_substitue_entities_read (dom_object * obj , zval * retval )
403
+ zend_result dom_document_substitue_entities_read (dom_object * obj , zval * retval )
404
404
{
405
405
libxml_doc_props const * doc_prop = dom_get_doc_props_read_only (obj -> document );
406
406
ZVAL_BOOL (retval , doc_prop -> substituteentities );
407
407
return SUCCESS ;
408
408
}
409
409
410
- int dom_document_substitue_entities_write (dom_object * obj , zval * newval )
410
+ zend_result dom_document_substitue_entities_write (dom_object * obj , zval * newval )
411
411
{
412
412
if (obj -> document ) {
413
413
dom_doc_propsptr doc_prop = dom_get_doc_props (obj -> document );
@@ -423,7 +423,7 @@ readonly=no
423
423
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-documentURI
424
424
Since: DOM Level 3
425
425
*/
426
- int dom_document_document_uri_read (dom_object * obj , zval * retval )
426
+ zend_result dom_document_document_uri_read (dom_object * obj , zval * retval )
427
427
{
428
428
xmlDoc * docp = (xmlDocPtr ) dom_object_get_node (obj );
429
429
char * url ;
@@ -443,7 +443,7 @@ int dom_document_document_uri_read(dom_object *obj, zval *retval)
443
443
return SUCCESS ;
444
444
}
445
445
446
- int dom_document_document_uri_write (dom_object * obj , zval * newval )
446
+ zend_result dom_document_document_uri_write (dom_object * obj , zval * newval )
447
447
{
448
448
xmlDoc * docp = (xmlDocPtr ) dom_object_get_node (obj );
449
449
zend_string * str ;
@@ -475,7 +475,7 @@ readonly=yes
475
475
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-config
476
476
Since: DOM Level 3
477
477
*/
478
- int dom_document_config_read (dom_object * obj , zval * retval )
478
+ zend_result dom_document_config_read (dom_object * obj , zval * retval )
479
479
{
480
480
ZVAL_NULL (retval );
481
481
return SUCCESS ;
0 commit comments