/plugin/combo/ComboStrap/ |
H A D | Message.php | 63 function addContent($message, $mime): Message argument 65 if (!isset($this->content[$mime])) { 66 $this->content[$mime] = []; 68 $this->content[$mime][] = $message; 103 function getContent($mime = null): string argument 105 if ($mime != null) { 106 return implode(DOKU_LF, $this->content[$mime]);
|
H A D | MediaLink.php | 64 $mime = $mediaMarkup->getFetcher()->getMime(); 65 switch ($mime->toString()) { 69 if (!$mime->isImage()) {
|
H A D | IFetcherLocalImage.php | 24 $mime = FileSystems::getMime($path); 26 throw new ExceptionBadArgument("The file ($path) has an unknown mime, we can't verify if we support it", FetcherImage::CANONICAL); 29 if (!$mime->isImage()) { 33 if ($mime->toString() === Mime::SVG) {
|
H A D | FetcherSystem.php | 52 $mime = FileSystems::getMime($dokuPath); 54 throw new ExceptionNotFound("No fetcher could be created. The mime is unknown for the path ($dokuPath). Error: {$e->getMessage()}"); 56 switch ($mime->toString()) { 60 if ($mime->isImage()) {
|
/plugin/odt/ODT/ |
H A D | ODTmanifest.php | 60 * @param string $mime 62 function add($name, $mime) { argument 63 $this->manifest[$name] = $mime;
|
H A D | ODTImage.php | 31 list($ext,$mime) = mimetype($src); 33 $params->document->addFile($name, $mime, io_readfile($src,false)); 110 $mime = '.image/svg+xml'; 112 $doc->addFile($name, $mime, $string); 196 list($ext,$mime) = mimetype($src); 198 $params->document->addFile($name, $mime, io_readfile($src,false));
|
/plugin/confmanager/lang/en/ |
H A D | mime.txt | 1 …an upload via the [[doku>media_manager]] is configured through the ''conf/mime.conf'' file. It als… 5 …e the [[doku>config:iexssprotect]] option additionally to adding the HTML mime type in the config … 9 You can find any file extension with it's mime at http://filext.com/ 11 More information can be found at [[doku>mime]].
|
/plugin/confmanager/action/ |
H A D | registerconfig.php | 59 …$mime = new ConfigManagerTwoLineLeftImageConfigCascade('mime', 'lib/images/fileicons/svg/', 'svg'); 60 $mime->setName($this->getLang('MIME configuration')); 61 $mime->setDescription($this->getDescription('mime')); 62 $event->data[] = $mime;
|
/plugin/struct/types/ |
H A D | Media.php | 10 'mime' => 'image/', 18 * Checks against the allowed mime types 27 if (!trim($this->config['mime'])) return $rawvalue; 28 $allows = explode(',', $this->config['mime']); 32 [, $mime, ] = mimetype($rawvalue, false); 34 if (strpos($mime, $allow) === 0) return $rawvalue; 37 throw new ValidationException('Media mime type', $mime, $this->config['mime']); 79 [, $mime, ] [all...] |
/plugin/combo/action/ |
H A D | staticresource.php | 112 $mime = $fetcher->getMime(); 113 $event->data["mime"] = $mime->toString(); 117 if ($mime->isImage() || in_array($mime->toString(), [Mime::JAVASCRIPT, Mime::CSS])) { 135 $event->data['mime'] = Mime::JSON; 283 $mime = FileSystems::getMime($mediaToSend); 294 if ($download && $mime->toString() !== "image/svg+xml") { 321 http_rangeRequest($filePointer, FileSystems::getSize($mediaToSend), $mime->toString());
|
/plugin/feed/ |
H A D | feed.php | 25 $mime = 'text/xml'; variable 29 $mime = 'text/xml'; variable 33 $mime = 'application/xml'; variable 37 $mime = 'application/atom+xml'; variable 41 $mime = 'application/xml'; variable
|
/plugin/nsexport/packer/ziphtml/ |
H A D | renderer.php | 117 list($ext,$mime,$dl) = mimetype($src); 118 if(substr($mime,0,5) === 'image'){ 163 }elseif($mime === 'application/x-shockwave-flash'){ 206 list($ext,$mime,$dl) = mimetype($src); 207 if(substr($mime,0,5) === 'image' && $render){ 208 }elseif($mime === 'application/x-shockwave-flash' && $render){
|
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/ |
H A D | MandrillHandler.php | 55 $mime = 'text/plain'; 57 $mime = 'text/html'; 61 $message->setBody($content, $mime);
|
H A D | SwiftMailerHandler.php | 96 $mime = 'text/plain'; 98 $mime = 'text/html'; 101 $message->setBody($content, $mime);
|
/plugin/projects/lib/ |
H A D | tools.php | 147 list($ext, $mime, $dl) = mimetype($id, false); 149 $mime = 'application/octet-stream'; 150 if ($mime == 'application/octet-stream') { 153 $mime = $finfo->file($path); 155 return $mime;
|
/plugin/advanced/lang/fr/config/ |
H A D | mime.txt | 3 …nfiguré à partir du fichier ''conf/mime.conf''. Les types supplémentaires doivent être ajoutés dan… 5 === Exemple de fichier mime.conf === 20 * [[doku>mime]]
|
/plugin/diagrams/action/ |
H A D | action.php | 54 $mime = getMimeTypes(); 55 if (!array_key_exists('svg', $mime) || $mime['svg'] !== 'image/svg+xml') {
|
/plugin/prettyphoto/ |
H A D | renderer.php | 31 list($ext,$mime,$dl) = mimetype($src,false); 32 if (substr($mime,0,5) === 'image' && $render) { 37 } else if ($mime === 'application/x-shockwave-flash' && $render) {
|
/plugin/html2pdf/html2pdf/html2ps/ |
H A D | content_type.class.php | 6 function ContentType($extension, $mime) { argument 8 $this->mime_type = $mime;
|
/plugin/advanced/lang/en/ |
H A D | config.txt | 15 | ''mime.conf'' | ''mime.local.conf'' | [[doku>mime]] …
|
/plugin/confmanager/lang/zh/ |
H A D | mime.txt | 1 您可以通过[[doku>mediamanager|媒体管理器]]上传哪些类型的文件是在 ''conf/mime.conf'' 文件配置的。它还可以用于配置文件扩展名 <-> MIME 类型的关联。 11 更多信息请查看 [[doku>mime]]。
|
/plugin/webdav/vendor/sabre/dav/lib/CalDAV/ |
H A D | CalendarObject.php | 132 $mime = 'text/calendar; charset=utf-8'; 134 $mime .= '; component=' . $this->objectData['component']; 136 return $mime;
|
/plugin/preservefilenames/ |
H A D | action_anteater.php | 113 … list($file, $mime, $dl, $cache) = array($d['file'], $d['mime'], $d['download'], $d['cache']); 118 header("Content-Type: $mime"); 160 http_rangeRequest($fp, filesize($file), $mime); 205 list($ext, $mime, $dl) = mimetype($src); 208 list($ext, $mime, $dl) = mimetype($src); 214 substr($mime, 0, 5) === 'image'
|
/plugin/zip/pear/File/Archive/Writer/ |
H A D | Output.php | 61 function newFile($filename, $stat = array(), $mime = "application/octet-stream") argument 71 header("Content-type: $mime");
|
/plugin/davcal/vendor/sabre/dav/lib/CalDAV/ |
H A D | CalendarObject.php | 130 $mime = 'text/calendar; charset=utf-8'; 132 $mime .= '; component=' . $this->objectData['component']; 134 return $mime;
|