src/CompiledTemplate.php
protected final function getParent()
	{
		if($this->parent === false)
		{
			if(NULL === ($file = $this->getExtended()))
			{
				$this->parent = NULL;
			}
			else
			{
				$typeName = $this->factory->createView($this->renderer, $this->resolveResource($file));
				
				$this->parent = new $typeName($this->factory, $this->renderer);
				$this->parent->inherit($this->context, $this->exp);
			}
		}
		
		return $this->parent;
	}
protected final function getParent()
	{
		if($this->parent === false)
		{
			if(NULL === ($file = $this->getExtended()))
			{
				$this->parent = NULL;
			}
			else
			{
				$typeName = $this->factory->createView($this->renderer, $this->resolveResource($file));
				
				$this->parent = new $typeName($this->factory, $this->renderer);
				$this->parent->inherit($this->context, $this->exp);
			}
		}
		
		return $this->parent;
	}
protected final function getParent ( ) { if ( $ this -> parent === false ) { if ( NULL === ( $ file = $ this -> getExtended ( ) ) ) { $ this -> parent = NULL ; } else { $ typeName = $ this -> factory -> createView ( $ this -> renderer , $ this -> resolveResource ( $ file ) ) ; $ this -> parent = new $ typeName ( $ this -> factory , $ this -> renderer ) ; $ this -> parent -> inherit ( $ this -> context , $ this -> exp ) ; } } return $ this -> parent ; }
Get the parent view of this view or NULL if no parent view exists.

@return CompiledTemplate
Get the parent view of this view or NULL if no parent view exists .