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

Class: XML_RPC2_Value

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

Class Overview


XML_RPC value abstract class. All XML_RPC value classes inherit from XML_RPC2_Value


Author(s):

Copyright:

  • 2004-2006 Sergio Carvalho

Methods


Child classes:

XML_RPC2_Backend_Php_Value
XML_RPC value abstract class. All XML_RPC value classes inherit from XML_RPC2_Value

Inherited Variables

Inherited Methods


Class Details

[line 57]
XML_RPC value abstract class. All XML_RPC value classes inherit from XML_RPC2_Value


[ Top ]


Method Detail

createFromNative   [line 68]

mixed createFromNative( mixed $value, [string $explicitType = null])

Factory method that constructs the appropriate XML-RPC encoded type value
  • Return: The encoded value
  • Access: public

Overridden in child classes as:

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_Scalar::createFromNative()
Choose a XML_RPC2_Value subclass appropriate for the given value and create it.

Parameters:

mixed   $value   —  Value to be encode
string   $explicitType   —  (optional) Explicit XML-RPC type as enumerated in the XML-RPC spec (defaults to automatically selected type)

[ Top ]


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