code: public function parse()
  	{
  		if ($this->strTemplate == '')
  		{
  			return '';
  		}
  
  		// HOOK: add custom parse filters
  		if (isset($GLOBALS['TL_HOOKS']['parseTemplate']) && \is_array($GLOBALS['TL_HOOKS']['parseTemplate']))
  		{
  			foreach ($GLOBALS['TL_HOOKS']['parseTemplate'] as $callback)
  			{
  				$this->import($callback[0]);
  				$this->{$callback[0]}->{$callback[1]}($this);
  			}
  		}
  
  		return $this->inherit();
  	}
docs: Parse the template file and return it as string
  
  @return string The template markup