xref: /PHP-5.6/ext/dom/dom_properties.h (revision 49493a2d)
1 /*
2    +----------------------------------------------------------------------+
3    | PHP Version 5                                                        |
4    +----------------------------------------------------------------------+
5    | Copyright (c) 1997-2016 The PHP Group                                |
6    +----------------------------------------------------------------------+
7    | This source file is subject to version 3.01 of the PHP license,      |
8    | that is bundled with this package in the file LICENSE, and is        |
9    | available through the world-wide-web at the following url:           |
10    | http://www.php.net/license/3_01.txt                                  |
11    | If you did not receive a copy of the PHP license and are unable to   |
12    | obtain it through the world-wide-web, please send a note to          |
13    | license@php.net so we can mail you a copy immediately.               |
14    +----------------------------------------------------------------------+
15    | Authors: Christian Stocker <chregu@php.net>                          |
16    |          Rob Richards <rrichards@php.net>                            |
17    +----------------------------------------------------------------------+
18 */
19 
20 /* $Id$ */
21 #ifndef DOM_PROPERTIES_H
22 #define DOM_PROPERTIES_H
23 
24 /* attr properties */
25 int dom_attr_name_read(dom_object *obj, zval **retval TSRMLS_DC);
26 int dom_attr_specified_read(dom_object *obj, zval **retval TSRMLS_DC);
27 int dom_attr_value_read(dom_object *obj, zval **retval TSRMLS_DC);
28 int dom_attr_value_write(dom_object *obj, zval *newval TSRMLS_DC);
29 int dom_attr_owner_element_read(dom_object *obj, zval **retval TSRMLS_DC);
30 int dom_attr_schema_type_info_read(dom_object *obj, zval **retval TSRMLS_DC);
31 
32 /* characterdata properties */
33 int dom_characterdata_data_read(dom_object *obj, zval **retval TSRMLS_DC);
34 int dom_characterdata_data_write(dom_object *obj, zval *newval TSRMLS_DC);
35 int dom_characterdata_length_read(dom_object *obj, zval **retval TSRMLS_DC);
36 
37 /* document properties */
38 int dom_document_doctype_read(dom_object *obj, zval **retval TSRMLS_DC);
39 int dom_document_implementation_read(dom_object *obj, zval **retval TSRMLS_DC);
40 int dom_document_document_element_read(dom_object *obj, zval **retval TSRMLS_DC);
41 int dom_document_actual_encoding_read(dom_object *obj, zval **retval TSRMLS_DC);
42 int dom_document_actual_encoding_write(dom_object *obj, zval *newval TSRMLS_DC);
43 int dom_document_encoding_read(dom_object *obj, zval **retval TSRMLS_DC);
44 int dom_document_encoding_write(dom_object *obj, zval *newval TSRMLS_DC);
45 int dom_document_standalone_read(dom_object *obj, zval **retval TSRMLS_DC);
46 int dom_document_standalone_write(dom_object *obj, zval *newval TSRMLS_DC);
47 int dom_document_version_read(dom_object *obj, zval **retval TSRMLS_DC);
48 int dom_document_version_write(dom_object *obj, zval *newval TSRMLS_DC);
49 int dom_document_strict_error_checking_read(dom_object *obj, zval **retval TSRMLS_DC);
50 int dom_document_strict_error_checking_write(dom_object *obj, zval *newval TSRMLS_DC);
51 int dom_document_document_uri_read(dom_object *obj, zval **retval TSRMLS_DC);
52 int dom_document_document_uri_write(dom_object *obj, zval *newval TSRMLS_DC);
53 int dom_document_config_read(dom_object *obj, zval **retval TSRMLS_DC);
54 int dom_document_format_output_read(dom_object *obj, zval **retval TSRMLS_DC);
55 int dom_document_format_output_write(dom_object *obj, zval *newval TSRMLS_DC);
56 int	dom_document_validate_on_parse_read(dom_object *obj, zval **retval TSRMLS_DC);
57 int dom_document_validate_on_parse_write(dom_object *obj, zval *newval TSRMLS_DC);
58 int dom_document_resolve_externals_read(dom_object *obj, zval **retval TSRMLS_DC);
59 int dom_document_resolve_externals_write(dom_object *obj, zval *newval TSRMLS_DC);
60 int dom_document_preserve_whitespace_read(dom_object *obj, zval **retval TSRMLS_DC);
61 int dom_document_preserve_whitespace_write(dom_object *obj, zval *newval TSRMLS_DC);
62 int dom_document_recover_read(dom_object *obj, zval **retval TSRMLS_DC);
63 int dom_document_recover_write(dom_object *obj, zval *newval TSRMLS_DC);
64 int dom_document_substitue_entities_read(dom_object *obj, zval **retval TSRMLS_DC);
65 int dom_document_substitue_entities_write(dom_object *obj, zval *newval TSRMLS_DC);
66 
67 /* documenttype properties */
68 int dom_documenttype_name_read(dom_object *obj, zval **retval TSRMLS_DC);
69 int dom_documenttype_entities_read(dom_object *obj, zval **retval TSRMLS_DC);
70 int dom_documenttype_notations_read(dom_object *obj, zval **retval TSRMLS_DC);
71 int dom_documenttype_public_id_read(dom_object *obj, zval **retval TSRMLS_DC);
72 int dom_documenttype_system_id_read(dom_object *obj, zval **retval TSRMLS_DC);
73 int dom_documenttype_internal_subset_read(dom_object *obj, zval **retval TSRMLS_DC);
74 
75 /* domerror properties */
76 int dom_domerror_severity_read(dom_object *obj, zval **retval TSRMLS_DC);
77 int dom_domerror_message_read(dom_object *obj, zval **retval TSRMLS_DC);
78 int dom_domerror_type_read(dom_object *obj, zval **retval TSRMLS_DC);
79 int dom_domerror_related_exception_read(dom_object *obj, zval **retval TSRMLS_DC);
80 int dom_domerror_related_data_read(dom_object *obj, zval **retval TSRMLS_DC);
81 int dom_domerror_location_read(dom_object *obj, zval **retval TSRMLS_DC);
82 
83 /* domimplementationlist properties */
84 int dom_domimplementationlist_length_read(dom_object *obj, zval **retval TSRMLS_DC);
85 
86 /* domlocator properties */
87 int dom_domlocator_line_number_read(dom_object *obj, zval **retval TSRMLS_DC);
88 int dom_domlocator_column_number_read(dom_object *obj, zval **retval TSRMLS_DC);
89 int dom_domlocator_offset_read(dom_object *obj, zval **retval TSRMLS_DC);
90 int dom_domlocator_related_node_read(dom_object *obj, zval **retval TSRMLS_DC);
91 int dom_domlocator_uri_read(dom_object *obj, zval **retval TSRMLS_DC);
92 
93 /* domstringlist properties */
94 int dom_domstringlist_length_read(dom_object *obj, zval **retval TSRMLS_DC);
95 
96 /* element properties */
97 int dom_element_tag_name_read(dom_object *obj, zval **retval TSRMLS_DC);
98 int dom_element_schema_type_info_read(dom_object *obj, zval **retval TSRMLS_DC);
99 
100 /* entity properties */
101 int dom_entity_public_id_read(dom_object *obj, zval **retval TSRMLS_DC);
102 int dom_entity_system_id_read(dom_object *obj, zval **retval TSRMLS_DC);
103 int dom_entity_notation_name_read(dom_object *obj, zval **retval TSRMLS_DC);
104 int dom_entity_actual_encoding_read(dom_object *obj, zval **retval TSRMLS_DC);
105 int dom_entity_actual_encoding_write(dom_object *obj, zval *newval TSRMLS_DC);
106 int dom_entity_encoding_read(dom_object *obj, zval **retval TSRMLS_DC);
107 int dom_entity_encoding_write(dom_object *obj, zval *newval TSRMLS_DC);
108 int dom_entity_version_read(dom_object *obj, zval **retval TSRMLS_DC);
109 int dom_entity_version_write(dom_object *obj, zval *newval TSRMLS_DC);
110 
111 /* namednodemap properties */
112 int dom_namednodemap_length_read(dom_object *obj, zval **retval TSRMLS_DC);
113 
114 /* namelist properties */
115 int dom_namelist_length_read(dom_object *obj, zval **retval TSRMLS_DC);
116 
117 /* node properties */
118 int dom_node_node_name_read(dom_object *obj, zval **retval TSRMLS_DC);
119 int dom_node_node_value_read(dom_object *obj, zval **retval TSRMLS_DC);
120 int dom_node_node_value_write(dom_object *obj, zval *newval TSRMLS_DC);
121 int dom_node_node_type_read(dom_object *obj, zval **retval TSRMLS_DC);
122 int dom_node_parent_node_read(dom_object *obj, zval **retval TSRMLS_DC);
123 int dom_node_child_nodes_read(dom_object *obj, zval **retval TSRMLS_DC);
124 int dom_node_first_child_read(dom_object *obj, zval **retval TSRMLS_DC);
125 int dom_node_last_child_read(dom_object *obj, zval **retval TSRMLS_DC);
126 int dom_node_previous_sibling_read(dom_object *obj, zval **retval TSRMLS_DC);
127 int dom_node_next_sibling_read(dom_object *obj, zval **retval TSRMLS_DC);
128 int dom_node_attributes_read(dom_object *obj, zval **retval TSRMLS_DC);
129 int dom_node_owner_document_read(dom_object *obj, zval **retval TSRMLS_DC);
130 int dom_node_namespace_uri_read(dom_object *obj, zval **retval TSRMLS_DC);
131 int dom_node_prefix_read(dom_object *obj, zval **retval TSRMLS_DC);
132 int dom_node_prefix_write(dom_object *obj, zval *newval TSRMLS_DC);
133 int dom_node_local_name_read(dom_object *obj, zval **retval TSRMLS_DC);
134 int dom_node_base_uri_read(dom_object *obj, zval **retval TSRMLS_DC);
135 int dom_node_text_content_read(dom_object *obj, zval **retval TSRMLS_DC);
136 int dom_node_text_content_write(dom_object *obj, zval *newval TSRMLS_DC);
137 
138 /* nodelist properties */
139 int dom_nodelist_length_read(dom_object *obj, zval **retval TSRMLS_DC);
140 xmlNodePtr dom_nodelist_xml_item(dom_nnodemap_object *objmap, long index);
141 xmlNodePtr dom_nodelist_baseobj_item(dom_nnodemap_object *objmap, long index);
142 
143 /* notation properties */
144 int dom_notation_public_id_read(dom_object *obj, zval **retval TSRMLS_DC);
145 int dom_notation_system_id_read(dom_object *obj, zval **retval TSRMLS_DC);
146 
147 /* processinginstruction properties */
148 int dom_processinginstruction_target_read(dom_object *obj, zval **retval TSRMLS_DC);
149 int dom_processinginstruction_data_read(dom_object *obj, zval **retval TSRMLS_DC);
150 int dom_processinginstruction_data_write(dom_object *obj, zval *newval TSRMLS_DC);
151 
152 /* text properties */
153 int dom_text_whole_text_read(dom_object *obj, zval **retval TSRMLS_DC);
154 
155 /* typeinfo properties */
156 int dom_typeinfo_type_name_read(dom_object *obj, zval **retval TSRMLS_DC);
157 int dom_typeinfo_type_namespace_read(dom_object *obj, zval **retval TSRMLS_DC);
158 
159 #if defined(LIBXML_XPATH_ENABLED)
160 /* xpath properties */
161 int dom_xpath_document_read(dom_object *obj, zval **retval TSRMLS_DC);
162 #endif
163 
164 #endif /* DOM_PROPERTIERS_H */
165 
166 /*
167  * Local variables:
168  * tab-width: 4
169  * c-basic-offset: 4
170  * End:
171  * vim600: noet sw=4 ts=4 fdm=marker
172  * vim<600: noet sw=4 ts=4
173  */
174