Overview

Packages

  • currencysymbol
  • MAbout
  • Mage
    • Admin
    • Adminhtml
    • AdminNotification
    • Api
    • Api2
    • Authorizenet
    • Backup
    • Bundle
    • Captcha
    • Catalog
    • CatalogIndex
    • CatalogInventory
    • CatalogRule
    • CatalogSearch
    • Centinel
    • Checkout
    • Cms
    • Compiler
    • Connect
    • Contacts
    • Core
    • Cron
    • CurrencySymbol
    • Customer
    • Dataflow
    • Directory
    • DirtectPost
    • Downloadable
    • Eav
    • GiftMessage
    • GoogleAnalytics
    • GoogleBase
    • GoogleCheckout
    • ImportExport
    • Index
    • Install
    • Log
    • Media
    • Newsletter
    • Oauth
    • Page
    • PageCache
    • Paygate
    • Payment
    • Paypal
    • PaypalUk
    • Persistent
    • Poll
    • ProductAlert
    • Rating
    • Reports
    • Review
    • Rss
    • Rule
    • Sales
    • SalesRule
    • Sedfriend
    • Sendfriend
    • Shipping
    • Sitemap
    • Tag
    • Tax
    • Usa
    • Weee
    • Widget
    • Wishlist
    • XmlConnect
  • None
  • Phoenix
    • Moneybookers
  • PHP
  • Zend
    • Date
    • Mime
    • XmlRpc

Classes

  • Zend_XmlRpc_Request
  • Zend_XmlRpc_Response
  • Overview
  • Package
  • Class
  • Tree

Class Zend_XmlRpc_Response

XmlRpc Response

Container for accessing an XMLRPC return value and creating the XML response.

Package: Zend\XmlRpc
Category: Zend
Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: New BSD License
Version: $Id: Response.php 21359 2010-03-07 00:54:02Z lars $
Located at code/core/Zend/XmlRpc/Response.php
Methods summary
public
# __construct( mixed $return = null, string $type = null )

Constructor

Constructor

Can optionally pass in the return value and type hinting; otherwise, the return value can be set via Zend_XmlRpc_Response::setReturnValue().

Parameters

$return
mixed
$return
$type
string
$type
public Zend_XmlRpc_Response
# setEncoding( string $encoding )

Set encoding to use in response

Set encoding to use in response

Parameters

$encoding
string
$encoding

Returns

Zend_XmlRpc_Response
public string
# getEncoding( )

Retrieve current response encoding

Retrieve current response encoding

Returns

string
public
# setReturnValue( mixed $value, string $type = null )

Set the return value

Set the return value

Sets the return value, with optional type hinting if provided.

Parameters

$value
mixed
$value
$type
string
$type
public mixed
# getReturnValue( )

Retrieve the return value

Retrieve the return value

Returns

mixed
protected Zend_XmlRpc_Value
# _getXmlRpcReturn( )

Retrieve the XMLRPC value for the return value

Retrieve the XMLRPC value for the return value

Returns

Zend_XmlRpc_Value
public boolean
# isFault( )

Is the response a fault response?

Is the response a fault response?

Returns

boolean
public null|Zend_XmlRpc_Fault
# getFault( )

Returns the fault, if any.

Returns the fault, if any.

Returns

null|Zend_XmlRpc_Fault
public boolean
# loadXml( string $response )

Load a response from an XML response

Load a response from an XML response

Attempts to load a response from an XMLRPC response, autodetecting if it is a fault response.

Parameters

$response
string
$response

Returns

boolean
True if a valid XMLRPC response, false if a fault response or invalid input
public string
# saveXml( )

Return response as XML

Return response as XML

Returns

string
public string
# __toString( )

Return XML response

Return XML response

Returns

string
Properties summary
protected mixed $_return
#

Return value

Return value

protected string $_type
#

Return type

Return type

protected string $_encoding 'UTF-8'
#

Response character encoding

Response character encoding

protected null|Zend_XmlRpc_Fault $_fault null
#

Fault, if response is a fault response

Fault, if response is a fault response

Magento 1.7.0.2 API documentation generated by ApiGen 2.8.0