source/Application/Component/Widget/ArticleBox.php
public function render()
    {
        parent::render();

        $sWidgetType = $this->getViewParameter('sWidgetType');
        $sListType = $this->getViewParameter('sListType');

        if ($sWidgetType && $sListType) {
            $this->_sTemplate = "widget/" . $sWidgetType . "/" . $sListType . ".tpl";
        }

        $sForceTemplate = $this->getViewParameter('oxwtemplate');
        if ($sForceTemplate) {
            $this->_sTemplate = $sForceTemplate;
        }

        return $this->_sTemplate;
    }
public function render()
    {
        parent::render();

        $sWidgetType = $this->getViewParameter('sWidgetType');
        $sListType = $this->getViewParameter('sListType');

        if ($sWidgetType && $sListType) {
            $this->_sTemplate = "widget/" . $sWidgetType . "/" . $sListType . ".tpl";
        }

        $sForceTemplate = $this->getViewParameter('oxwtemplate');
        if ($sForceTemplate) {
            $this->_sTemplate = $sForceTemplate;
        }

        return $this->_sTemplate;
    }
public function render ( ) { parent :: render ( ) ; $ sWidgetType = $ this -> getViewParameter ( 'sWidgetType' ) ; $ sListType = $ this -> getViewParameter ( 'sListType' ) ; if ( $ sWidgetType && $ sListType ) { $ this -> _sTemplate = "widget/" . $ sWidgetType . "/" . $ sListType . ".tpl" ; } $ sForceTemplate = $ this -> getViewParameter ( 'oxwtemplate' ) ; if ( $ sForceTemplate ) { $ this -> _sTemplate = $ sForceTemplate ; } return $ this -> _sTemplate ; }
Renders template based on widget type or just use directly passed path of template

@return string
Renders template based on widget type or just use directly passed path of template