FOF30\Render\AkeebaStrapper::postRender PHP Method

postRender() public method

Echoes any HTML to show after the view template
public postRender ( string $view, string $task ) : void
$view string The current view
$task string The current task
return void
    public function postRender($view, $task)
    {
        $input = $this->container->input;
        $platform = $this->container->platform;
        $format = $input->getCmd('format', 'html');
        if ($format != 'html' || $platform->isCli()) {
            return;
        }
        $sidebarEntries = \JHtmlSidebar::getEntries();
        if (!empty($sidebarEntries)) {
            echo '</div>';
        }
        echo "</div>\n";
        // Closes row-fluid div
        echo "</div>\n";
        // Closes akeeba-bootstrap div
        echo "</div>\n";
        // Closes joomla-version div
    }