Back to HtmlDocument class

Method 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
  • 1.7.0
Class: HtmlDocument
Project: Joomla

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();
}