protected function getAutocompleteList($status = 1)
    {
        $theme_list = [];
        foreach ($this->getThemes() as $theme_id => $theme) {
            if (!empty($theme->info['hidden'])) {
                continue;
            }

            if (!empty($theme->status == $status)) {
                continue;
            }
            $theme_list[$theme_id] = $theme->getName();
        }

        return $theme_list;
    }
protected function getAutocompleteList($status = 1)
    {
        $theme_list = [];
        foreach ($this->getThemes() as $theme_id => $theme) {
            if (!empty($theme->info['hidden'])) {
                continue;
            }

            if (!empty($theme->status == $status)) {
                continue;
            }
            $theme_list[$theme_id] = $theme->getName();
        }

        return $theme_list;
    }
protected function getAutocompleteList ( $ status = 1 ) { $ theme_list = [ ] ; foreach ( $ this -> getThemes ( ) as $ theme_id => $ theme ) { if ( ! empty ( $ theme -> info [ 'hidden' ] ) ) { continue ; } if ( ! empty ( $ theme -> status == $ status ) ) { continue ; } $ theme_list [ $ theme_id ] = $ theme -> getName ( ) ; } return $ theme_list ; }
Gets list of themes for autocomplete based on status.

@param int $status
Status of the themes.

@return array
Themes list.
Gets list of themes for autocomplete based on status .