public static function view($path, $model = null) {
        if (($viewPath = PathUtility::getViewFilePath($path)) !== false) {
            $viewResult = new ViewResult($viewPath, $model);
            $viewContext = InternalHelper::makeViewContext(
                $viewPath, 
                self::$viewContext,
                $viewResult,
                $model,
                null,
                self::$parentActionViewContext,
                self::$viewContext,
                null
            );

            return $viewContext->content; //InternalHelper::getViewContent($viewPath, self::$viewContext, $model);
        }
        else {
            throw new ViewNotFoundException($path);
        }
    }