Back to ApiApplication class

Method render

protected void
render
()
Rendering is the process of pushing the document buffers into the template placeholders, retrieving data from the document and pushing it into the application response buffer.
Returns
  • void
Since
  • 4.0.0
-
  • Rendering should be overridden to get rid of the theme files.

Method render - Source code

/**
 * Rendering is the process of pushing the document buffers into the template
 * placeholders, retrieving data from the document and pushing it into
 * the application response buffer.
 *
 * @return  void
 *
 * @since   4.0.0
 *
 * @note    Rendering should be overridden to get rid of the theme files.
 */
protected function render()
{
    // Render the document
    $this->setBody($this->document->render($this->allowCache()));
}