src/CompiledTemplate.php
protected function renderMain(OutputBuffer $out)
	{
		if($this->getParent() === NULL)
		{
			throw new \RuntimeException('Failed to render main part');
		}
		
		$this->parent->renderMain($out);
	}
protected function renderMain(OutputBuffer $out)
	{
		if($this->getParent() === NULL)
		{
			throw new \RuntimeException('Failed to render main part');
		}
		
		$this->parent->renderMain($out);
	}
protected function renderMain ( OutputBuffer $ out ) { if ( $ this -> getParent ( ) === NULL ) { throw new \ RuntimeException ( 'Failed to render main part' ) ; } $ this -> parent -> renderMain ( $ out ) ; }
Render main content of the view.

@param OutputBuffer $out

@throws \RuntimeException If no parent view is available.
Render main content of the view .