/** * Parse the view and print its content * */ public function getContent() { header('Content-Type: ' . View::getMIME($this->type)); return $this->parse_file($this->file); }