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