public function get_accept() { $mimelist = $this->get_mime_list(); $accept = $this->get_best_mime(array_keys($mimelist)); return $accept; }