js-xmlrpc

Class GLOBALS

Object
   |
   +--GLOBALS

class GLOBALS

 
Method Summary
<static> string base64_decode(<string> aString)
           Decodes a Base64 encoded string to a byte string.
<static> string base64_encode(<string> aString)
           Encodes a string using Base64.
<static> string htmlentities(<string> val, quote_style)
           Debug helper.
<static> Date iso8601_decode(<string> time, <boolean> utc)
           Given an ISO8601 date string, return a date obj in the localtime, or UTC
<static> string iso8601_encode(<Date> time, <boolean> utc)
           Given a Date object, returns its representation in the iso8601 format used by xmlrpc
<static> Object jsonrpc_decode(jsonrpc_val, options)
           Takes a json value in jsonrpcval object format and translates it into native javascript types.
<static> false | jsonrpcresp | jsonrpcmsg | jsonrpcval jsonrpc_decode_json(<string> json_val, <object> options)
           Convert the json representation of a jsonrpc method call, jsonrpc method response or single json value into the appropriate object (deserialize)
<static> Object jsonrpc_encode(js_val, options)
           Takes native javascript types and encodes them into jsonrpc object format.
<static> string var_export(<mixed> val, <boolean> ret, <boolean> whitespaces)
           Debug helper.
<static> Object wrap_xmlrpc_method(client, methodname, extra_options)
           Given an xmlrpc client and a method name, register a js wrapper function that will call it and return results using native js types for both params and results.
<static> Object wrap_xmlrpc_server(client, extra_options)
           Similar to wrap_xmlrpc_method, but will generate a javascript class that wraps all xmlrpc methods exposed by the remote server as own methods.
<static> void xmlrpc_debug_log(<string> logmsg)
           Function used to send a debug message to the log.
<static> mixed xmlrpc_decode(<xmlrpcval> xmlrpc_val, options)
           Takes an xmlrpc value in xmlrpcval object format and translates it into native javascript types.
<static> mixed xmlrpc_decode_xml(<string> xml_val, <array> options)
           !!!
<static> xmlrpcval xmlrpc_encode(<mixed> js_val, <array> options)
           Takes native javascript types and encodes them recursively into xmlrpcval object format.
<static> void xmlrpc_error_log(errormsg)
           Function used to send an error message to the log.


Method Detail

base64_decode

<static> string base64_decode(<string> aString)

base64_encode

<static> string base64_encode(<string> aString)

htmlentities

<static> string htmlentities(<string> val, quote_style)

iso8601_decode

<static> Date iso8601_decode(<string> time, <boolean> utc)

iso8601_encode

<static> string iso8601_encode(<Date> time, <boolean> utc)

jsonrpc_decode

<static> Object jsonrpc_decode(jsonrpc_val, options)

jsonrpc_decode_json

<static> false | jsonrpcresp | jsonrpcmsg | jsonrpcval jsonrpc_decode_json(<string> json_val, <object> options)

jsonrpc_encode

<static> Object jsonrpc_encode(js_val, options)

var_export

<static> string var_export(<mixed> val, <boolean> ret, <boolean> whitespaces)

wrap_xmlrpc_method

<static> Object wrap_xmlrpc_method(client, methodname, extra_options)

wrap_xmlrpc_server

<static> Object wrap_xmlrpc_server(client, extra_options)

xmlrpc_debug_log

<static> void xmlrpc_debug_log(<string> logmsg)

xmlrpc_decode

<static> mixed xmlrpc_decode(<xmlrpcval> xmlrpc_val, options)

xmlrpc_decode_xml

<static> mixed xmlrpc_decode_xml(<string> xml_val, <array> options)

xmlrpc_encode

<static> xmlrpcval xmlrpc_encode(<mixed> js_val, <array> options)

xmlrpc_error_log

<static> void xmlrpc_error_log(errormsg)

js-xmlrpc

Documentation generated by JSDoc on Tue Jun 26 14:36:04 2007