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

Class: SOAPStruct

Source Location: /SOAP-0.12.0/example/example_types.php

Class Overview


This is a data type that is used in SOAP Interop testing, but is here as an example of using complex types. When the class is deserialized from a SOAP message, it's constructor IS NOT CALLED! So your type classes need to behave in a way that will work with that.


Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 17]
This is a data type that is used in SOAP Interop testing, but is here as an example of using complex types. When the class is deserialized from a SOAP message, it's constructor IS NOT CALLED! So your type classes need to behave in a way that will work with that.

Some types may need more explicit serialization for SOAP. The __to_soap function allows you to be very explicit in building the SOAP_Value structures. The soap library does not call this directly, you would call it from your soap server class, echoStruct in the server class is an example of doing this.



[ Top ]


Class Variables

$varFloat =

[line 22]


Type:   mixed


[ Top ]

$varInt =

[line 21]


Type:   mixed


[ Top ]

$varString =

[line 20]


Type:   mixed


[ Top ]



Method Detail

SOAPStruct (Constructor)   [line 24]

SOAPStruct SOAPStruct( [ $s = null], [ $i = null], [ $f = null])


Parameters:

   $s   — 
   $i   — 
   $f   — 

[ Top ]

__to_soap   [line 31]

void &__to_soap( [ $name = 'inputStruct'], [ $header = false], [ $mustUnderstand = 0], [ $actor = 'http://schemas.xmlsoap.org/soap/actor/next'])


Parameters:

   $name   — 
   $header   — 
   $mustUnderstand   — 
   $actor   — 

[ Top ]


Documentation generated on Thu, 10 Dec 2015 05:50:37 +0000 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.