diff options
author | wei <> | 2007-02-12 12:46:11 +0000 |
---|---|---|
committer | wei <> | 2007-02-12 12:46:11 +0000 |
commit | fd4b8d9f45d1707035021bc19b8d5bc17ede66ce (patch) | |
tree | 093b8b3f92d4d6421f19a6d1e7c8211817f3d51d /framework/3rdParty/WsdlGen/WsdlMessage.php | |
parent | f4c525abc3d4d3f3eecf1019770936e4ca39fd62 (diff) |
Add IBM DB2 driver for active record.
Diffstat (limited to 'framework/3rdParty/WsdlGen/WsdlMessage.php')
-rw-r--r-- | framework/3rdParty/WsdlGen/WsdlMessage.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/framework/3rdParty/WsdlGen/WsdlMessage.php b/framework/3rdParty/WsdlGen/WsdlMessage.php index 164d81f1..2ba2cef6 100644 --- a/framework/3rdParty/WsdlGen/WsdlMessage.php +++ b/framework/3rdParty/WsdlGen/WsdlMessage.php @@ -30,13 +30,13 @@ class WsdlMessage * @var string */ private $name; - + /** * Represents the parameters for this message * @var array */ private $parts; - + /** * Creates a new message * @param string $messageName The name of the message @@ -46,9 +46,9 @@ class WsdlMessage { $this->name = $messageName; $this->parts = $parts; - + } - + /** * Gets the name of this message * @return string The name @@ -57,7 +57,7 @@ class WsdlMessage { return $this->name; } - + /** * Return the message as a DOM element * @param DOMDocument $wsdl The wsdl document the messages will be children of @@ -66,7 +66,7 @@ class WsdlMessage { $message = $dom->createElementNS('http://schemas.xmlsoap.org/wsdl/', 'wsdl:message'); $message->setAttribute('name', $this->name); - + foreach ($this->parts as $part) { if (isset($part['name'])) { $partElement = $dom->createElementNS('http://schemas.xmlsoap.org/wsdl/', 'wsdl:part'); @@ -75,7 +75,7 @@ class WsdlMessage $message->appendChild($partElement); } } - + return $message; } } |