Lines Matching defs:file
76 * Attach a file
78 * @param string $path Path to the file to attach
79 * @param string $mime Mimetype of the attached file
81 * @param string $embed Unique key to reference this file from the HTML part
98 * Attach a file
100 * @param string $data The file contents to attach
101 * @param string $mime Mimetype of the attached file
103 * @param string $embed Unique key to reference this file from the HTML part
131 // get file and mime type
134 $file = mediaFN($media);
135 if (!file_exists($file)) return $matches[0]; //bad reference, keep as is
138 $this->attachFile($file, $mime, '', 'autoembed' . $embeds);