Public Member Functions | |
__construct ($data, $name= '', $contentType= 'application/octet-stream', $encoding=null) | |
Constructor. |
Definition at line 939 of file Rmail.php.
stringAttachment::__construct | ( | $ | data, | |
$ | name = '' , |
|||
$ | contentType = 'application/octet-stream' , |
|||
$ | encoding = null | |||
) |
Constructor.
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 }