1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279
|
<?php
// Start of libxml v.
class LibXMLError {
}
/**
* Set the streams context for the next libxml document load or write
* @link http://www.php.net/manual/en/function.libxml-set-streams-context.php
* @param streams_context resource <p>
* The stream context resource (created with
* stream_context_create)
* </p>
* @return void
*/
function libxml_set_streams_context ($streams_context) {}
/**
* Disable libxml errors and allow user to fetch error information as needed
* @link http://www.php.net/manual/en/function.libxml-use-internal-errors.php
* @param use_errors bool[optional] <p>
* Enable (true) user error handling or disable (false) user error handling. Disabling will also clear any existing libxml errors.
* </p>
* @return bool This function returns the previous value of
* use_errors.
*/
function libxml_use_internal_errors ($use_errors = null) {}
/**
* Retrieve last error from libxml
* @link http://www.php.net/manual/en/function.libxml-get-last-error.php
* @return LibXMLError a LibXMLError object if there is any error in the
* buffer, false otherwise.
*/
function libxml_get_last_error () {}
/**
* Clear libxml error buffer
* @link http://www.php.net/manual/en/function.libxml-clear-errors.php
* @return void
*/
function libxml_clear_errors () {}
/**
* Retrieve array of errors
* @link http://www.php.net/manual/en/function.libxml-get-errors.php
* @return array an array with LibXMLError objects if there are any
* errors in the buffer, or an empty array otherwise.
*/
function libxml_get_errors () {}
/**
* Disable the ability to load external entities
* @link http://www.php.net/manual/en/function.libxml-disable-entity-loader.php
* @param disable bool[optional] <p>
* Disable (true) or enable (false) libxml extensions (such as
* ,
* and ) to load external entities.
* </p>
* @return bool the previous value.
*/
function libxml_disable_entity_loader ($disable = null) {}
/**
* Changes the default external entity loader
* @link http://www.php.net/manual/en/function.libxml-set-external-entity-loader.php
* @param resolver_function callable <p>
* A callable that takes three arguments. Two strings, a public id
* and system id, and a context (an array with four keys) as the third argument.
* This callback should return a resource, a string from which a resource can be
* opened, or &null;.
* </p>
* @return void
*/
function libxml_set_external_entity_loader ($resolver_function) {}
/**
* libxml version like 20605 or 20617
* @link http://www.php.net/manual/en/libxml.constants.php
*/
define ('LIBXML_VERSION', 20901);
/**
* libxml version like 2.6.5 or 2.6.17
* @link http://www.php.net/manual/en/libxml.constants.php
*/
define ('LIBXML_DOTTED_VERSION', "2.9.1");
define ('LIBXML_LOADED_VERSION', 20901);
/**
* Substitute entities
* @link http://www.php.net/manual/en/libxml.constants.php
*/
define ('LIBXML_NOENT', 2);
/**
* Load the external subset
* @link http://www.php.net/manual/en/libxml.constants.php
*/
define ('LIBXML_DTDLOAD', 4);
/**
* Default DTD attributes
* @link http://www.php.net/manual/en/libxml.constants.php
*/
define ('LIBXML_DTDATTR', 8);
/**
* Validate with the DTD
* @link http://www.php.net/manual/en/libxml.constants.php
*/
define ('LIBXML_DTDVALID', 16);
/**
* Suppress error reports
* @link http://www.php.net/manual/en/libxml.constants.php
*/
define ('LIBXML_NOERROR', 32);
/**
* Suppress warning reports
* @link http://www.php.net/manual/en/libxml.constants.php
*/
define ('LIBXML_NOWARNING', 64);
/**
* Remove blank nodes
* @link http://www.php.net/manual/en/libxml.constants.php
*/
define ('LIBXML_NOBLANKS', 256);
/**
* Implement XInclude substitution
* @link http://www.php.net/manual/en/libxml.constants.php
*/
define ('LIBXML_XINCLUDE', 1024);
/**
* Remove redundant namespaces declarations
* @link http://www.php.net/manual/en/libxml.constants.php
*/
define ('LIBXML_NSCLEAN', 8192);
/**
* Merge CDATA as text nodes
* @link http://www.php.net/manual/en/libxml.constants.php
*/
define ('LIBXML_NOCDATA', 16384);
/**
* Disable network access when loading documents
* @link http://www.php.net/manual/en/libxml.constants.php
*/
define ('LIBXML_NONET', 2048);
/**
* Sets XML_PARSE_PEDANTIC flag, which enables pedentic error reporting.
*
*
* <p>
* Available as of PHP >= 5.4.0
* </p>
* @link http://www.php.net/manual/en/libxml.constants.php
*/
define ('LIBXML_PEDANTIC', 128);
/**
* Activate small nodes allocation optimization. This may speed up your
* application without needing to change the code.
*
*
* <p>
* Only available in Libxml >= 2.6.21
* </p>
* @link http://www.php.net/manual/en/libxml.constants.php
*/
define ('LIBXML_COMPACT', 65536);
/**
* Drop the XML declaration when saving a document
*
*
* <p>
* Only available in Libxml >= 2.6.21
* </p>
* @link http://www.php.net/manual/en/libxml.constants.php
*/
define ('LIBXML_NOXMLDECL', 2);
/**
* Sets XML_PARSE_HUGE flag, which relaxes any hardcoded limit from the parser. This affects
* limits like maximum depth of a document or the entity recursion, as well as limits of the
* size of text nodes.
*
*
* <p>
* Only available in Libxml >= 2.7.0 (as of PHP >= 5.3.2 and PHP >= 5.2.12)
* </p>
* @link http://www.php.net/manual/en/libxml.constants.php
*/
define ('LIBXML_PARSEHUGE', 524288);
/**
* Expand empty tags (e.g. to
* )
*
*
* <p>
* This option is currently just available in the
* and
* functions.
* </p>
* @link http://www.php.net/manual/en/libxml.constants.php
*/
define ('LIBXML_NOEMPTYTAG', 4);
/**
* Create default/fixed value nodes during XSD schema validation
*
*
* <p>
* Only available in Libxml >= 2.6.14 (as of PHP >= 5.5.2)
* </p>
* @link http://www.php.net/manual/en/libxml.constants.php
*/
define ('LIBXML_SCHEMA_CREATE', 1);
/**
* Sets HTML_PARSE_NOIMPLIED flag, which turns off the
* automatic adding of implied html/body... elements.
*
*
* <p>
* Only available in Libxml >= 2.7.7 (as of PHP >= 5.4.0)
* </p>
* @link http://www.php.net/manual/en/libxml.constants.php
*/
define ('LIBXML_HTML_NOIMPLIED', 8192);
/**
* Sets HTML_PARSE_NODEFDTD flag, which prevents a default doctype
* being added when one is not found.
*
*
* <p>
* Only available in Libxml >= 2.7.8 (as of PHP >= 5.4.0)
* </p>
* @link http://www.php.net/manual/en/libxml.constants.php
*/
define ('LIBXML_HTML_NODEFDTD', 4);
/**
* No errors
* @link http://www.php.net/manual/en/libxml.constants.php
*/
define ('LIBXML_ERR_NONE', 0);
/**
* A simple warning
* @link http://www.php.net/manual/en/libxml.constants.php
*/
define ('LIBXML_ERR_WARNING', 1);
/**
* A recoverable error
* @link http://www.php.net/manual/en/libxml.constants.php
*/
define ('LIBXML_ERR_ERROR', 2);
/**
* A fatal error
* @link http://www.php.net/manual/en/libxml.constants.php
*/
define ('LIBXML_ERR_FATAL', 3);
// End of libxml v.
?>
|