Get the fully qualified location of the view.

@param  string $name
@return string
183924
public function find($name)
    {
        list($namespace, $view) = $this->parseName($name);

        if ($namespace == self::MAIN_NAMESPACE && $this->isRelativeView($view)) {
            return $this->findRelativePathView($view);
        }

        return $this->findNamespacedView($view, $namespace);
    }
691927
public function getPath($name)
    {
        $segments = explode('\\', $name);

        array_shift($segments);
        if($this->path)
            return $this->path.'/'.ucfirst(array_last($segments)).'Factory.php';
        else
            return database_path('factories/'.ucfirst(array_last($segments))).'Factory.php';

    }
391499
public function getView(string $name = '')
    {
        if (empty($name)) {
            $name = $this->getComponentsName();
        }

        $view = $this->MVCFactory($name, 'View');

        return $view;
    }
189744
public function getViewFile($name)
    {
        list($plugin, $name) = $this->pluginSplit($name);
        $return = null;
        foreach ($this->_paths($plugin) as $path) {
            $viewFile = FS::clean($path . $name . $this->_ext);
            if (FS::isFile($viewFile)) {
                $return = $this->_checkFilePath($viewFile, $path);
                break;
            }
        }

        return $return;
    }
714856
protected function getMigrationFullName($name)
    {
        $folder = '';

        if (Config::organizeMigrations()) {
            $folder = $this->getTableName();
        }

        return $this->getMigrationPath($folder) . DIRECTORY_SEPARATOR . $name . '.php';
    }
575259
protected function getRoutePath($name)
    {
        $routeName = str_replace_first('api.', '', $this->getRouteName($name));
        $routeNameExploded = explode('.', $routeName);
        $routePath = str_replace('.', '/', $routeName);
        if ($this->option('parent') && count($routeNameExploded) >= 2) {
            $routePath = str_replace_last('/', '.', $routePath);
        }
        return $routePath;
    }
870742
protected function getPath($name)
    {
        if ($this->app['config']->get('filters.path'))
            return $this->app['config']->get('filters.path') . '/' . class_basename($name) . '.php';
        else return parent::getPath($name);
    }
1026456
public function getViewDefinition($name = 'default')
    {
        if (array_key_exists($name, $this->views)) {
            return $this->views[$name];
        }

        throw new CMDLParserException('Data type' . rtrim(' ' . $this->getName()) . ' has no view "' . $name . '"',
            CMDLParserException::CMDL_VIEW_NOT_DEFINED);
    }
960694
public function getSource($name): string
    {
        return $this->innerLoader->getSourceContext($this->getRealName($name))->getCode();
    }
737985
public function getViewPath($view)
    {
        if ($view instanceof View) {
            return $view->getPath();
        }

        if (strpos($view, '::') !== false) {
            return $view;
        }

        return $this->getViewNamespace().'.'.$view;
    }
440256
protected function findNamedPathView($name)
    {
        list($namespace, $view) = $this->getNamespaceSegments($name);

        return $this->findInPaths($view, $this->hints[$namespace]);
    }
536343
public function getSource($name)
    {
        // Fetch the view from the database.
        $viewModel = Vpage::make($name);

        // If it is found return its content.
        if (! empty($viewModel)) {
            return $viewModel->content;
        }

        throw new Twig_Error_Loader('unable to locate page ' . $name);
    }
1172649
public function find($name)
    {

        if (strpos($name, '::') !== false) {
            return $this->findNamedPathView($name);
        }
        return $this->findInPaths($name, $this->paths);
    }
383297
private function getViewFile($name, $extension = 'html')
    {
        return $this->viewsConfiguration->getViewsPath($this->app->getBasePath()) . DIRECTORY_SEPARATOR . $name . '.' . $extension;
    }
463845
public function getPartial(string $name)
    {
        if (isset($this->partials[$name])) {
            return $this->partials[$name];
        }

        return null;
    }
1077716
public static function getView( $name )
    {
        // Check if a view with the given name exists.
        if ( !isset( self::$views[$name] ) )
        {
            throw new phpillowNoSuchPropertyException( $name );
        }

        // Instantiate and return view.
        $className = self::$views[$name];
        return new $className;
    }
169114
public function getPossibleViewFiles($name)
    {
        $parts = explode(self::FALLBACK_PARTS_DELIMITER, $name);
        $templates[] = array_shift($parts);
        foreach ($parts as $i => $part) {
            $templates[] = $templates[$i].self::FALLBACK_PARTS_DELIMITER.$part;
        }
        rsort($templates);
        return $this->getPossibleViewFilesFromTemplates($templates);
    }