Ergo\View\Template::partial PHP Method

partial() public method

Renders a template in the context of the current template
public partial ( $template, $vars = [] )
    public function partial($template, $vars = array())
    {
        return $this->_renderTemplate($template, array_merge($this->_vars, $vars));
    }