[ Index ]
 

Code source de Mantis 1.1.0rc3

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/api/soap/nusoap/ -> nusoapmime.php (sommaire)

(pas de description)

Poids: 501 lignes (16 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 1 fichier
 api/soap/nusoap/nusoap.php

Définit 4 classes

nusoap_client_mime:: (7 méthodes):
  addAttachment()
  clearAttachments()
  getAttachments()
  getHTTPBody()
  getHTTPContentType()
  getHTTPContentTypeCharset()
  parseResponse()

soapclientmime:: (0 méthodes):

nusoap_server_mime:: (7 méthodes):
  addAttachment()
  clearAttachments()
  getAttachments()
  getHTTPBody()
  getHTTPContentType()
  getHTTPContentTypeCharset()
  parseRequest()

nusoapservermime:: (0 méthodes):


Classe: nusoap_client_mime  - X-Ref

nusoap_client_mime client supporting MIME attachments defined at
http://www.w3.org/TR/SOAP-attachments.  It depends on the PEAR Mail_MIME library.

addAttachment($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: soapclientmime  - X-Ref

Classe: nusoap_server_mime  - X-Ref

nusoap_server_mime server supporting MIME attachments defined at
http://www.w3.org/TR/SOAP-attachments.  It depends on the PEAR Mail_MIME library.

addAttachment($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

Classe: nusoapservermime  - X-Ref



Généré le : Thu Nov 29 09:42:17 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics