lib/public/AppFramework/Http/TemplateResponse.php
/**
	 * Returns the rendered html
	 * @return string the rendered html
	 * @since 6.0.0
	 */
Returns the rendered html
@return string the rendered html
@since 6.0.0
Returns the rendered html @return string the rendered html @since 6 . 0 . 0
public function render(){
		$renderAs = $this->renderAs === 'blank' ? '' : $this->renderAs;
		$template = new \OCP\Template($this->appName, $this->templateName, $renderAs);
		foreach($this->params as $key => $value){
			$template->assign($key, $value);
		}
		return $template->fetchPage();
	}
public function render ( ) { $ renderAs = $ this -> renderAs === 'blank' ? '' : $ this -> renderAs ; $ template = new \ OCP \ Template ( $ this -> appName , $ this -> templateName , $ renderAs ) ; foreach ( $ this -> params as $ key => $ value ) { $ template -> assign ( $ key , $ value ) ; } return $ template -> fetchPage ( ) ; }
Returns the rendered html
 @return string the rendered html
 @since 6.0.0
Returns the rendered html @return string the rendered html @since 6 . 0 . 0
// \OCP\Template needs an empty string instead of 'blank' for an unwrapped response