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

Class: soapval

Source Location: /modules/nusoap/class.soap_val.php

Class Overview

nusoap_base
   |
   --soapval

For creating serializable abstractions of native PHP types. This class


Author(s):

Version:

  • $Id$

Methods



Class Details

[line 17]
For creating serializable abstractions of native PHP types. This class

allows element name/namespace, XSD type, and XML attributes to be associated with a value. This is extremely useful when WSDL is not used, but is also useful when WSDL is used with polymorphic types, including xsd:anyType and user-defined types.




Tags:

author:  Dietrich Ayala <dietrich@ganx4.com>
version:  $Id$
access:  public


[ Top ]


Class Methods


constructor soapval [line 72]

soapval soapval( [string $name = 'soapval'], [mixed $type = false], [mixed $value = -1], [mixed $element_ns = false], [mixed $type_ns = false], [mixed $attributes = false])

constructor



Tags:

access:  public


Parameters:

string   $name   optional name
mixed   $type   optional type name
mixed   $value   optional value
mixed   $element_ns   optional namespace of value
mixed   $type_ns   optional namespace of type
mixed   $attributes   associative array of attributes to add to element serialization

[ Top ]

method decode [line 99]

mixed decode( )

decodes a soapval object into a PHP native type



Tags:

access:  public


[ Top ]

method serialize [line 89]

string serialize( [string $use = 'encoded'])

return serialized value



Tags:

return:  XML data
access:  public


Parameters:

string   $use   The WSDL use value (encoded|literal)

[ Top ]


Documentation generated on Thu, 12 Feb 2009 07:59:55 +0900 by phpDocumentor 1.4.2