Overview

Packages

  • akismet
  • None
  • PHP
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • plugins
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Signatures
    • Signed
    • Transport
  • wa-apps
    • blog
      • actions
        • backend
        • blog
        • comment
        • cron
        • design
        • frontend
        • page
        • plugin
        • post
      • api
        • v1
      • cli
      • layout
      • model
      • plugin
        • aksimet
        • category
        • emailsubscription
        • favorite
        • gravatar
        • import
        • markdown
        • myposts
        • tag
        • troll
      • settings
    • checklists
      • backend
      • json
    • contacts
      • backend
    • developer
    • dummy
    • guestbook
    • guestbook2
    • photos
      • album
      • api
        • v1
      • backend
      • design
      • dialog
      • frontend
      • page
      • photo
      • plugin
        • comment
        • imageeffects
        • import
        • publicgallery
        • watermark
      • search
      • settings
      • stack
      • tag
      • upload
    • site
      • backend
      • blocks
      • config
      • design
      • domains
      • files
      • frontend
      • helper
      • layout
      • pages
      • routing
      • setting
    • stickies
      • api
        • v1
      • sheet
      • stiky
  • wa-plugin
    • payment
    • shipping
    • sms
  • wa-plugins
    • shipping
      • usps
  • wa-system
    • API
    • Auth
      • Adapters
    • Autoload
    • Cache
      • Adapter
    • Captcha
    • Config
    • Contact
    • controller
    • currency
    • database
    • datetime
    • design
    • event
    • exception
    • files
    • image
    • layout
    • locale
    • log
    • mail
    • page
      • action
      • model
    • payment
    • plugin
    • request
    • response
    • routing
    • shipping
    • sms
    • storage
    • user
    • util
    • validator
    • view
    • webasyst
      • api
      • backend
      • cli
      • config
      • layout
      • login
      • model
      • password
      • payment
      • profile
      • settings
      • shipment
    • widget
    • workflow
  • waPlugins
    • Payment
  • webasyst
    • wa-system
      • helper

Classes

  • cancelBill
  • cancelBillResponse
  • checkBill
  • checkBillResponse
  • createBill
  • createBillResponse
  • getBillList
  • getBillListResponse
  • idna_convert
  • IShopClientWSService
  • IShopServerWSService
  • nusoap_base
  • nusoap_client
  • nusoap_fault
  • nusoap_parser
  • nusoap_server
  • nusoap_xmlschema
  • ReCaptchaResponse
  • Smarty_Internal_Configfileparser
  • Smarty_Internal_Templateparser
  • soap_fault
  • soap_parser
  • soap_server
  • soap_transport_http
  • soapclient
  • soapval
  • TP_yyStackEntry
  • TPC_yyStackEntry
  • updateBill
  • updateBillResponse
  • waIdna
  • wsdl
  • xmlrpc_client
  • xmlrpcmsg
  • xmlrpcresp
  • xmlrpcval
  • XMLSchema

Functions

  • _recaptcha_aes_encrypt
  • _recaptcha_aes_pad
  • _recaptcha_http_post
  • _recaptcha_mailhide_email_parts
  • _recaptcha_mailhide_urlbase64
  • _recaptcha_qsencode
  • _swiftmailer_init
  • decode_chunked
  • generateUpToDateMimeArray
  • guess_encoding
  • is_valid_charset
  • iso8601_decode
  • iso8601_encode
  • iso8601_to_timestamp
  • php_xmlrpc_decode
  • php_xmlrpc_decode_xml
  • php_xmlrpc_encode
  • recaptcha_check_answer
  • recaptcha_get_html
  • recaptcha_get_signup_url
  • recaptcha_mailhide_html
  • recaptcha_mailhide_url
  • smarty_block_wa_js
  • smarty_function_escape_special_chars
  • smarty_function_wa_action
  • smarty_function_wa_block
  • smarty_function_wa_header
  • smarty_function_wa_pagination
  • smarty_function_wa_print_tree
  • smarty_function_wa_snippet
  • smarty_gettext_s_translate
  • smarty_gettext_translate
  • smarty_prefilter_content_nofilter
  • smarty_prefilter_translate
  • timestamp_to_iso8601
  • usleepWindows
  • wa_array_diff_r
  • wa_currency_html
  • xmlrpc_cd
  • xmlrpc_dh
  • xmlrpc_ee
  • xmlrpc_ee_fast
  • xmlrpc_encode_entitites
  • xmlrpc_se
  • xmlrpc_se_any
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class xmlrpcmsg

Located at wa-apps/blog/plugins/import/vendors/xmlrpc/lib/xmlrpc.php
Methods summary
public
# xmlrpcmsg( string $meth, array $pars = 0 )

Parameters

$meth
string
$meth the name of the method to invoke
$pars
array
$pars array of parameters to be paased to the method (xmlrpcval objects)
public
# xml_header( mixed $charset_encoding = '' )
public
# xml_footer( )
public
# kindOf( )
public
# createPayload( mixed $charset_encoding = '' )
public string
# method( string $meth = '' )

Gets/sets the xmlrpc method to be invoked

Gets/sets the xmlrpc method to be invoked

Parameters

$meth
string
$meth the method to be set (leave empty not to set it)

Returns

string
the method that will be invoked
public string
# serialize( mixed $charset_encoding = '' )

Returns xml representation of the message. XML prologue included

Returns xml representation of the message. XML prologue included

Returns

string
the xml representation of the message, xml prologue included
public boolean
# addParam( xmlrpcval $par )

Add a parameter to the list of parameters to be used upon method invocation

Add a parameter to the list of parameters to be used upon method invocation

Parameters

$par
xmlrpcval
$par

Returns

boolean
false on failure
public xmlrpcval
# getParam( integer $i )

Returns the nth parameter in the message. The index zero-based.

Returns the nth parameter in the message. The index zero-based.

Parameters

$i
integer
$i the index of the parameter to fetch (zero based)

Returns

xmlrpcval
the i-th parameter
public integer
# getNumParams( )

Returns the number of parameters in the messge.

Returns the number of parameters in the messge.

Returns

integer
the number of parameters currently set
public xmlrpcresp &
# parseResponseFile( mixed $fp )

Given an open file handle, read all data available and parse it as axmlrpc response. NB: the file handle is not closed by this function. NNB: might have trouble in rare cases to work on network streams, as we
check for a read of 0 bytes instead of feof($fp).
But since checking for feof(null) returns false, we would risk an
infinite loop in that case, because we cannot trust the caller
to give us a valid pointer to an open file...

Given an open file handle, read all data available and parse it as axmlrpc response. NB: the file handle is not closed by this function. NNB: might have trouble in rare cases to work on network streams, as we check for a read of 0 bytes instead of feof($fp). But since checking for feof(null) returns false, we would risk an infinite loop in that case, because we cannot trust the caller to give us a valid pointer to an open file...

Returns

xmlrpcresp

Todo

add 2nd & 3rd param to be passed to ParseResponse() ???
public &
# parseResponseHeaders( mixed & $data, mixed $headers_processed = false )

Parses HTTP headers and separates them from data.

Parses HTTP headers and separates them from data.

public xmlrpcresp &
# parseResponse( string $data = '', boolean $headers_processed = false, string $return_type = 'xmlrpcvals' )

Parse the xmlrpc response contained in the string $data and return an xmlrpcresp object.

Parse the xmlrpc response contained in the string $data and return an xmlrpcresp object.

Parameters

$data
string
$data the xmlrpc response, eventually including http headers
$headers_processed
boolean
$headers_processed when true prevents parsing HTTP headers for interpretation of content-encoding and consequent decoding
$return_type
string
$return_type decides return type, i.e. content of response->value(). Either 'xmlrpcvals', 'xml' or 'phpvals'

Returns

xmlrpcresp
Properties summary
public mixed $payload
#
public mixed $methodname
#
public array $params array()
#
public integer $debug 0
#
public string $content_type 'text/xml'
#
My fork of Webasyst Framework API documentation generated by ApiGen 2.8.0