soapval Klassenreferenz

Klassendiagramm für soapval:

Inheritance graph
[Legende]
Zusammengehörigkeiten von soapval:

Collaboration graph
[Legende]

Aufstellung aller Elemente

Öffentliche Methoden

 soapval ($name='soapval', $type=false, $value=-1, $element_ns=false, $type_ns=false, $attributes=false)
 serialize ($use='encoded')
 decode ()
 soapval ($name='soapval', $type=false, $value=-1, $element_ns=false, $type_ns=false, $attributes=false)
 serialize ($use='encoded')
 decode ()

Öffentliche Attribute

 $name
 $type
 $value
 $element_ns
 $type_ns
 $attributes


Ausführliche Beschreibung

For creating serializable abstractions of native PHP types. This class allows element name/namespace, XSD type, and XML attributes to be associated with a value. This is extremely useful when WSDL is not used, but is also useful when WSDL is used with polymorphic types, including xsd:anyType and user-defined types.

Autor:
Dietrich Ayala <dietrich@ganx4.com>
Version:
Id
class.soap_val.php,v 1.11 2007/04/06 13:56:32 snichol Exp
public

For creating serializable abstractions of native PHP types. This class allows element name/namespace, XSD type, and XML attributes to be associated with a value. This is extremely useful when WSDL is not used, but is also useful when WSDL is used with polymorphic types, including xsd:anyType and user-defined types.

Autor:
Dietrich Ayala <dietrich@ganx4.com>
Version:
Id
nusoap.php,v 1.121 2008/03/14 20:52:11 snichol Exp
public

Definiert in Zeile 17 der Datei class.soap_val.php.


Dokumentation der Elementfunktionen

soapval::decode (  ) 

decodes a soapval object into a PHP native type

Rückgabe:
mixed public

Definiert in Zeile 2138 der Datei nusoap.php.

02138                          {
02139                 return $this->value;
02140         }

soapval::decode (  ) 

decodes a soapval object into a PHP native type

Rückgabe:
mixed public

Definiert in Zeile 99 der Datei class.soap_val.php.

00099                          {
00100                 return $this->value;
00101         }

soapval::serialize ( use = 'encoded'  ) 

return serialized value

Parameter:
string $use The WSDL use value (encoded|literal)
Rückgabe:
string XML data public

Definiert in Zeile 2128 der Datei nusoap.php.

02128                                            {
02129                 return $this->serialize_val($this->value, $this->name, $this->type, $this->element_ns, $this->type_ns, $this->attributes, $use, true);
02130     }

Hier ist ein Graph der zeigt, was diese Funktion aufruft:

soapval::serialize ( use = 'encoded'  ) 

return serialized value

Parameter:
string $use The WSDL use value (encoded|literal)
Rückgabe:
string XML data public

Definiert in Zeile 89 der Datei class.soap_val.php.

00089                                            {
00090                 return $this->serialize_val($this->value, $this->name, $this->type, $this->element_ns, $this->type_ns, $this->attributes, $use, true);
00091     }

Hier ist ein Graph der zeigt, was diese Funktion aufruft:

soapval::soapval ( name = 'soapval',
type = false,
value = -1,
element_ns = false,
type_ns = false,
attributes = false 
)

constructor

Parameter:
string $name optional name
mixed $type optional type name
mixed $value optional value
mixed $element_ns optional namespace of value
mixed $type_ns optional namespace of type
mixed $attributes associative array of attributes to add to element serialization public

Definiert in Zeile 2111 der Datei nusoap.php.

02111                                                                                                                    {
02112                 parent::nusoap_base();
02113                 $this->name = $name;
02114                 $this->type = $type;
02115                 $this->value = $value;
02116                 $this->element_ns = $element_ns;
02117                 $this->type_ns = $type_ns;
02118                 $this->attributes = $attributes;
02119     }

Hier ist ein Graph der zeigt, was diese Funktion aufruft:

soapval::soapval ( name = 'soapval',
type = false,
value = -1,
element_ns = false,
type_ns = false,
attributes = false 
)

constructor

Parameter:
string $name optional name
mixed $type optional type name
mixed $value optional value
mixed $element_ns optional namespace of value
mixed $type_ns optional namespace of type
mixed $attributes associative array of attributes to add to element serialization public

Definiert in Zeile 72 der Datei class.soap_val.php.

00072                                                                                                                    {
00073                 parent::nusoap_base();
00074                 $this->name = $name;
00075                 $this->type = $type;
00076                 $this->value = $value;
00077                 $this->element_ns = $element_ns;
00078                 $this->type_ns = $type_ns;
00079                 $this->attributes = $attributes;
00080     }

Hier ist ein Graph der zeigt, was diese Funktion aufruft:


Dokumentation der Datenelemente

soapval::$attributes

Definiert in Zeile 59 der Datei class.soap_val.php.

soapval::$element_ns

Definiert in Zeile 45 der Datei class.soap_val.php.

soapval::$name

Definiert in Zeile 24 der Datei class.soap_val.php.

soapval::$type

Definiert in Zeile 31 der Datei class.soap_val.php.

soapval::$type_ns

Definiert in Zeile 52 der Datei class.soap_val.php.

soapval::$value

Definiert in Zeile 38 der Datei class.soap_val.php.


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien:
Copyright © 2003 - 2009 MyOOS [Shopsystem]. All rights reserved.
MyOOS [Shopsystem] is Free Software released under the GNU/GPL License.

Webmaster: info@r23.de (Impressum)
doxygen