[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 165 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
WP_Ajax_Response:: (3 methods):
__construct()
add()
send()
Class: WP_Ajax_Response - X-Ref
Send XML response back to Ajax request.__construct( $args = '' ) X-Ref |
Constructor - Passes args to WP_Ajax_Response::add(). param: string|array $args Optional. Will be passed to add() method. |
add( $args = '' ) X-Ref |
Appends data to an XML response based on given arguments. With `$args` defaults, extra data output would be: <response action='{$action}_$id'> <$what id='$id' position='$position'> <response_data><![CDATA[$data]]></response_data> </$what> </response> param: string|array $args { return: string XML response. |
send() X-Ref |
Display XML formatted responses. Sets the content type header to text/xml. |
Generated : Thu Nov 21 08:20:01 2024 | Cross-referenced by PHPXref |