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

Class: SOAP_Value

Source Location: /SOAP-0.13.0/SOAP/Value.php

Class Overview


SOAP::Value


Author(s):

Variables

Methods


Child classes:

SOAP_Header
This class converts values between PHP and SOAP. It is a simple wrapper around SOAP_Value, adding support for SOAP actor and mustunderstand parameters.
SOAP_Attachment
This class handles MIME attachements per W3C's Note on Soap Attachements at http://www.w3.org/TR/SOAP-attachments

Inherited Variables

Inherited Methods


Class Details

[line 40]
SOAP::Value

This class converts values between PHP and SOAP.

Originally based on SOAPx4 by Dietrich Ayala http://dietrich.ganx4.com/soapx4



[ Top ]


Class Variables

$arrayType =  ''

[line 96]

The type of the array elements, if this value is an array.

Type:   string


[ Top ]

$attributes = array()

[line 104]

A hash of additional attributes.

Type:   array


[ Top ]

$name =  ''

[line 61]

The value name, without namespace information.

Type:   string


[ Top ]

$namespace =  ''

[line 68]

The namespace of the value name.

Type:   string


[ Top ]

$nqn =

[line 54]

QName instance representing the value name.

Type:   QName


[ Top ]

$options = array()

[line 112]

List of encoding and serialization options.

Type:   array


[ Top ]

$tqn =

[line 75]

QName instance representing the value type.

Type:   QName


[ Top ]

$type =  ''

[line 82]

The value type, without namespace information.

Type:   string


[ Top ]

$type_namespace =  ''

[line 89]

The namespace of the value type.

Type:   string


[ Top ]

$value =  null

[line 47]

The actual value.

Type:   mixed


[ Top ]



Method Detail

SOAP_Value (Constructor)   [line 135]

SOAP_Value SOAP_Value( [string $name = ''], [mixed $type = false], [mixed $value = null], [array $attributes = array()], [array $options = array()])

Constructor.

Parameters:

string   $name     Name of the SOAP value {namespace}name.
mixed   $type     SOAP value {namespace}type. Determined automatically if not set.
mixed   $value     Value to set.
array   $attributes     A has of additional XML attributes to be added to the serialized value.
array   $options     A list of encoding and serialization options:
  • 'attachment': array with information about the attachment
  • 'soap_encoding': defines encoding for SOAP message part of a MIME encoded SOAP request (default: base64)
  • 'keep_arrays_flat': use the tag name multiple times for each element when passing in an array in literal mode
  • 'no_type_prefix': supress adding of the namespace prefix

[ Top ]

serialize   [line 157]

string serialize( &$serializer, SOAP_Base $serializer)

Serializes this value.
  • Return: XML representation of $this.

Parameters:

SOAP_Base   $serializer     A SOAP_Base instance or subclass to serialize with.
   &$serializer     

[ Top ]


Documentation generated on Thu, 26 Jan 2012 14:00:15 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.