Frontend\Core\Engine\Block\Widget::render PHP Метод

render() публичный Метод

Get the block content
public render ( string $template = null ) : string
$template string
Результат string
    public function render($template = null)
    {
        // set path to template if the widget didn't return any data
        if ($this->output === null) {
            return trim($this->object->getContent($template));
        }
        // return possible output
        return trim($this->output);
    }