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 xmlrpcresp

Located at wa-apps/blog/plugins/import/vendors/xmlrpc/lib/xmlrpc.php
Methods summary
public
# xmlrpcresp( mixed $val, integer $fcode = 0, string $fstr = '', string $valtyp = '' )

Parameters

$val
mixed
$val either an xmlrpcval obj, a php value or the xml serialization of an xmlrpcval (a string)
$fcode
integer
$fcode set it to anything but 0 to create an error response
$fstr
string
$fstr the error string, in case of an error response
$valtyp
string
$valtyp either 'xmlrpcvals', 'phpvals' or 'xml'

Todo

add check that $val / $fcode / $fstr is of correct type??? NB: as of now we do not do it, since it might be either an xmlrpcval or a plain php val, or a complete xml chunk, depending on usage of xmlrpc_client::send() inside which creator is called...
public integer
# faultCode( )

Returns the error code of the response.

Returns the error code of the response.

Returns

integer
the error code of this response (0 for not-error responses)
public string
# faultString( )

Returns the error code of the response.

Returns the error code of the response.

Returns

string
the error string of this response ('' for not-error responses)
public mixed
# value( )

Returns the value received by the server.

Returns the value received by the server.

Returns

mixed
the xmlrpcval object returned by the server. Might be an xml string or php value if the response has been created by specially configured xmlrpc_client objects
public array
# cookies( )

Returns an array with the cookies received from the server. Array has the form: $cookiename => array ('value' => $val, $attr1 => $val1, $attr2 = $val2, ...) with attributes being e.g. 'expires', 'path', domain'. NB: cookies sent as 'expired' by the server (i.e. with an expiry date in the past) are still present in the array. It is up to the user-defined code to decide how to use the received cookies, and wheter they have to be sent back with the next request to the server (using xmlrpc_client::setCookie) or not

Returns an array with the cookies received from the server. Array has the form: $cookiename => array ('value' => $val, $attr1 => $val1, $attr2 = $val2, ...) with attributes being e.g. 'expires', 'path', domain'. NB: cookies sent as 'expired' by the server (i.e. with an expiry date in the past) are still present in the array. It is up to the user-defined code to decide how to use the received cookies, and wheter they have to be sent back with the next request to the server (using xmlrpc_client::setCookie) or not

Returns

array
array of cookies received from the server
public string
# serialize( string $charset_encoding = '' )

Returns xml representation of the response. XML prologue not included

Returns xml representation of the response. XML prologue not included

Parameters

$charset_encoding
string
$charset_encoding the charset to be used for serialization. if null, US-ASCII is assumed

Returns

string
the xml representation of the response
Properties summary
public integer $val 0
#
public mixed $valtyp
#
public integer $errno 0
#
public string $errstr ''
#
public mixed $payload
#
public array $hdrs array()
#
public array $_cookies array()
#
public string $content_type 'text/xml'
#
public string $raw_data ''
#
My fork of Webasyst Framework API documentation generated by ApiGen 2.8.0