stringAttachment Class Reference

Attachment class to handle attachments which are contained in a variable. More...

Inheritance diagram for stringAttachment:

attachment stringEmbeddedImage

List of all members.

Public Member Functions

 __construct ($data, $name= '', $contentType= 'application/octet-stream', $encoding=null)
 Constructor.


Detailed Description

Attachment class to handle attachments which are contained in a variable.

Definition at line 939 of file Rmail.php.


Constructor & Destructor Documentation

stringAttachment::__construct ( data,
name = '',
contentType = 'application/octet-stream',
encoding = null 
)

Constructor.

Parameters:
string $data File data
string $name Name of attachment (filename)
string $contentType Content type of file
string $encoding What encoding to use

Definition at line 949 of file Rmail.php.

References attachment::$contentType, attachment::$data, attachment::$encoding, and attachment::$name.

00950     {
00951         $encoding = is_null($encoding) ? new Base64Encoding() : $encoding;
00952         
00953         parent::__construct($data, $name, $contentType, $encoding);
00954     }


The documentation for this class was generated from the following file:

Generated on Wed May 6 23:10:50 2009 for fareofficelib by  doxygen 1.5.8