Make a view object

@param  string $view
@param  string $styl
@return View
165609
public function make($view, $style = null)
    {
        $viewPath = $this->viewFinder->find($view);

        try {
            $stylePath = $this->styleFinder->find($style ?: $view);
        } catch (InvalidArgumentException $e) {
            $stylePath = null;
        }

        return new View($this->viewParser, $viewPath, $this->styleParser, $stylePath);
    }
919191
public function includeFunc( View $view)
	{
		if( $this->isFunc() )
		{
			Helper::includeFile( $this->getFuncFilePath(), ["view" => $view], false, true );
		}
		return $this;
	}
28473
public function make($view, array $data = [])
    {
        $location = $this->finder->find($view);

        if ( ! $location) {
            throw new \Exception(sprintf('View `%s` cannot be found!', $view));
        }

        return new View($location, $view, $data);
    }
1245087
public function make($view, $data = [])
    {
        if ( ! file_exists($view)) {
            throw new ViewNotFoundException("No file found at '{$view}'");
        }

        ob_start();

        if ( ! empty($data)) {
            extract($data);
        }

        include($view);

        return ob_get_clean();
    }
791953
public static function make( $view, $data = [], $mergeData = [] )
	{
		return static::__do( __FUNCTION__, args_with_keys( func_get_args(), __CLASS__, __FUNCTION__ ) );
	}
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();
    }
926359
public static function createLayout($sLayoutName, View $oView)
    {
        $sLayoutsRoot = AppHelper::getInstance()->getComponentRoot('layouts');
        $sLayoutFile  = $sLayoutsRoot.DIRECTORY_SEPARATOR
            .strtolower($sLayoutName).'.php';
        if (is_readable($sLayoutFile)) {
            return new Layout($sLayoutFile, $oView);
        }
        return null;
    }
732940
public function view(string $view, array $data = []) : Mail
  {
    $this->viewLocation = $view;
    $this->viewArgs = $data;
    return $this;
  }
728018
public function create(string $view, array $variables = []): View
	{
		[$path, $extension] = $this->getViewPathAndExtension($view);

		return new View($path, $this->mergeVariables($view, $variables), $this->resolveRenderer($extension));
	}
1056184
private function generateView($view)
    {
        return $this->indenter
            ->indent(view('scaffold-interface::template.views.'.$this->parser->getTemplate().'.'.$view,
                ['parser' => $this->parser, 'dataSystem' => $this->dataSystem])->render());
    }
915890
public function getView($view)
    {
        if (Template::exists('Form/' . $view)) {
            return Template::getAdminTemplate('Form/' . $view);
        }

        return new View($view, B8_PATH . 'Form/View/');
    }
628019
public function build($view = '')
    {
        if ($this->output != '') return;
        ($view == '') and $view = 'rapyd::datagrid';
        parent::build();

        Persistence::save();

        foreach ($this->data as $tablerow) {

            $row = new Row($tablerow);

            foreach ($this->columns as $column) {

                $cell = new Cell($column->name);
                $sanitize = (count($column->filters) || $column->cell_callable) ? false : true;
                $value = $this->getCellValue($column, $tablerow, $sanitize);
                $cell->value($value);
                $cell->parseFilters($column->filters);
                if ($column->cell_callable) {
                    $callable = $column->cell_callable;
                    $cell->value($callable($cell->value, $tablerow));
                }
                $row->add($cell);
            }

            if (count($this->row_callable)) {
                foreach ($this->row_callable as $callable) {
                    $callable($row);
                }
            }
            $this->rows[] = $row;
        }
        $this->output = \View::make($view, array('dg' => $this, 'buttons'=>$this->button_container, 'label'=>$this->label))->render();
        return $this->output;
    }
678587
public function make( $views ) {
		foreach ( $views as $view ) {
			if ( $this->exists( $view ) ) {
				$filepath = $this->resolveFilepath( $view );
				return $this->makeView( $view, $filepath );
			}
		}

		throw new ViewNotFoundException( 'View not found for "' . implode( ', ', $views ) . '"' );
	}
241578
public function compile(JsUtils $js = NULL, &$view = NULL) {
		if(isset($this->_maxVisible) && $this->_maxVisible<$this->count()){
			$this->addFollowPoints();
			if(isset($js)){
				$visibility=new Visibility($js);
				$visibility->attach("#".$this->identifier);
				$visibility->setOnTopVisible("$(this).children('.notVisible').hide();$(this).find('.points').show();");
				$visibility->compile($js,$view);
				$this->_visibility=$visibility;
			}
		}
		return parent::compile ($js,$view);
	}
939386
protected function stringViewInstance($view, $data)
    {
        return new StringView($this, $this->engines->resolve('stringblade'), $view, null, $data);
    }
86346
protected function view($view, $data = [], $auto_filter = null)
	{
		return \View::forge($view, $data, $auto_filter);
	}
1299586
public function compile(JsUtils $js=NULL,&$view=NULL){
		$this->insertItem(new HtmlIcon("", "left chevron"));
		$this->addItem(new HtmlIcon("", "right chevron"));
		$this->asPagination();
		return parent::compile($js,$view);
	}