src/CompiledTemplate.php
public function renderParentBlock(OutputBuffer $out, $name)
	{
		if($this->getParent() === NULL)
		{
			throw new \RuntimeException('Cannot render parent block because no template is inherited');
		}
		
		$this->parent->renderBlock($out, $name);
	}
public function renderParentBlock(OutputBuffer $out, $name)
	{
		if($this->getParent() === NULL)
		{
			throw new \RuntimeException('Cannot render parent block because no template is inherited');
		}
		
		$this->parent->renderBlock($out, $name);
	}
public function renderParentBlock ( OutputBuffer $ out , $ name ) { if ( $ this -> getParent ( ) === NULL ) { throw new \ RuntimeException ( 'Cannot render parent block because no template is inherited' ) ; } $ this -> parent -> renderBlock ( $ out , $ name ) ; }
Render a named block from the parent view.

@param OutputBuffer $out
@param string $name Name of the block to be rendered.

@throws \RuntimeException When no parent view is available.
Render a named block from the parent view .