SoapParam->__construct()
(No version information available, might be only in CVS)
SoapParam->__construct() — Constructeur SoapParam
Description
SoapParam
__construct
( mixed $data
, string $name
)
Construit un nouvel objet SoapParam.
Liste de paramètres
- data
-
Les données à passer ou à retourner. Vous pouvez passer ce paramètre directement en tant qu'une valeur PHP, mais dans ce cas, il sera nommé paramN et le service SOAP ne le comprendra pas.
- name
-
Le nom du paramètre.
Exemples
Example#1 Quelques exemples
<?php
$client = new SoapClient(null,array('location' => "https://localhost/soap.php",
'uri' => "https://test-uri/"));
$client->SomeFunction(new SoapParam($a, "a"),
new SoapParam($b, "b"),
new SoapParam($c, "c"));
?>