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

Class: XML_RPC_Value

Source Location: /XML_RPC-1.4.7/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.4.7

Copyright:

  • 1999-2001 Edd Dumbill, 2001-2005 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 1482]
The methods and properties that represent data in XML RPC format


[ Top ]


Class Variables

$me = array()

[line 1484]


Type:   mixed


[ Top ]

$mytype =  0

[line 1485]


Type:   mixed


[ Top ]



Method Detail

XML_RPC_Value (Constructor)   [line 1490]

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


Parameters:

   $val   — 
   $type   — 

[ Top ]

addArray   [line 1558]

int addArray( $vals)

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

Parameters:

   $vals   — 

[ Top ]

addScalar   [line 1515]

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

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

Parameters:

   $val   — 
   $type   — 

[ Top ]

addStruct   [line 1575]

int addStruct( $vals)

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

Parameters:

   $vals   — 

[ Top ]

arraymem   [line 1787]

mixed arraymem( $m)

  • Return: the struct's current element

Parameters:

   $m   — 

[ Top ]

arraysize   [line 1795]

int arraysize( )

  • Return: the number of elements in the array

[ Top ]

dump   [line 1592]

void dump( $ar)


Parameters:

   $ar   — 

[ Top ]

getval   [line 1726]

mixed getval( )

  • Return: the current value

[ Top ]

isValue   [line 1812]

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 1608]

string kindOf( )

  • Return: the data type of the current value

[ Top ]

scalartyp   [line 1773]

string scalartyp( )


[ Top ]

scalarval   [line 1763]

mixed scalarval( )


[ Top ]

serialize   [line 1680]

string serialize( )

  • Return: the data in XML format

[ Top ]

serializedata   [line 1628]

string serializedata( $typ, $val)

  • Return: the data in XML format

Parameters:

   $typ   — 
   $val   — 

[ Top ]

serializeval   [line 1688]

string serializeval( $o)

  • Return: the data in XML format

Parameters:

   $o   — 

[ Top ]

structeach   [line 1718]

the structeach( )

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

[ Top ]

structmem   [line 1702]

mixed structmem( $m)

  • Return: the contents of the element requested

Parameters:

   $m   — 

[ Top ]

structreset   [line 1710]

void structreset( )


[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:38:57 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.