⇦ Back to HtmlDocument classMethod parse
public \Joomla\CMS\Document\HtmlDocument
parse
(mixed $params = array())
Parses the template and populates the buffer
Parameters
- array $params Parameters for fetching the template
Returns
- \Joomla\CMS\Document\HtmlDocument instance of $this to allow chaining
Since
Method parse - Source code
/**
* Parses the template and populates the buffer
*
* @param array $params Parameters for fetching the template
*
* @return HtmlDocument instance of $this to allow chaining
*
* @since 1.7.0
*/
public function parse($params = array())
{
return $this->_fetchTemplate($params)->_parseTemplate();
}