Lines Matching refs:official
98 $official = substr($this->file->headers['content-type'], 0, $pos);
100 $official = $this->file->headers['content-type'];
102 $official = trim(strtolower($official));
104 if ($official === 'unknown/unknown'
105 || $official === 'application/unknown') {
107 } elseif (substr($official, -4) === '+xml'
108 || $official === 'text/xml'
109 || $official === 'application/xml') {
110 return $official;
111 } elseif (substr($official, 0, 6) === 'image/') {
116 return $official;
117 } elseif ($official === 'text/html') {
121 return $official;