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

Class: XML_RPC_Value

Source Location: /XML_RPC-1.3.2/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.3.2

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


[ Top ]


Class Variables

$me = array()

[line 1356]


Type:   mixed


[ Top ]

$mytype =  0

[line 1357]


Type:   mixed


[ Top ]



Method Detail

XML_RPC_Value (Constructor)   [line 1362]

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


Parameters:

   $val   — 
   $type   — 

[ Top ]

addArray   [line 1430]

int addArray( $vals)

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

Parameters:

   $vals   — 

[ Top ]

addScalar   [line 1387]

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

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

Parameters:

   $val   — 
   $type   — 

[ Top ]

addStruct   [line 1447]

int addStruct( $vals)

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

Parameters:

   $vals   — 

[ Top ]

arraymem   [line 1659]

mixed arraymem( $m)

  • Return: the struct's current element

Parameters:

   $m   — 

[ Top ]

arraysize   [line 1667]

int arraysize( )

  • Return: the number of elements in the array

[ Top ]

dump   [line 1464]

void dump( $ar)


Parameters:

   $ar   — 

[ Top ]

getval   [line 1598]

mixed getval( )

  • Return: the current value

[ Top ]

isValue   [line 1684]

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

string kindOf( )

  • Return: the data type of the current value

[ Top ]

scalartyp   [line 1645]

string scalartyp( )


[ Top ]

scalarval   [line 1635]

mixed scalarval( )


[ Top ]

serialize   [line 1552]

string serialize( )

  • Return: the data in XML format

[ Top ]

serializedata   [line 1500]

string serializedata( $typ, $val)

  • Return: the data in XML format

Parameters:

   $typ   — 
   $val   — 

[ Top ]

serializeval   [line 1560]

string serializeval( $o)

  • Return: the data in XML format

Parameters:

   $o   — 

[ Top ]

structeach   [line 1590]

the structeach( )

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

[ Top ]

structmem   [line 1574]

mixed structmem( $m)

  • Return: the contents of the element requested

Parameters:

   $m   — 

[ Top ]

structreset   [line 1582]

void structreset( )


[ Top ]


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