1 | <?php |
||
26 | class UUEncodedPart extends NonMimePart |
||
27 | { |
||
28 | /** |
||
29 | * @var int the unix file permission |
||
30 | */ |
||
31 | protected $mode = null; |
||
32 | |||
33 | /** |
||
34 | * @var string the name of the file in the uuencoding 'header'. |
||
35 | */ |
||
36 | protected $filename = null; |
||
37 | |||
38 | /** |
||
39 | * Initiates the UUEncodedPart with the passed mode and filename. |
||
40 | * |
||
41 | * @param HeaderFactory $headerFactory |
||
42 | * @param int $mode the unix file mode |
||
43 | * @param string $filename the filename |
||
44 | */ |
||
45 | public function __construct(HeaderFactory $headerFactory, $mode, $filename) |
||
61 | |||
62 | /** |
||
63 | * Returns the file mode included in the uuencoded header for this part. |
||
64 | * |
||
65 | * @return int |
||
66 | */ |
||
67 | public function getUnixFileMode() |
||
71 | |||
72 | /** |
||
73 | * Returns the filename included in the uuencoded header for this part. |
||
74 | * |
||
75 | * @return string |
||
76 | */ |
||
77 | public function getFilename() |
||
81 | } |
||
82 |