XML_RPC2
[ class tree: XML_RPC2 ] [ index: XML_RPC2 ] [ all elements ]

Class: XML_RPC2_Backend_Php_Value_Array

Source Location: /XML_RPC2-1.1.2/XML/RPC2/Backend/Php/Value/Array.php

Class Overview

XML_RPC2_Value
   |
   --XML_RPC2_Backend_Php_Value
      |
      --XML_RPC2_Backend_Php_Value_Array

XML_RPC array value class. Represents values of type array


Author(s):

  • Sergio Carvalho

Copyright:

  • 2004-2005 Sergio Carvalho

Methods


Inherited Variables

Inherited Methods

Class: XML_RPC2_Backend_Php_Value

XML_RPC2_Backend_Php_Value::createFromDecode()
Decode an encoded value and build the applicable XML_RPC2_Value subclass
XML_RPC2_Backend_Php_Value::createFromNative()
Choose a XML_RPC2_Value subclass appropriate for the given value and create it.
XML_RPC2_Backend_Php_Value::getNativeValue()
nativeValue property getter
XML_RPC2_Backend_Php_Value::setNativeValue()
nativeValue setter

Class: XML_RPC2_Value

XML_RPC2_Value::createFromNative()
Factory method that constructs the appropriate XML-RPC encoded type value

Class Details

[line 53]
XML_RPC array value class. Represents values of type array
  • Author: Sergio Carvalho
  • Copyright: 2004-2005 Sergio Carvalho


[ Top ]


Method Detail

__construct (Constructor)   [line 79]

XML_RPC2_Backend_Php_Value_Array __construct( mixed $nativeValue)

Constructor. Will build a new XML_RPC2_Backend_Php_Value_Array with the given nativeValue
  • Access: public

Parameters:

mixed   $nativeValue   —  nativeValue

[ Top ]

decode   [line 114]

void decode( mixed $xml)

Decode transport XML and set the instance value accordingly
  • Access: public

Parameters:

mixed   $xml   —  The encoded XML-RPC value,

[ Top ]

encode   [line 92]

string encode( )

Encode the instance into XML, for transport
  • Return: The encoded XML-RPC value,
  • Access: public

[ Top ]

setNativeValue   [line 63]

void setNativeValue( mixed $value)

nativeValue property setter
  • Access: protected

Overrides XML_RPC2_Backend_Php_Value::setNativeValue() (nativeValue setter)

Parameters:

mixed   $value   —  value the new nativeValue

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:56:38 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.