public function render($cache = false, $params = array())
	{
		if ($mdate = $this->getModifiedDate())
		{
			\App::get('response')->headers->set('Last-Modified', $mdate /* gmdate('D, d M Y H:i:s', time() + 900) . ' GMT' */);
		}

		\App::get('response')->headers->set('Content-Type', $this->_mime . ($this->_charset ? '; charset=' . $this->_charset : ''));
	}
public function render($cache = false, $params = array())
	{
		if ($mdate = $this->getModifiedDate())
		{
			\App::get('response')->headers->set('Last-Modified', $mdate /* gmdate('D, d M Y H:i:s', time() + 900) . ' GMT' */);
		}

		\App::get('response')->headers->set('Content-Type', $this->_mime . ($this->_charset ? '; charset=' . $this->_charset : ''));
	}
public function render ( $ cache = false , $ params = array ( ) ) { if ( $ mdate = $ this -> getModifiedDate ( ) ) { \ App :: get ( 'response' ) -> headers -> set ( 'Last-Modified' , $ mdate /* gmdate('D, d M Y H:i:s', time() + 900) . ' GMT' */ ) ; } \ App :: get ( 'response' ) -> headers -> set ( 'Content-Type' , $ this -> _mime . ( $ this -> _charset ? '; charset=' . $ this -> _charset : '' ) ) ; }
Outputs the document

@param   boolean  $cache   If true, cache the output
@param   array    $params  Associative array of attributes
@return  The rendered data
Outputs the document