|
Home
iRate! IceMelon IM Tutorials Headlines CoolSites PHP Functions |
|
Most Referenced Functions » google_pagerank() » preg_replace() » imagecreatefrompng() » site_pageranks() » imagepng() » imagedestroy() » imagestring() » imagecolorallocate() » htmlentities() » preg_match() » fopen() » header() » getimagesize() » preg_match_all() » session_start() » htmlspecialchars() » ob_start() » ob_flush() » strstr() » flush() » strpos() » setcookie() » str_replace() » array2vars() » nl2br() » preg_split() » ereg() » ereg_replace() » urlencode() » readgzfile() Become a sponsor for $15/month. Link is sitewide - PR5 homepage, 20+ PR4 pages, 90+ PR3 pages. Email dave[AT]icemelon[D0T]c0m. |
PHP Functions
Function: xml_set_unparsed_entity_decl_handler (PHP 3 >= 3.0.6, PHP 4, PHP 5) xml_set_unparsed_entity_decl_handler -- Set up unparsed entity declaration handlerDescriptionbool xml_set_unparsed_entity_decl_handler ( resource parser, callback handler )Sets the unparsed entity 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 . This handler will be called if the XML parser encounters an external entity declaration with an NDATA declaration, like the following:
<!ENTITY <parameter>name</parameter> {<parameter>publicId</parameter> | <parameter>systemId</parameter>}
NDATA <parameter>notationName</parameter>
See section 4.2.2 of the XML 1.0 spec for the definition of notation declared external entities. The function named by handler must accept six parameters: handler ( resource parser, string entity_name, string base, string system_id, string public_id, string notation_name ) parser The first parameter, parser , is a reference to the XML parser calling the handler. entity_nameThe name of the entity that is about to be defined. baseThis is the base for resolving the system identifier ( systemId ) of the external entity. Currently this parameter will always be set to an empty string. system_idSystem identifier for the external entity. public_idPublic identifier for the external entity. notation_nameName of the notation of this entity (see xml_set_notation_decl_handler() ). 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. Note: Instead of a function name, an array containing an object reference and a method name can also be supplied. IntroductionThese functions can be used to write XML-RPC servers and clients. You can find more information about XML-RPC at http://www.xmlrpc.com/ , and more documentation on this extension and its functions at http://xmlrpc-epi.sourceforge.net/ . Warning This extension is EXPERIMENTAL . The behaviour of this extension -- including the names of its functions and anything else documented about this extension -- may change without notice in a future release of PHP. Use this extension at your own risk. RequirementsNo external libraries are needed to build this extension. InstallationXML-RPC support in PHP is not enabled by default. You will need to use the --with-xmlrpc[=DIR] configuration option when compiling PHP to enable XML-RPC support. This extension is bundled into PHP as of 4.1.0. Runtime ConfigurationThe behaviour of these functions is affected by settings in php.ini .
Table 1. XML-RPC configuration options Name Default Changeable Changelog xmlrpc_errors "0" PHP_INI_SYSTEM Available since PHP 4.1.0. xmlrpc_error_number "0" PHP_INI_ALL Available since PHP 4.1.0. For further details and definitions of the PHP_INI_* constants, see the Appendix H .Resource TypesThis extension has no resource types defined. Predefined ConstantsThis extension has no constants defined. Table of Contents xmlrpc_decode_request -- Decodes XML into native PHP types xmlrpc_decode -- Decodes XML into native PHP types xmlrpc_encode_request -- Generates XML for a method request xmlrpc_encode -- Generates XML for a PHP value xmlrpc_get_type -- Gets xmlrpc type for a PHP value xmlrpc_is_fault -- Determines if an array value represents an XMLRPC fault xmlrpc_parse_method_descriptions -- Decodes XML into a list of method descriptions xmlrpc_server_add_introspection_data -- Adds introspection documentation xmlrpc_server_call_method -- Parses XML requests and call methods xmlrpc_server_create -- Creates an xmlrpc server xmlrpc_server_destroy -- Destroys server resources xmlrpc_server_register_introspection_callback -- Register a PHP function to generate documentation xmlrpc_server_register_method -- Register a PHP function to resource method matching method_name xmlrpc_set_type -- Sets xmlrpc type, base64 or datetime, for a PHP string valueRelated Function(s) |