Открытые члены | |
| __get (string $name) | |
| setFilePath (string $filePath) | |
| addDataPartInfo (DataPartInfo $dataInfo) | |
| getFileInfo (int $fileinfo_const=FILEINFO_NONE) | |
| getContents () | |
| saveToDisk () | |
Поля данных | |
| $id | |
| $contentId | |
| $type | |
| $encoding | |
| $subtype | |
| $description | |
| $name | |
| $sizeInBytes | |
| $disposition | |
| $charset | |
| $emlOrigin | |
| $fileInfoRaw | |
| $fileInfo | |
| $mime | |
| $mimeEncoding | |
| $fileExtension | |
| $mimeType | |
| __get | ( | string | $name | ) |
| addDataPartInfo | ( | DataPartInfo | $dataInfo | ) |
Sets the data part info.
| DataPartInfo | $dataInfo | Date info (file content) |
| getContents | ( | ) |
Gets the file content.
| getFileInfo | ( | int | $fileinfo_const = FILEINFO_NONE | ) |
Gets information about a file.
| int | $fileinfo_const | Any predefined constant. See https://www.php.net/manual/en/fileinfo.constants.php |
-param fileinfoconst $fileinfo_const
| saveToDisk | ( | ) |
Saves the attachment object on the disk.
| setFilePath | ( | string | $filePath | ) |
Sets the file path.
| string | $filePath | File path incl. file name and optional extension |
| $charset |
| $contentId |
| $description |
| $disposition |
| $emlOrigin |
| $encoding |
| $fileExtension |
| $fileInfo |
| $fileInfoRaw |
| $id |
| $mime |
| $mimeEncoding |
| $mimeType |
| $name |
| $sizeInBytes |
| $subtype |
| $type |