Home
last modified time | relevance | path

Searched refs:mime (Results 1 – 25 of 155) sorted by relevance

1234567

/plugin/combo/ComboStrap/
H A DMime.php30 private $mime; variable in ComboStrap\\Mime
35 public function __construct(string $mime) argument
37 if (trim($mime) === "") {
40 $this->mime = $mime;
43 public static function create(string $mime): Mime argument
45 return new Mime($mime);
50 return $this->mime;
59 return array_search($this->mime, self::$knownTypes) !== false;
68 if (in_array($this->mime, [self::SVG, self::JSON])) {
76 return explode("/", $this->mime)[0];
[all …]
H A DPathAbs.php45 $mime = mimetype($this->getLastName(), true)[1];
46 if ($mime === null || $mime === false) {
49 return new Mime($mime);
H A DMessage.php62 function addContent($message, $mime): Message argument
64 if (!isset($this->content[$mime])) {
65 $this->content[$mime] = [];
67 $this->content[$mime][] = $message;
102 function getContent($mime = null): string argument
104 if ($mime != null) {
105 return implode(DOKU_LF, $this->content[$mime]);
H A DLocalFs.php38 $mime = $path->getMime();
39 if($mime === null){
42 if ($mime->isTextBased()) {
45 …throw new ExceptionComboRuntime("This mime content ($mime) can not yet be retrieved for the path (…
/plugin/jdraw/lib/
H A Dhttpmime-4.0.1.jar ... value } org/apache/http/entity/mime/MIME.class MIME.java package org. ...
/plugin/jcapture/lib/
H A Dhttpmime-4.0.1.jar ... value } org/apache/http/entity/mime/MIME.class MIME.java package org. ...
/plugin/swiftmail/Swift/Plugin/
H A DDecorator.php139 foreach ($mime->headers->getList() as $name => $value)
143 $mime->headers->set($name, $replaced);
164 $body = $mime->getData();
165 if ($this->isPermittedType($mime->getContentType())
168 $mime->setData($replaced);
172 foreach ($mime->listChildren() as $id)
179 $child = $mime->getChild($id);
198 protected function recursiveRestore(Swift_Message_Mime $mime, &$store) argument
211 $mime->headers->setAttribute($name, $att_name, $att_value);
217 $mime->setData($store["body"]);
[all …]
/plugin/zip/pear/File/Archive/Writer/
H A DMemory.php50 var $mime; variable in File_Archive_Writer_Memory
73 function newFile($filename, $stat, $mime = "application/octet-stream") argument
77 $this->mime = $mime;
111 * @param string $mime Mime type of the file provided by the reader
116 function makeReader($filename = null, $stat = null, $mime = null) argument
123 $mime === null ? $this->mime : $mime);
H A DMail.php45 var $mime; variable in File_Archive_Writer_Mail
93 $this->mime = new Mail_mime();
94 $this->mime->setTXTBody($message);
96 $this->mime->setHTMLBody($htmlMessage);
113 return $this->mime->setHTMLBody($data, $isfile);
121 return $this->mime->addHTMLImage($file, $c_type, $name, $isfile);
144 $error = $this->mime->addAttachment(
155 function newFile($filename, $stat, $mime = "application/octet-stream") argument
163 $this->currentMime = $mime;
187 $body = $this->mime->get();
[all …]
H A DAddBaseName.php56 function newFile($filename, $stat = array(), $mime = "application/octet-stream") argument
58 $this->writer->newFile($this->baseName.$filename, $stat, $mime);
64 … function newFromTempFile($tmpfile, $filename, $stat = array(), $mime = "application/octet-stream") argument
66 $this->writer->newFromTempFile($tmpfilen $this->baseName.$filename, $stat, $mime);
H A DUniqueAppender.php74 function newFile($filename, $stat = array(), $mime = "application/octet-stream") argument
80 return $this->writer->newFile($filename, $stat, $mime);
86 … function newFromTempFile($tmpfile, $filename, $stat = array(), $mime = "application/octet-stream") argument
92 return $this->writer->newFromTempFile($tmpfile, $filename, $stat, $mime);
/plugin/scrape/
H A Dsyntax.php92 list($mime,$charset) = explode(';',$http->resp_headers['content-type']);
93 $mime = trim(strtolower($mime));
98 if(preg_match('/image\/(gif|png|jpe?g)/',$mime)){
101 }elseif(preg_match('/text\//',$mime)){
106 if(preg_match('/text\/html/',$mime)){
116 $R->doc .= 'Failed to handle mime type '.hsc($mime);
139 list($ext,$mime) = mimetype($plink->attr('href'),true);
140 if($ext && $mime != 'text/html'){
/plugin/zip/pear/File/Archive/
H A DWriter.php44 * @param string $mime MIME type of the file
46 function newFile($filename, $stat = array(), $mime = "application/octet-stream") argument
62 * @param string $mime MIME type of the file
64 … function newFromTempFile($tmpfile, $filename, $stat = array(), $mime = "application/octet-stream") argument
66 $this->newFile($filename, $stat, $mime);
/plugin/zip/pear/File/Archive/Reader/
H A DFile.php65 var $mime = null; variable in File_Archive_Reader_File
77 function File_Archive_Reader_File($filename, $symbolic = null, $mime = null) argument
80 $this->mime = $mime;
147 if ($this->mime === null) {
149 $this->mime = MIME_Type::autoDetect($this->getDataFilename());
152 if (PEAR::isError($this->mime)) {
153 $this->mime = parent::getMime();
156 return $this->mime;
H A DMemory.php53 var $mime; variable in File_Archive_Reader_Memory
77 * @param string $mime is the mime type of the file
80 $stat=array(), $mime=null) argument
86 $this->mime = $mime;
116 return $this->mime==null ? parent::getMime() : $this->mime;
H A DConcat.php43 var $mime; variable in File_Archive_Reader_Concat
48 $stat=array(), $mime=null) argument
53 $this->mime = $mime;
99 return $this->mime==null ? parent::getMime() : $this->mime;
/plugin/bez/renderer/
H A Dxhtmlmail.php39 list($ext, $mime) = mimetype($src);
40 if(substr($mime, 0, 5) == 'image') {
81 } elseif(media_supportedav($mime, 'video') || media_supportedav($mime, 'audio')) {
96 if(media_supportedav($mime, 'video')) {
100 if(media_supportedav($mime, 'audio')) {
105 } elseif($mime == 'application/x-shockwave-flash') {
/plugin/advanced/lang/en/config/
H A Dmime.txt3mime.conf'' file. Additional mimetypes should be added in ''mime.local.conf''. The file expects an…
5 === Example of mime.conf ===
20 * [[doku>mime]]
/plugin/zip/pear/File/Archive/Predicate/
H A DMIME.php61 foreach ($this->mimes as $mime) {
62 if (MIME_Type::isWildcard($mime)) {
63 $result = MIME_Type::wildcardMatch($mime, $sourceMIME);
65 $result = ($mime == $sourceMIME);
/plugin/confmanager/lang/ko/
H A Dmime.txt1 [[doku>mediamanager]]을 통해서 어떤 파일 종류를 업로드 할 수 있을 지 ''conf/mime.conf'' 파일에서 지정합니다. 또한 파일 확장자와 mimetyp…
5 …e the [[doku>config:iexssprotect]] option additionally to adding the HTML mime type in the config …
10 또 파일 확장자와 mime의 관계는 http://filext.com/ 에서 알 수 있습니다.
12 더 자세한 내용은 [[doku>mime]] 페이지를 참조하세요.
/plugin/csstimeline/
H A Dfeed.php30 $mime = 'text/xml'; variable
34 $mime = 'text/xml'; variable
38 $mime = 'application/xml'; variable
42 $mime = 'application/atom+xml'; variable
46 $mime = 'application/xml'; variable
/plugin/database2/
H A Dmedia.php92 $mime = $session['mime']; variable
101 if ( !$mime )
243 $mime = 'text/html; charset=utf-8'; variable
275 $mime = 'text/csv; charset=utf-8'; variable
313 $mime = 'text/csv; charset=utf-8'; variable
326 $mime = substr( $data, 0, $sepPos ); variable
355 list( $major, $minor ) = explode( '/', $mime );
424 $mime = 'image/png'; variable
437 header( 'Content-Type: ' . $mime );
/plugin/confmanager/lang/fr/
H A Dmime.txt1 …igurés dans le fichier ''conf/mime.conf''. Ce même fichier configure également les correspondances…
7 Si vous avez besoin d'icône pour un type mime, vous pourrez en trouver dans le style de DokuWiki su…
9 La liste de toutes les extensions avec leur type mime est disponible sur [[http://filext.com/].
11 Voir [[doku>fr:mime]] pour de plus amples informations.
/plugin/godiag/
H A Dfetch.php19 $mime = 'image/png'; variable
22 $mime = 'application/sgf'; variable
34 header('Content-Type: '.$mime);
/plugin/confmanager/lang/en/
H A Dmime.txt1 …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]].

1234567