class SoapVar (View source)

A class representing a variable or object for use with SOAP services.

Properties

int Since: 8.1
$enc_type
mixed Since: 8.1
$enc_value
string|null Since: 8.1
$enc_stype
string|null Since: 8.1
$enc_ns
string|null Since: 8.1
$enc_name
string|null Since: 8.1
$enc_namens

Methods

__construct(mixed $data, int|null $encoding, string $typeName, string $typeNamespace = null, string $nodeName = null, string $nodeNamespace = null)

SoapVar constructor

SoapVar(mixed $data, int|null $encoding, string $type_name = '', string $type_namespace = '', string $node_name = '', string $node_namespace = '')

SoapVar constructor

Details

__construct(mixed $data, int|null $encoding, string $typeName, string $typeNamespace = null, string $nodeName = null, string $nodeNamespace = null)

Since: 5.0.1

SoapVar constructor

Parameters

mixed $data

The data to pass or return.

int|null $encoding

The encoding ID, one of the XSD_... constants.

string $typeName

[optional]

The type name.

string $typeNamespace

[optional]

The type namespace.

string $nodeName

[optional]

The XML node name.

string $nodeNamespace

[optional]

The XML node namespace.

SoapVar(mixed $data, int|null $encoding, string $type_name = '', string $type_namespace = '', string $node_name = '', string $node_namespace = '')

Since: 5.0.1

SoapVar constructor

Parameters

mixed $data

The data to pass or return.

int|null $encoding

The encoding ID, one of the XSD_... constants.

string $type_name

[optional]

The type name.

string $type_namespace

[optional]

The type namespace.

string $node_name

[optional]

The XML node name.

string $node_namespace

[optional]

The XML node namespace.