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

Class: XML_RPC_Value

Source Location: /modules/pearxmlrpc/rpc.php

Class Overview

XML_RPC_Base
   |
   --XML_RPC_Value

The methods and properties that represent data in XML RPC format


Author(s):

Version:

  • Release: 1.5.1

Copyright:

  • 1999-2001 Edd Dumbill, 2001-2006 The PHP Group

Variables

Methods


Inherited Methods

Class: XML_RPC_Base

XML_RPC_Base::isError()
Tell whether something is a PEAR_Error object
XML_RPC_Base::raiseError()
PEAR Error handling

Class Details

[line 1584]
The methods and properties that represent data in XML RPC format



Tags:

author:  Daniel Convissor <danielc@php.net>
author:  Stig Bakken <stig@php.net>
author:  Edd Dumbill <edd@usefulinc.com>
author:  Martin Jansen <mj@php.net>
version:  Release: 1.5.1
copyright:  1999-2001 Edd Dumbill, 2001-2006 The PHP Group
link:  http://pear.php.net/package/XML_RPC


[ Top ]


Class Variables

$me = array()

[line 1586]


Type:   mixed


[ Top ]

$mytype =  0

[line 1587]


Type:   mixed


[ Top ]



Class Methods


static method isValue [line 1912]

static bool isValue( mixed $val)

Determines if the item submitted is an XML_RPC_Value object



Tags:

return:  TRUE if the item is an XML_RPC_Value object
since:  Method available since Release 1.3.0


Parameters:

mixed   $val   the variable to be evaluated

[ Top ]

constructor XML_RPC_Value [line 1592]

void XML_RPC_Value( [ $val = -1], [ $type = ''])



Parameters:

   $val  
   $type  

[ Top ]

method addArray [line 1657]

int addArray( $vals)



Tags:

return:  returns 1 if successful or 0 if there are problems


Parameters:

   $vals  

[ Top ]

method addScalar [line 1616]

int addScalar( $val, [ $type = 'string'])



Tags:

return:  returns 1 if successful or 0 if there are problems


Parameters:

   $val  
   $type  

[ Top ]

method addStruct [line 1673]

int addStruct( $vals)



Tags:

return:  returns 1 if successful or 0 if there are problems


Parameters:

   $vals  

[ Top ]

method arraymem [line 1887]

mixed arraymem( $m)



Tags:

return:  the struct's current element


Parameters:

   $m  

[ Top ]

method arraysize [line 1895]

int arraysize( )



Tags:

return:  the number of elements in the array


[ Top ]

method dump [line 1689]

void dump( $ar)



Parameters:

   $ar  

[ Top ]

method getval [line 1824]

mixed getval( )



Tags:

return:  the current value


[ Top ]

method kindOf [line 1705]

string kindOf( )



Tags:

return:  the data type of the current value


[ Top ]

method scalartyp [line 1874]

string scalartyp( )



[ Top ]

method scalarval [line 1861]

mixed scalarval( )



Tags:

return:  the current element's scalar value. If the value is not scalar, FALSE is returned.


[ Top ]

method serialize [line 1778]

string serialize( )



Tags:

return:  the data in XML format


[ Top ]

method serializedata [line 1725]

string serializedata( $typ, $val)



Tags:

return:  the data in XML format


Parameters:

   $typ  
   $val  

[ Top ]

method serializeval [line 1786]

string serializeval( $o)



Tags:

return:  the data in XML format


Parameters:

   $o  

[ Top ]

method structeach [line 1816]

the structeach( )



Tags:

return:  key/value pair of the struct's current element


[ Top ]

method structmem [line 1800]

mixed structmem( $m)



Tags:

return:  the contents of the element requested


Parameters:

   $m  

[ Top ]

method structreset [line 1808]

void structreset( )



[ Top ]


Documentation generated on Thu, 12 Feb 2009 08:00:07 +0900 by phpDocumentor 1.4.2