Get active views class id list

@return array
517101
public function getActiveViewsIds()
    {
        $ids = [];

        if (is_array($this->getActiveViewsList())) {
            foreach ($this->getActiveViewsList() as $view) {
                $ids[] = $view->getClassKey();
            }
        }

        return $ids;
    }
216243
public function getActiveFilters()
    {
        $activeFilters = [];

        if (!$this->isInline()) {
            $requestParams    = array_keys($this->getRequest()->getParams());
            $displayedFilters = $this->getDisplayedFilters();
            $expandedFacets   = $this->_scopeConfig->getValue(self::DEFAULT_EXPANDED_FACETS_COUNT_CONFIG_XML_PATH);
            $activeFilters    = range(0, min(count($displayedFilters), $expandedFacets) - 1);

            foreach ($displayedFilters as $index => $filter) {
                if (in_array($filter->getRequestVar(), $requestParams)) {
                    $activeFilters[] = $index;
                }
            }
        }

        return json_encode($activeFilters);
    }
265056
public static function getStatuses()
    {
        return [
            self::STATUS_ACTIVE => Yii::t('podium/view', 'Active'),
            self::STATUS_BANNED => Yii::t('podium/view', 'Banned'),
            self::STATUS_REGISTERED => Yii::t('podium/view', 'Registered'),
        ];
    }
690998
public function getListItemClassNames()
    {
        // Initialise:
        
        $classes = ['item'];
        
        // Merge Ancestor Class Names:
        
        $classes = array_merge(
            $classes,
            ViewTools::singleton()->getAncestorClassNames(
                $this->owner,
                $this->owner->baseClass()
            )
        );
        
        // Merge Meta Class Names:
        
        if ($this->owner->hasMethod('getMetaClassNames')) {
            $classes = array_merge($classes, $this->owner->getMetaClassNames());
        }
        
        // Update Class Names via Renderer:
        
        if ($this->owner->getRenderer()->hasMethod('updateListItemClassNames')) {
            $this->owner->getRenderer()->updateListItemClassNames($classes);
        }
        
        // Answer Classes:
        
        return $classes;
    }
1302208
public function getViews() : array
    {
        $view = [];

        foreach(Finder::findFiles('*.latte')->from(self::VIEW_PATH) as $file)
        {
            /** @var \SplFileInfo $file */
            $view[] = $file->getBasename();
        }

        return $view;
    }
930087
public function getMappedClasses()
    {
        if (null === $this->classes) {
            $this->classes = $this->getClassesFromXml();
        }

        return array_keys($this->classes);
    }
943632
public function getActiveViewPlugins()
    {
        $ret = $this->_getSetting('plugins');
        $d = $this->getData();
        if ($d->isPage) {
            while ($d) {
                foreach (Kwc_Abstract::getSetting($d->componentClass, 'pluginsInherit') as $i) {
                    if (!in_array($i, $ret)) $ret[] = $i;
                }
                $d = $d->parent;
            }
        }
        return $ret;
    }
514656
public static function views()
	{
		$class = get_called_class();

		if ( ! isset(static::$_views_cached[$class]))
		{
			static::$_views_cached[$class] = array();
			if (property_exists($class, '_views'))
			{
				$views = $class::$_views;
				foreach ($views as $k => $v)
				{
					if ( ! isset($v['columns']))
					{
						throw new \InvalidArgumentException('Database view '.$k.' is defined without columns.');
					}
					$v['columns'] = (array) $v['columns'];
					if ( ! isset($v['view']))
					{
						$v['view'] = $k;
					}
					static::$_views_cached[$class][$k] = $v;
				}
			}
		}

		return static::$_views_cached[$class];
	}
1065305
public static function getActive()
    {
        self::setActiveIDs();
        if(self::getActiveIDs()) {
            return MenuLink::findByID(current(self::getActiveIDs()));
        }
        return;
    }
1127287
public function getViewNames()
    {
        $names = $this->query(
            'SELECT table_name FROM information_schema.tables WHERE table_schema=? AND table_type=?',
            array(
                $this->getTableSchema(),
                'VIEW'
            )
        );
        // Flatten array
        foreach ($names as &$name) {
            $name = $name['table_name'];
        }
        return $names;
    }
634986
public function getViewId()
    {
        $viewId = is_null($this->viewId) ? strtolower($this->getControllerKey()) : $this->viewId;
        return $this->getNavigation()->getClassId($viewId);
    }
885792
public function getActionIDs()
    {
        $actions = array_unique(preg_split('/[\s,]+/', $this->actions, -1, PREG_SPLIT_NO_EMPTY));
        sort($actions);

        return $actions;
    }
62747
public function GetActiveSettingAsArray()
    {
        $aData = array();
        if (is_array($this->aActiveFilterData) || !empty($this->aActiveFilterData)) {
            $aData = array(TdbPkgShopListfilterItem::URL_PARAMETER_FILTER_DATA => array($this->id => $this->aActiveFilterData));
        }

        return $aData;
    }
643268
public function getAdminClasses()
    {
        $classCollection = [];

        if (!defined('static::ADMIN_KEY')) {
            return $classCollection;
        }

        $classCollection = $this->getSubAdminClasses(\Flare::config(static::ADMIN_KEY));

        return $classCollection;
    }
1214356
public function &GetFieldShopPrimaryNaviList()
    {
        $activePortal = self::getPortalDomainService()->getActivePortal();
        if (null === $activePortal) {
            if (false === isset($this->primaryNavigationList['no-portal'])) {
                $this->primaryNavigationList['no-portal'] = TdbPkgShopPrimaryNaviList::GetList();
            }

            return $this->primaryNavigationList['no-portal'];
        }
        $activePortalId = $activePortal->id;
        if (isset($this->primaryNavigationList[$activePortalId])) {
            return $this->primaryNavigationList[$activePortalId];
        }
        $this->primaryNavigationList[$activePortalId] = TdbPkgShopPrimaryNaviList::GetListForCmsPortalId($activePortalId);

        return $this->primaryNavigationList[$activePortalId];
    }
915596
private function getActiveColumns()
    {
        $model = reset($this->models);

        return array_filter($model->attributes(), function ($attribute) use ($model) {
            return $model->$attribute !== null;
        });
    }
22374
public function getViewId()
    {
        $viewId = null;

        $widgetMap = $this->getWidgetMap();

        if ($widgetMap !== null && $view = $widgetMap->getView() !== null) {
            $viewId = $view->getId();
        }

        return $viewId;
    }