|
xml_set_external_entity_ref_handler(PHP3 >= 3.0.6, PHP4 ) xml_set_external_entity_ref_handler -- set up external entity reference handlerDescription
Sets the notation declaration handler function for the XML parser parser. handler is a string containing the name of a function that must exist when xml_parse() is called for parser. The function named by handler must accept five parameters, and should return an integer value. If the value returned from the handler is false (which it will be if no value is returned), the XML parser will stop parsing and xml_get_error_code() will return XML_ERROR_EXTERNAL_ENTITY_HANDLING.
If a handler function is set to an empty string, or false, the handler in question is disabled. True is returned if the handler is set up, false if parser is not a parser. There is currently no support for object/method handlers. See xml_set_object() for using the XML parser within an object. |
|||||||||||||||||
With any suggestions or questions please feel free to contact us |