@param string|null $view

@return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
7594
public function render($view = null)
    {
        if ($this->hasChild() && ! $this->hasClassProperty($class = config('navigation.class.has_child', 'treeview'))) {
            $this->setHtmlAttribute('class', $class);
        }

        $data = $this->toArray();

        if (! is_null($view)) {
            return view($view, $data)->render();
        }

        return app('sleeping_owl.template')->view('_partials.navigation.page', $data)->render();
    }
752770
public function createView($file = null)
    {
        $view = new View($this->getTemplatePath() . '/app/views/');
        if ($file) {
            $view->setFile($file);
        }
        return $view;
    }
124862
public function render(string $view): string
	{
		if(empty($this->viewFactory))
		{
			throw new RuntimeException('A [ ViewFactory ] instance is required to render pagination views.');
		}

		return $this->viewFactory->create($view, $this->pagination())->render();
	}
86346
protected function view($view, $data = [], $auto_filter = null)
	{
		return \View::forge($view, $data, $auto_filter);
	}
1068207
public function getFilters($view = null)
    {
        if (!$this->filters) {
            return false;
        }

        $this->filters = array_unique($this->filters);

        //$this->filters = array_unique($this->filters);
        $renderable = false;
        foreach ($this->filters as $filter) {
            if ($filter->renderable) {
                $renderable = true;
                break;
            }
        }
        if (!$renderable) {
            return false;
        }

        $this->attachScripts();

        return view(($view) ? $view : 'datatables-helpers::filters', [
                    'filters'  => $this->filters,
                    'selected' => $this->selected,
                    'route'    => $this->route,
                    'urls'     => [
                        'store'   => handles('antares/foundation::datatables/filters/store'),
                        'destroy' => handles('antares/foundation::datatables/filters/destroy'),
                        'update'  => handles('antares/foundation::datatables/filters/update'),
                    ],
                    'group'    => 'Groups'])->render();
    }
1084897
public function compose(View $view)
    {
        if ($this->overwriteDisabled($view)) {
            return $view;
        }

        $this->currentPath = collect(explode('/views/', $view->getPath()))->last();

        if (\View::exists($this->getNewView())) {
            $view->setPath($this->getNewPath());
        }

        return $view;
    }
949037
public function render($view, array $data = null)
	{
		// Sanitize variables already in the template.
		foreach (get_object_vars($this) as $key => $value) {
			if (!in_array($key, $this->unguarded)) {
				$this->$key = $this->scrub($value);
			}
		}

		// Also sanitize any variables we are passing in to the template
		$data = $this->scrub($data);

		return parent::render($view, $data);
	}
485672
public function render($view = null) {
            // Automatically hide pagination whenever it is superfluous
            if ($this->config['auto_hide'] === true AND $this->total_pages <= 1) {
                return '';
            }

            if ($view === null) {
                // Use the view from config
                $view = $this->config['view'];
            }
            $tpl = \Meerkat\Twig\Twig::from_template($view);

            // Pass on the whole Pagination object
            //print '<pre>';
            //print_r(get_object_vars($this));
            //print '</pre>';
            return $tpl
                ->set(get_object_vars($this))
                ->set('page', $this)
                ->render();
        }
521505
protected function makeView($view)
    {
        if( Auth::check() ) {
            $this->addParameter( 'activeUser', Auth::user() );
        }

        return View::make( $view, $this->parameters );
    }
833881
protected function findViewFile($view, $context = null)
    {
        $path = parent::findViewFile($view, $context);

        if ($this->theme !== null) {
            $path = $this->theme->applyTo($path);
        }

        if (!is_file($path)) {
            //find default view file
            return $this->findDefaultViewFile($view, $context);
        }

        return FileHelper::localize($path);
    }
321236
public function actionManage($view=null) 
	{
		$pageTitle = Yii::t('phrase', 'Page Views Data');
		if($view != null) {
			$data = OmmuPageViews::model()->findByPk($view);
			$pageTitle = Yii::t('phrase', 'Page Views Data: $page_title - user Guest', array ('$page_title'=>$data->page->title->message));	
			if($data->user_id)
				$pageTitle = Yii::t('phrase', 'Page Views Data: $page_title - user $user_displayname', array ('$page_title'=>$data->page->title->message, '$user_displayname'=>$data->user->displayname));
		}
		
		$model=new OmmuPageViewHistory('search');
		$model->unsetAttributes();	// clear any default values
		if(isset($_GET['OmmuPageViewHistory'])) {
			$model->attributes=$_GET['OmmuPageViewHistory'];
		}

		$columns = $model->getGridColumn($this->gridColumnTemp());

		$this->pageTitle = $pageTitle;
		$this->pageDescription = '';
		$this->pageMeta = '';
		$this->render('admin_manage', array(
			'model'=>$model,
			'columns' => $columns,
		));
	}
486423
public function create($view = null, array $data = [])
    {
        if (is_null($view)) {
            return $this;
        }

        return $this->render($view, $data, true)->content();
    }
1090638
public function render($view)
    {
        extract($this->attributes);

        ob_start();
        require $view;

        return $this->minify === true
            ? $this->min(ob_get_clean())
            : ob_get_clean();
    }
925893
public function getView(): View
    {
        $path = $this->useShortViewPath ?
            $this->getViewPath() : sprintf('%s.%s.%s', $this->getTheme(), $this->getLayout(), $this->getViewPath());

        if (is_null($this->viewInstance)) {
            $this->viewInstance = $this->factory->make($path);
        }

        return $this->viewInstance;
    }
1374479
public static function view($url, $view, $data = null)
    {
        $callback = function () use ($view, $data) {
            $view = view($view);

            if (!is_null($data)) {
                foreach ($data as $key => $value) {
                    $view = $view->with($key, $value);
                }
            }

            return $view;
        };

        static::get($url, $callback);
    }
645458
public function setView(\Zend_View_Interface $view = null) {
        /**
         * If the form is populated... and we have a tab set... select it
         */
        $tab = $this->getValue('tab');
        if ($tab > 0) {
            $this->selectTab($tab);
        }

        parent::setView($view);

        if ($this->_view !== $view) {
            $this->activateJQuery();
        }

        return $this;
    }
1122325
public function setViewPath($view)
    {
        $this->layout->layout = $this->viewPath->setUp($this->layout->layout, $view);

        return $this;
    }