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

Class: XML_RPC_Value

Source Location: /XML_RPC-1.5.5/XML/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: @package_version@

Copyright:

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


[ Top ]


Class Variables

$me = array()

[line 1554]


Type:   mixed


[ Top ]

$mytype =  0

[line 1555]


Type:   mixed


[ Top ]



Method Detail

XML_RPC_Value (Constructor)   [line 1560]

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


Parameters:

   $val   — 
   $type   — 

[ Top ]

addArray   [line 1625]

int addArray( $vals)

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

Parameters:

   $vals   — 

[ Top ]

addScalar   [line 1584]

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

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

Parameters:

   $val   — 
   $type   — 

[ Top ]

addStruct   [line 1641]

int addStruct( $vals)

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

Parameters:

   $vals   — 

[ Top ]

arraymem   [line 1853]

mixed arraymem( $m)

  • Return: the struct's current element

Parameters:

   $m   — 

[ Top ]

arraysize   [line 1861]

int arraysize( )

  • Return: the number of elements in the array

[ Top ]

dump   [line 1657]

void dump( $ar)


Parameters:

   $ar   — 

[ Top ]

getval   [line 1790]

mixed getval( )

  • Return: the current value

[ Top ]

isValue   [line 1878]

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

string kindOf( )

  • Return: the data type of the current value

[ Top ]

scalartyp   [line 1840]

string scalartyp( )


[ Top ]

scalarval   [line 1827]

mixed scalarval( )

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

[ Top ]

serialize   [line 1744]

string serialize( )

  • Return: the data in XML format

[ Top ]

serializedata   [line 1693]

string serializedata( $typ, $val)

  • Return: the data in XML format

Parameters:

   $typ   — 
   $val   — 

[ Top ]

serializeval   [line 1752]

string serializeval( $o)

  • Return: the data in XML format

Parameters:

   $o   — 

[ Top ]

structeach   [line 1782]

the structeach( )

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

[ Top ]

structmem   [line 1766]

mixed structmem( $m)

  • Return: the contents of the element requested

Parameters:

   $m   — 

[ Top ]

structreset   [line 1774]

void structreset( )


[ Top ]


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