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

Class: XML_RPC2_Backend_Php_Value_Nil

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

Class Overview

XML_RPC2_Value
   |
   --XML_RPC2_Backend_Php_Value
      |
      --XML_RPC2_Backend_Php_Value_Scalar
         |
         --XML_RPC2_Backend_Php_Value_Nil

XML_RPC null value class. Instances of this class represent null scalars in XML_RPC


Author(s):

Copyright:

  • 2004-2006 Sergio Carvalho

Methods


Inherited Variables

Inherited Methods

Class: XML_RPC2_Backend_Php_Value_Scalar

XML_RPC2_Backend_Php_Value_Scalar::__construct()
Constructor. Will build a new XML_RPC2_Value_Scalar with the given nativeValue
XML_RPC2_Backend_Php_Value_Scalar::createFromNative()
Choose a XML_RPC2_Value subclass appropriate for the given value and create it.
XML_RPC2_Backend_Php_Value_Scalar::encode()
Encode the instance into XML, for transport
XML_RPC2_Backend_Php_Value_Scalar::getScalarType()
scalarType property getter
XML_RPC2_Backend_Php_Value_Scalar::setScalarType()
scalarType property setter

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 57]
XML_RPC null value class. Instances of this class represent null scalars in XML_RPC


[ Top ]


Method Detail

__construct (Constructor)   [line 67]

XML_RPC2_Backend_Php_Value_Nil __construct( mixed 0)

Constructor. Will build a new XML_RPC2_Backend_Php_Value_Nil with the given value
  • Access: public

Overrides XML_RPC2_Backend_Php_Value_Scalar::__construct() (Constructor. Will build a new XML_RPC2_Value_Scalar with the given nativeValue)

Parameters:

mixed   0   —  value

[ Top ]

decode   [line 81]

void decode( mixed $xml)

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

Parameters:

mixed   $xml   —  The decoded XML-RPC value,

[ Top ]


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