PHP Doku:: SoapParam-Konstruktor - soapparam.construct.html

Verlauf / Chronik / History: (7) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzWeb ServicesSOAPThe SoapParam classSoapParam->__construct()

Ein Service von Reinhard Neidl - Webprogrammierung.

The SoapParam class

<<The SoapParam class

SoapParam::SoapParam>>

SoapParam->__construct()

(PHP 5 >= 5.0.1)

SoapParam->__construct() SoapParam-Konstruktor

Beschreibung

SoapParam::__construct ( mixed $data , string $name )

Erzeugt ein neues SoapParam-Objekt.

Parameter-Liste

data

Die Daten die übergeben oder zurückgegeben werden. Die Werte können auch direkt als PHP-Wert übergeben werden. In diesem Fall werden sie mittels paramN benannt und der SOAP-Service könnte Probleme mit der Interpretation bekommen.

name

Parametername.

Beispiele

Beispiel #1 Beispiele

<?php
$client 
= new SoapClient(null,array('location' => "http://localhost/soap.php",
                                    
'uri'      => "http://test-uri/"));
$client->SomeFunction(new SoapParam($a"a"),
                      new 
SoapParam($b"b"),
                      new 
SoapParam($c"c"));
?>


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)