Lines Matching refs:mime
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, ] = mimetype($value, false);
80 if (substr($mime, 0, 6) == 'image/') {
127 if ($mode == 'xhtml' && $this->getConfig()['mime'] == 'image/') {