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

Class: XML_RPC_Value

Source Location: /XML_RPC-1.5.1/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 Variables

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 1576]
The methods and properties that represent data in XML RPC format


[ Top ]


Class Variables

$me = array()

[line 1578]


Type:   mixed


[ Top ]

$mytype =  0

[line 1579]


Type:   mixed


[ Top ]



Method Detail

XML_RPC_Value (Constructor)   [line 1584]

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


Parameters:

   $val   — 
   $type   — 

[ Top ]

addArray   [line 1649]

int addArray( $vals)

  • Return: returns 1 if successful or 0 if there are problems

Parameters:

   $vals   — 

[ Top ]

addScalar   [line 1608]

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

  • Return: returns 1 if successful or 0 if there are problems

Parameters:

   $val   — 
   $type   — 

[ Top ]

addStruct   [line 1665]

int addStruct( $vals)

  • Return: returns 1 if successful or 0 if there are problems

Parameters:

   $vals   — 

[ Top ]

arraymem   [line 1877]

mixed arraymem( $m)

  • Return: the struct's current element

Parameters:

   $m   — 

[ Top ]

arraysize   [line 1885]

int arraysize( )

  • Return: the number of elements in the array

[ Top ]

dump   [line 1681]

void dump( $ar)


Parameters:

   $ar   — 

[ Top ]

getval   [line 1814]

mixed getval( )

  • Return: the current value

[ Top ]

isValue   [line 1902]

bool isValue( mixed $val)

Determines if the item submitted is an XML_RPC_Value object
  • 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 ]

kindOf   [line 1697]

string kindOf( )

  • Return: the data type of the current value

[ Top ]

scalartyp   [line 1864]

string scalartyp( )


[ Top ]

scalarval   [line 1851]

mixed scalarval( )

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

[ Top ]

serialize   [line 1768]

string serialize( )

  • Return: the data in XML format

[ Top ]

serializedata   [line 1717]

string serializedata( $typ, $val)

  • Return: the data in XML format

Parameters:

   $typ   — 
   $val   — 

[ Top ]

serializeval   [line 1776]

string serializeval( $o)

  • Return: the data in XML format

Parameters:

   $o   — 

[ Top ]

structeach   [line 1806]

the structeach( )

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

[ Top ]

structmem   [line 1790]

mixed structmem( $m)

  • Return: the contents of the element requested

Parameters:

   $m   — 

[ Top ]

structreset   [line 1798]

void structreset( )


[ Top ]


Documentation generated on Thu, 10 Dec 2015 05:42:30 +0000 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.