Get the main admin view.
503559
public function index()
	{
		return View::make('core::admin.index')
			->with('users', $this->users->all())
			->with('user', $this->auth->user())
			->with('locale', $this->loadLanguage());
	}
25840
function admin_object()
	{
		if($this->__havefc())
			return $this->__lastc();

		$admin_main_class = $this->main_class();

		return $this->__setc(object_load($admin_main_class, $this->id()));
	}
82668
def index_view(self, request):
        
        kwargs = {'model_admin': self}
        view_class = self.index_view_class
        return view_class.as_view(**kwargs)(request)
691562
protected function _getView(): View
    {
        if (!$this->getConfig('view')) {
            $view = new View();
            foreach ($this->getConfig('helpers') as $helper) {
                $view->loadHelper($helper);
            }

            $this->setConfig('view', $view);
        }

        return $this->getConfig('view');
    }
635829
def administration(self):
        """"""
        from ..manageags._services import AGSService
        url = self._url
        res = search("/rest/", url).span()
        addText = "/admin/"
        part1 = url[:res[1]].lower().replace('/rest/', '')
        part2 = url[res[1]:].lower().replace('/featureserver', ".mapserver")
        adminURL = "%s%s%s" % (part1, addText, part2)
        return AGSService(url=adminURL,
                          securityHandler=self._securityHandler,
                          proxy_url=self._proxy_url,
                          proxy_port=self._proxy_port,
                          initialize=False)
365090
def url(self):
        """"""
        return urlresolvers.reverse(
            "admin:%s_%s_change" % (self.content_type.app_label,
                                    self.content_type.model),
            args = (self.get_object().uid,))
567014
public function getView()
    {
        // If we don't have a prefix, just return the view.
        if (is_null($this->prefix)) {
            return $this->getBaseView();
        }

        // Set up modifiable variables.
        $view     = $this->concatViewAndPrefix($this->prefix, $this->view);
        $prefixes = clone $this->prefixes;

        $this->attempted($view);

        // Try to find a valid view.
        while (! view()->exists($view)) {
            // If we are out of prefixes and the view still isn't found, back out.
            if (is_null($this->prefix) && ! view()->exists($view)) {
                $view = null;
                break;
            }

            // Remove prefixes until we don't have any left.
            if ($prefixes->count() > 0) {
                $prefixes->pop();

                $prefixes     = $this->removeControllerFromPrefixes($prefixes);
                $this->prefix = $prefixes->count() > 0 ? $prefixes->implode('.') : null;
                $view         = $this->concatViewAndPrefix($this->prefix, $this->view);
            } else {
                $this->prefix = null;
                $view         = $this->view;
            }

            $this->attempted($view);
        }

        $this->view = $view;

        return $this->view;
    }
1353481
def main_view(request, ident, stateless=False, cache_id=None, **kwargs):
    ''
    _, app = DashApp.locate_item(ident, stateless, cache_id=cache_id)

    view_func = app.locate_endpoint_function()
    resp = view_func()
    return HttpResponse(resp)
638812
public function getRequestedView()
	{
		if($this->_viewPath===null)
		{
			if(!empty($_GET[$this->viewParam]) && is_string($_GET[$this->viewParam]))
				$this->_viewPath=$_GET[$this->viewParam];
			else
				$this->_viewPath=$this->defaultView;
		}
		return $this->_viewPath;
	}
293791
public function get_view()
	{
    $args = $this->get_arguments(\func_get_args());
		/*if ( !isset($args['mode']) ){
      $v = $this->mvc->get_view($args['path'], 'html', $args['data']);
      if ( !$v ){
        $v = $this->mvc->get_view($args['path'], 'php', $args['data']);
      }
		}
		else{
      $v = $this->mvc->get_view($args['path'], $args['mode'], $args['data']);
    }*/
		if ( empty($args['mode']) ){
      $args['mode'] = 'html';
    }
    $v = $this->mvc->get_view($args['path'], $args['mode'], $args['data']);
		/*
    if ( !$v && $args['die'] ){
      die("Impossible to find the $args[mode] view $args[path] from $args[file]");
    }
		*/
    return $v;
	}
370486
def registeredViews(location='Central'):
        
        return [view for view in XView._registry.get(nativestring(location), {}).values() if not view.isViewAbstract()]
124820
public function View ()
	{
		
		// If there is no view then use basic by default
		
		if (!$this->view)
		{
			$this->view		= new View\Basic;
		}
		
		// If there is no template then set default
		
		if (!$this->template)
		{
			$this->template	= $this->view->defaultTemplate ($this->module, $this->controller, $this->action);
		}

		// Assign controller reference

		$this->view->assign ('controller', $this);

		// Display view
		
		$this->view->display ($this->template);
		
	}
556811
public function getView()
    {
        $module = \Yii::$app->controller->module;

        if (method_exists($module, 'getView')) {
            return $module->getView();
        }

        return parent::getView();
    }
131073
public function getView()
	{
		if ($this->_view === NULL) {
			$this->_view = Registry::get('view');
		}

		return $this->_view;
	}
573861
def meta_manager_view(request):
    '''
    
    '''
    managers = Manager.objects.all()
    return render_to_response('meta_manager.html', {
        'page_name': "Admin - Meta-Manager",
        'managerset': managers,
        }, context_instance=RequestContext(request))
295911
public function getView()
    {
        if($this->view == null) {
            $this->view = new View($this);
        }
        return $this->view;
    }
1072892
private static function view()
    {
        $files = ['View'];
        $folder = static::$root.'MVC/View'.'/';

        self::call($files, $folder);

        $files = ['Template', 'Views'];
        $folder = static::$root.'MVC/View/Libs'.'/';

        self::call($files, $folder);

        $files = ['ViewNotFoundException'];
        $folder = static::$root.'MVC/View/Exceptions'.'/';

        self::call($files, $folder);
    }