[ Index ]
 

Code source de Joomla 1.0.13

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/includes/domit/ -> dom_xmlrpc_builder.php (sommaire)

dom_xmlrpc_builder is a utility for building string representations of XML-RPC documents

Author: John Heinstein <johnkarl@nbnet.nb.ca>
Copyright: (C) 2004 John Heinstein. All rights reserved
License: http://www.gnu.org/copyleft/lesser.html LGPL License
Poids: 399 lignes (12 kb)
Inclus ou requis: 3 fois
Référencé: 0 fois
Nécessite: 5 fichiers
 includes/domit/dom_xmlrpc_utilities.php
 includes/domit/dom_xmlrpc_constants.php
 includes/domit/dom_xmlrpc_object.php
 includes/domit/dom_xmlrpc_datetime_iso8601.php
 includes/domit/dom_xmlrpc_base64.php

Définit 1 class

dom_xmlrpc_builder:: (20 méthodes):
  setObjectMarshalling()
  createScalar()
  addScalar()
  createArray()
  addArray()
  addArrayByRef()
  createObject()
  addObject()
  addObjectByRef()
  createStruct()
  addStruct()
  addStructByRef()
  createMember()
  create()
  add()
  addByRef()
  addList()
  createBase64()
  createBase64FromFile()
  createDateTimeISO()


Classe: dom_xmlrpc_builder  - X-Ref

A utility for building string representations of XML-RPC documents

setObjectMarshalling($type)   X-Ref
Invokes the ability to pass PHP objects in addition to basic native types such as int and string

param: string The type of object marshalling to be invoked: either anonymous, named, or serialized

createScalar($value, $type = '')   X-Ref
Creates an XML-RPC representation of a scalar value (e.g. string, double, boolean)

param: mixed The value to be converted to XML-RPC notation
param: string The type of the value (will be autodetected if omitted)
return: string An XML-RPC representation of the value

addScalar($value, $type = '')   X-Ref
Generates an XML-RPC param from the scalar and adds it to the method params

param: mixed The value to be converted to XML-RPC notation
param: string The type of the value (will be autodetected if omitted)

createArray(&$myArray)   X-Ref
Creates an XML-RPC representation of a PHP array

param: array The array to be converted to XML-RPC notation
return: string An XML-RPC representation of the array

addArray($myArray)   X-Ref
Generates an XML-RPC param from the array and adds it to the method params

param: array The array to be converted to XML-RPC notation

addArrayByRef(&$myArray)   X-Ref
Generates an XML-RPC param from the array reference and adds it to the method params

param: array The array reference to be converted to XML-RPC notation

createObject(&$myObject)   X-Ref
Creates an XML-RPC representation of a PHP object

param: object The object to be converted to XML-RPC notation
return: string An XML-RPC representation of the object

addObject($myObject)   X-Ref
Generates an XML-RPC param from the object and adds it to the method params

param: object The object to be converted to XML-RPC notation

addObjectByRef(&$myObject)   X-Ref
Generates an XML-RPC param from the object reference and adds it to the method params

param: object The object reference to be converted to XML-RPC notation

createStruct(&$myStruct)   X-Ref
Creates an XML-RPC representation of a struct

param: mixed The struct to be converted to XML-RPC notation
return: string An XML-RPC representation of the struct

addStruct($myStruct)   X-Ref
Generates an XML-RPC param from the struct and adds it to the method params

param: mixed The struct to be converted to XML-RPC notation

addStructByRef(&$myStruct)   X-Ref
Generates an XML-RPC param from the struct reference and adds it to the method params

param: mixed The struct reference to be converted to XML-RPC notation

createMember($name, &$value, $type)   X-Ref
Creates an XML-RPC representation of a member

param: mixed The member to be converted to XML-RPC notation
return: string An XML-RPC representation of the member

create(&$value, $type = '')   X-Ref
Generates an XML-RPC param from the value and adds it to the method params

param: mixed The value to be converted to XML-RPC notation

add($value, $type = '')   X-Ref
Generates an XML-RPC param from the unspecified value

param: mixed The value to be converted to XML-RPC notation

addByRef(&$value, $type = '')   X-Ref
Generates an XML-RPC param from the unspecified reference

param: mixed The reference to be converted to XML-RPC notation

addList()   X-Ref
Generates an XML-RPC param from list of values


createBase64($binaryData)   X-Ref
Creates a dom_xmlrpc_base64 object from the binary data

param: mixed The binary data
return: object The base64 encoded data

createBase64FromFile($fileName)   X-Ref
Creates a dom_xmlrpc_base64 object from the file

param: string The file path
return: object The base64 encoded data

createDateTimeISO($time)   X-Ref
Creates a dom_xmlrpc_datetime_iso8601 object from the PHP time

param: string The time
return: object The dom_xmlrpc_datetime_iso8601 object



Généré le : Wed Nov 21 14:43:32 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics