Renders the index page of an ActiveWindow.

@return array
511744
public function actionActiveWindowRender()
    {
        $this->checkAccess('active-window-render');
        
        // generate ngrest active window
        $render = new RenderActiveWindow();
        $render->setItemId(Yii::$app->request->getBodyParam('itemId', false));
        $render->setActiveWindowHash(Yii::$app->request->getBodyParam('activeWindowHash', false));
        
        // process ngrest render view with config context
        $ngrest = new NgRest($this->model->getNgRestConfig());
        
        return [
            'content' => $ngrest->render($render),
            'icon' => $render->getActiveWindowObject()->getIcon(),
            'label' => $render->getActiveWindowObject()->getLabel(),
            'title' => $render->getActiveWindowObject()->getTitle(),
            'requestDate' => time(),
        ];
    }
63881
public function actionIndex()
	{
		$this->pageTitle = Yii::t('phrase', 'Main | Dora. - Coming Soon Page Template');
		$this->pageDescription = '';
		$this->pageMeta = '';
		$this->render('/dora/site/front_index');
	}
1371125
public function render()
    {
        if (!$this->grid->showPagination()) {
            return '';
        }

        return $this->paginationRanger().
            $this->paginationLinks().
            $this->perPageSelector();
    }
423827
public function index()
    {
        return $this->render('index', [
            'model' => $this->model,
            'endpoints' => $this->getAvailableApiEndpoints(),
            'groupsCount' => $this->model->getGroups()->count(),
        ]);
    }
325308
public function actionIndex()
    {
        if (!$this->hasAccess()) {
            return $this->redirect(['login']);
        }
        
        foreach ($this->module->assetFiles as $class) {
            $this->registerAsset($class);
        }

        return $this->render('index', [
            'title' => 'Styleguide',
            'showDomain' => true,
            'styleguide' => $this->extractElementsFromComponent()
        ]);
    }
220950
public function index()
    {
        $view = $this->_getDashboardView('@Dashboard/index');
        $view->dashboardSettingsControl = new DashboardManagerControl();
        $view->hasSomeAdminAccess = Piwik::isUserHasSomeAdminAccess();
        $view->dashboards = array();
        if (!Piwik::isUserIsAnonymous()) {
            $login = Piwik::getCurrentUserLogin();

            $view->dashboards = $this->dashboard->getAllDashboards($login);
        }
        return $view->render();
    }
941625
public function actionIndex()
    {
        $searchModel = Yii::createObject($this->searchClass);
        $dataProvider = $searchModel->search(Yii::$app->request->getQueryParams());

        return $this->render('index', [
            'dataProvider' => $dataProvider,
            'searchModel' => $searchModel,
        ]);
    }
1122025
public function actionIndex()
    {
        $query = Client::find()->where(['user_id' => Yii::$app->user->id])->orderBy(['created_at' => SORT_DESC]);
        $dataProvider = new ActiveDataProvider([
            'query' => $query,
        ]);
        return $this->render('index', [
            'dataProvider' => $dataProvider,
        ]);
    }
195261
public function actionIndex()
    {
        $model = Yii::createObject($this->modelClass);

        return $this->render('index', ['routes' => $model->getAvailableAndAssignedRoutes()]);
    }
1332592
public function index() {        
        $action = Filter::post('action');        
        if($action == 'update' && Filter::checkCsrf()) $this->update();
        
        Theme::theme(new AdministrationTheme)->init(Globals::getTree());        
        $ctrl = new PageController();
        $ctrl
            ->restrictAccess(Auth::isAdmin())
            ->setPageTitle($this->module->getTitle());

        $view_bag = new ViewBag();
        $view_bag->set('title', $ctrl->getPageTitle());
        $view_bag->set('module', $this->module);
        
        ViewFactory::make('AdminConfig', $this, $ctrl, $view_bag)->render();
    }
606337
public function actionIndex()
    {
        $where = ['type' => Article::ARTICLE];
        $query = Article::find()->select([])->where($where);
        $keyword = htmlspecialchars(yii::$app->getRequest()->get('q'));
        $query->andFilterWhere(['like', 'title', $keyword]);
        $dataProvider = new ActiveDataProvider([
            'query' => $query,
            'sort' => [
                'defaultOrder' => [
                    'sort' => SORT_ASC,
                    'id' => SORT_DESC,
                ]
            ]
        ]);
        return $this->render('/article/index', [
            'dataProvider' => $dataProvider,
            'type' => yii::t('cms', 'Search keyword {keyword} results', ['keyword'=>$keyword]),
        ]);
    }
203823
public function render_positions(){
		$debug_pages_cache=defined('DEBUG_PAGES_CACHE')?DEBUG_PAGES_CACHE:1;
		$bCache = BFactory::getCache();
		if(($bCache)&&($debug_pages_cache)){
			//Accumulating keys...
			$keys=array();
			$suffix=BBrowserUseragent::getDeviceSuffix();
			foreach($this->rules as &$c){
				$c->key=$this->getUrlCahceKey($c->com,$this->langcode,$suffix,$c->segments);
				$keys[]=$c->key;
				}
			//Multi-get from cache
			$list=$bCache->mget($keys);
			foreach($this->rules as &$c){
				if(($list[$c->key]!==false)&&($list[$c->key]!==NULL)){
					$c->status=$list[$c->key]->status;//200 | 403 | 404
					$c->output=$list[$c->key]->output;
					$c->title=$list[$c->key]->title;
					$c->meta=$list[$c->key]->meta;
					$c->link=$list[$c->key]->link;
					$c->js=$list[$c->key]->js;
					$c->style=$list[$c->key]->style;
					$c->frameworks=$list[$c->key]->frameworks;
					$c->breadcrumbs=$list[$c->key]->breadcrumbs;
					$c->modified=new DateTime($list[$c->key]->modified);
					$c->cachecontrol=$list[$c->key]->cachecontrol;
					$c->cachetime=$list[$c->key]->cachetime;
					$c->locationurl=$list[$c->key]->locationurl;
					$c->locationtime=$list[$c->key]->locationtime;
					$c->rendered=true;
					}
				}
			}
		//Rendering components, not loaded from cache...
		$tocache=array();
		foreach($this->rules as &$c){
			if(!$c->rendered){
				if(ROUTER_DEBUG){
					$view=isset($c->segments['view'])?$c->segments['view']:'';
					BLog::addToLog('[Router]: Rendering component ('.$c->com.(empty($view)?'':'.'.$view).')...');
					}
				$controller=$this->component_load($c->com);
				if(empty($controller)){
					continue;
					}
				$controller->templatename=$this->templatename;
				//Running component...
				$c->output=$controller->run($c->segments);
				$c->status=$controller->status;
				$c->title=$controller->title;
				$c->meta=$controller->meta;
				$c->link=$controller->link;
				$c->js=$controller->js;
				$c->style=$controller->style;
				$c->frameworks=$controller->frameworks;
				$c->breadcrumbs=$controller->breadcrumbs;
				$c->modified=empty($controller->modified)?NULL:$controller->modified->format('Y-m-d H:i:s');
				$c->cachecontrol=$controller->cachecontrol;
				$c->cachetime=$controller->cachetime;
				$c->locationurl=$controller->locationurl;
				$c->locationtime=$controller->locationtime;
				$c->rendered=true;
				//Caching the result, if necessary.
				if(($bCache)&&($debug_pages_cache)&&($c->cachecontrol)){
					$bCache->set($c->key,$c,$c->cachetime);
					}
				//Convert to object.
				$c->modified=$controller->modified;
				}
			}
		}
1004964
public function actionActiveWindowCallback()
    {
        $this->checkAccess('active-window-callback');
        
        $config = $this->model->getNgRestConfig();
        $render = new RenderActiveWindowCallback();
        $ngrest = new NgRest($config);
    
        return $ngrest->render($render);
    }
1155066
public function indexAction()
    {
        $currentProfile = $this->getCurrentProfile();

        $windowMakers = $this->getRepo('SellerWindowMaker')
            ->findForSeller($currentProfile)
        ;

        return $this->render('HarvestCloudCoreBundle:Seller/WindowMaker:index.html.twig', array(
          'windowMakers' => $windowMakers,
        ));
    }
201886
public function actionIndex()
	{
		$dataProvider = \App::$domain->account->login->getDataProvider();
		return $this->render('index', [
			'dataProvider' => $dataProvider,
			//'searchModel' => $searchModel,
			'idField' => 'id',
			'usernameField' => $this->usernameField,
			'extraColumns' => $this->extraColumns,
		]);
	}
1100657
public function actionIndex()
{
    $searchModel  = new CountrySearch;
    $dataProvider = $searchModel->search($_GET);

Tabs::clearLocalStorage();

Url::remember();
\Yii::$app->session['__crudReturnUrl'] = null;

return $this->render('index', [
'dataProvider' => $dataProvider,
    'searchModel' => $searchModel,
]);
}
1308043
public function indexAction()
    {
        $instance = $this->getCurrentInstance();
        if($instance) {
            
            $worker = $this->getWorker();
            // Worker can be undefined if server went away
            // For the current instance or if there is no instance selected
            if($worker) {
                return $this->render(
                    $this->getTemplatePath().'index.html.twig',
                    array(
                        'instance' => $worker->getInstance(),
                        'infos'    => $worker->getInfos(),
                        'slowLogs'  => $worker->getSlowLogs(),
                        'keyspace'  => $worker->getKeyspace()
                    )
                );
            }
        }
        
        return new RedirectResponse($this->generateUrl('ringo_php_redmon_instances'));
    }