Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: Unknown

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5

 Class xmlrpcval

Description

Located in /phpxmlrpc/xmlrpc.php (line 2499)

Class xmlrpcval
Variable Summary
Variable mixed $me
Variable mixed $mytype
Variable mixed $_php_class
Method Summary
Constructor xmlrpcval xmlrpcval ([ $val = -1], [ $type = ''])
Method void addArray ( $vals)
Method void addScalar ( $val, [ $type = 'string'])
Method void addStruct ( $vals)
Method xmlrpcval arraymem (integer $m)
Method integer arraysize ()
Method void dump ( $ar)
Method void getval ()
Method void kindOf ()
Method string scalartyp ()
Method mixed scalarval ()
Method void serialize ([string $charset_encoding = ''])
Method void serializedata ( $typ,  $val, [ $charset_encoding = ''])
Method void serializeval ( $o)
Method void structeach ()
Method void structmem ( $m)
Method boolean structmemexists (string $m)
Method void structreset ()
Method integer structsize ()
Variables
mixed $me = array() (line 2501)
mixed $mytype (line 2502)
mixed $_php_class = null (line 2503)
Methods
Constructor xmlrpcval (line 2505)
xmlrpcval xmlrpcval ([ $val = -1], [ $type = ''])
  • $val
  • $type
addArray (line 2578)
void addArray ( $vals)
  • $vals
addScalar (line 2530)
void addScalar ( $val, [ $type = 'string'])
  • $val
  • $type
addStruct (line 2599)
void addStruct ( $vals)
  • $vals
arraymem (line 2855)

Returns the m-th member of an xmlrpcval of struct type

xmlrpcval arraymem (integer $m)
  • integer $m: the index of the value to be retrieved (zero based)
arraysize (line 2864)

Returns the number of members in an xmlrpcval of array type

integer arraysize ()
dump (line 2621)
void dump ( $ar)
  • $ar
getval (line 2784)
void getval ()
kindOf (line 2636)
void kindOf ()
scalartyp (line 2839)

Returns the type of the xmlrpcval.

For integers, 'int' is always returned in place of 'i4'

string scalartyp ()
scalarval (line 2827)

Returns the value of a scalar xmlrpcval

mixed scalarval ()
serialize (line 2726)

Return xml representation of the value

void serialize ([string $charset_encoding = ''])
  • string $charset_encoding: the charset to be used for serialization. if null, US-ASCII is assumed
serializedata (line 2654)
void serializedata ( $typ,  $val, [ $charset_encoding = ''])
  • $typ
  • $val
  • $charset_encoding
serializeval (line 2738)
void serializeval ( $o)
  • $o
structeach (line 2777)
void structeach ()
structmem (line 2767)
void structmem ( $m)
  • $m
structmemexists (line 2756)

Checks wheter a struct member with a given name is present.

Works only on xmlrpcvals of type struct.

boolean structmemexists (string $m)
  • string $m: the name of the struct member to be looked up
structreset (line 2772)
void structreset ()
structsize (line 2873)

Returns the number of members in an xmlrpcval of struct type

integer structsize ()

Documentation generated on Mon, 05 Mar 2007 21:32:39 +0000 by phpDocumentor 1.3.1