[ Index ] |
|
Code source de nusoap 0.7.2 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 478 lignes (15 kb) |
Inclus ou requis: | 1 fois |
Référencé: | 0 fois |
Nécessite: | 1 fichier lib/nusoap.php |
soapclientmime:: (7 méthodes):
addAttachment()
clearAttachments()
getAttachments()
getHTTPBody()
getHTTPContentType()
getHTTPContentTypeCharset()
parseResponse()
nusoapservermime:: (7 méthodes):
addAttachment()
clearAttachments()
getAttachments()
getHTTPBody()
getHTTPContentType()
getHTTPContentTypeCharset()
parseRequest()
Classe: soapclientmime - X-Ref
soapclientmime client supporting MIME attachments defined ataddAttachment($data, $filename = '', $contenttype = 'application/octet-stream', $cid = false) X-Ref |
adds a MIME attachment to the current request. If the $data parameter contains an empty string, this method will read the contents of the file named by the $filename parameter. If the $cid parameter is false, this method will generate the cid. param: string $data The data of the attachment param: string $filename The filename of the attachment (default is empty string) param: string $contenttype The MIME Content-Type of the attachment (default is application/octet-stream) param: string $cid The content-id (cid) of the attachment (default is false) return: string The content-id (cid) of the attachment |
clearAttachments() X-Ref |
clears the MIME attachments for the current request. |
getAttachments() X-Ref |
gets the MIME attachments from the current response. Each array element in the return is an associative array with keys data, filename, contenttype, cid. These keys correspond to the parameters for addAttachment. return: array The attachments. |
getHTTPBody($soapmsg) X-Ref |
gets the HTTP body for the current request. param: string $soapmsg The SOAP payload return: string The HTTP body, which includes the SOAP payload |
getHTTPContentType() X-Ref |
gets the HTTP content type for the current request. Note: getHTTPBody must be called before this. return: string the HTTP content type for the current request. |
getHTTPContentTypeCharset() X-Ref |
gets the HTTP content type charset for the current request. returns false for non-text content types. Note: getHTTPBody must be called before this. return: string the HTTP content type charset for the current request. |
parseResponse($headers, $data) X-Ref |
processes SOAP message returned from server param: array $headers The HTTP headers param: string $data unprocessed response data from server return: mixed value of the message, decoded into a PHP type |
Classe: nusoapservermime - X-Ref
nusoapservermime server supporting MIME attachments defined ataddAttachment($data, $filename = '', $contenttype = 'application/octet-stream', $cid = false) X-Ref |
adds a MIME attachment to the current response. If the $data parameter contains an empty string, this method will read the contents of the file named by the $filename parameter. If the $cid parameter is false, this method will generate the cid. param: string $data The data of the attachment param: string $filename The filename of the attachment (default is empty string) param: string $contenttype The MIME Content-Type of the attachment (default is application/octet-stream) param: string $cid The content-id (cid) of the attachment (default is false) return: string The content-id (cid) of the attachment |
clearAttachments() X-Ref |
clears the MIME attachments for the current response. |
getAttachments() X-Ref |
gets the MIME attachments from the current request. Each array element in the return is an associative array with keys data, filename, contenttype, cid. These keys correspond to the parameters for addAttachment. return: array The attachments. |
getHTTPBody($soapmsg) X-Ref |
gets the HTTP body for the current response. param: string $soapmsg The SOAP payload return: string The HTTP body, which includes the SOAP payload |
getHTTPContentType() X-Ref |
gets the HTTP content type for the current response. Note: getHTTPBody must be called before this. return: string the HTTP content type for the current response. |
getHTTPContentTypeCharset() X-Ref |
gets the HTTP content type charset for the current response. returns false for non-text content types. Note: getHTTPBody must be called before this. return: string the HTTP content type charset for the current response. |
parseRequest($headers, $data) X-Ref |
processes SOAP message received from client param: array $headers The HTTP headers param: string $data unprocessed request data from client return: mixed value of the message, decoded into a PHP type |
Généré le : Mon Sep 10 13:53:24 2007 | par Balluche grâce à PHPXref 0.7 |