Get widget's view template.

@return string
337768
public function template()
    {
        return $this->entity->template === 'custom' ? $this->entity->custom_template : $this->entity->template;
    }
278211
public function template() {

		if ( is_null( $this->template ) ) {
			$this->template = $this->locate();
		}

		return $this->template;
	}
1358254
public function getViewPath()
    {
        $module = $this->module;
        
        if (substr($module, 0, 1) !== '@') {
            $module = '@'.$module;
        }
        
        return implode(DIRECTORY_SEPARATOR, [Yii::getAlias($module), 'views', 'aws', $this->getViewFolderName()]);
    }
993873
protected function getTemplate()
    {
        if ($this->template === null) {
            $this->template = \Tx_Oelib_TemplateRegistry::get(
                $this->templateFileName
            );
        }

        return $this->template;
    }
853710
private function getTemplates()
	{
		if (is_null($this->templates))
		{
			useLib('templates');
			$this->templates = new Templates();
		}

		return $this->templates;
	}
255707
public function getForm()
    {

        $view = new View();

        return $view->render(__DIR__ . '/../views/ulogin', [
            'widget' => $this->widget,
            'fields' => $this->requiredFields,
            'optional' => $this->optionalFields,
            'providers' => $this->requiredProviders,
            'hidden' => $this->hiddenProviders,
            'url' => $this->url
        ]);

    }
265623
public function getHTML()
    {
        if (isset($_GET['__atk_reload']) && $_GET['__atk_reload'] == $this->name) {
            $this->app->terminate($this->renderJSON());
        }

        $this->renderAll();

        return $this->template->render();
    }
74770
public function getTemplate()
    {
        if($this->template != ''){
            return $this->template;
        }

        if(($defaultTemplate = $this->container->getConfigInstance()->getDefaultTemplateName()) == null){
            return '';
        }

        return $defaultTemplate;
    }
986361
public function RenderTemplate () {
		$formViewScript = $this->form->GetViewScript();
		return $this->Render(
			static::$formsDir,
			is_bool($formViewScript) ? $this->form->GetId() : $formViewScript
		);
	}
1132437
protected function getTemplate()
    {
        $templateFile = '';
        if (isset($this->ffData['templateFile']) && !empty($this->ffData['templateFile'])) {
            $templateFile = $this->ffData['templateFile'];
        } elseif (isset($this->conf['defaultTemplateFileName'])) {
            $templateFile = $this->conf['defaultTemplateFileName'];
        }

        if ($templateFile === 'default') {
            $templateFile = $this->conf['defaultTemplateFileName'];
        }

        $templateCode = file_get_contents(GeneralUtility::getFileAbsFileName($this->conf['templatePath'] . $templateFile));
        return $this->templateService->getSubpart($templateCode, '###TEMPLATE_ADDRESS###');
    }
1126842
public function getDefaultTemplate() {
        if ($this->_defaultTemplate) return $this->_defaultTemplate;
        
        if ($this->template) 
            $this->_defaultTemplate = $this->template;
            else $this->_defaultTemplate = DEFAULT_TEMPLATE;
            
        return $this->_defaultTemplate;
    }
241855
public function view() {
		$view = $this->_get_args_for_template_part();
		$view = apply_filters( 'inc2734_wp_view_controller_view', $view );
		Helper\get_template_part( $view['slug'], $view['name'] );
	}
722243
private function getTemplate()
    {
        $template = config('laranotify.template');
        if ($template == '' && $this->template == '') {
            return $this->defaultTemplate();
        }

        if ($this->template != '') {
            return ($this->template);
        }

        return view($template);
    }
1067528
public function getRenderedTemplate() {
        $template = PO_PATH_TEMPLATES . DS . $this->_template['folder'] . DS . $this->_template['name'] . '.phtml';
        $layout = $this->_layout ? PO_PATH_TEMPLATES . DS . 'layout' . DS . $this->_layout . '.phtml' : NULL;
        
        return $this->render($template, $layout);
    }
736786
protected function getTemplate(Widget $widget, string $section): string
    {
        if ($section === 'help' && empty($this->widgetConfig[$widget->type]['help'])) {
            return '';
        }

        if (isset($this->widgetConfig[$widget->type]['templates'][$section])) {
            return $this->widgetConfig[$widget->type]['templates'][$section];
        }

        if (isset($this->fallbackConfig['templates'][$section])) {
            return $this->fallbackConfig['templates'][$section];
        }

        return '';
    }
1209398
public function render_template() {
		// template
		$_output = null;

		if ( ! empty( $this->struct['template'] ) ) {
			ob_start();
			include $this->struct['template'];
			$_output .= ob_get_clean();
		}

		return $_output;
	}
1246799
public function getLayout()
    {
        if (is_null($this->_layout)) {
            $default = 'layouts/default';
            $ext = $this->_routeInfo->getExtension();
            $file = "{$default}.{$ext}.twig";
            if (!is_null($this->_controller->layout)) {
                $file = "{$this->_controller->layout}.{$ext}.twig";
            }
            $this->_layout = new View(['file' => $file]);
        }
        return $this->_layout;
    }