Returns the list of items for this view.
487038
def get_queryset(self):
        
        forums = self.request.forum_permission_handler.get_readable_forums(
            Forum.objects.all(), self.request.user,
        )
        topics = Topic.objects.filter(forum__in=forums)
        topics_pk = map(lambda t: t.pk, track_handler.get_unread_topics(topics, self.request.user))
        return Topic.approved_objects.filter(pk__in=topics_pk).order_by('-last_post_on')
1194652
def getItemDPList(self):
        """"""
        itemlist = [(item, item._dp) for item in self.iterator()]
        return itemlist
429923
public function showlist() {
		if ($this->getRecord() && $this->getRecord() instanceof ItemList) {
			
			if ($this->request->getExtension() == 'csv') {
				$this->response->addHeader('Content-type', 'text/csv');
				return $this->getRecord()->toCSV();
			} else {
				$content = $this->getRecord()->forTemplate();
				if ($this->request->isAjax()) {
					return $content;
				} else {
					return $this->customise(array(
						'Content' => $content
					))->renderWith(array('Page', 'Page'));
				}
			}
		}
	}
1157615
def asList( self ):
        """"""
        out = []
        for res in self.__toklist:
            if isinstance(res,ParseResults):
                out.append( res.asList() )
            else:
                out.append( res )
        return out
263355
def display_items(self) -> typing.List[Display]:
        
        return [Display(display_item) for display_item in self.__document_model.display_items]
175065
def list(self, request, *args, **kwargs):
        
        return super(ServicesViewSet, self).list(request, *args, **kwargs)
608967
def items(self):
        ''''''
        if hasattr(self, '_items'):
            return self.filter_items(self._items)
        self._items = self.get_items()
        return self.filter_items(self._items)
272986
def get_items(self):
        
        uids = self.get_uids()
        if not uids:
            return [SuperModel(self.context)]
        items = map(lambda uid: SuperModel(uid), uids)
        return self._resolve_number_of_copies(items)
1062491
def items(self):
        
        queryset = self.get_queryset()
        self.cache_infos(queryset)
        self.set_max_entries()
        return queryset
309952
public Collection<ItemT> getSelectedItems() {
        if (availableItems == null || selectedIndices == null || selectedIndices.length == 0) {
            return new ArrayList<ItemT>(0);
        }

        ArrayList<ItemT> items = new ArrayList<ItemT>(selectedIndices.length);
        for (int index : selectedIndices) {
            items.add(availableItems.get(index));
        }
        return items;
    }
988473
def get_item_ids(self):
        """"""
        item_ids = []
        if self.has_items():
            for idstr in self._my_map['itemIds']:
                item_ids.append(idstr)
        return IdList(item_ids)
568830
def items( self ):
        
        layout = self.widget().layout()
        return [layout.itemAt(i).widget() for i in range(layout.count()-1)]
406908
def get_items(self):
        """"""
        ils = get_item_lookup_session(runtime=self._runtime, proxy=self._proxy)
        ils.use_federated_bank_view()
        items = []
        if self.has_items():
            for idstr in self._my_map['itemIds']:
                items.append(ils.get_item(Id(idstr)))
        return ItemList(items, runtime=self._runtime, proxy=self._proxy)
621717
public function actionList()
    {
        $models = $this->getNewEntity()->fetchAll();
        $view = $this->createView('list');
        $view['content'] = $models;
        return $view;
    }
538426
public ArrayList<View> getCurrentViews() {
		if(config.commandLogging){
			Log.d(config.commandLoggingTag, "getCurrentViews()");
		}
		
		return viewFetcher.getViews(null, true);
	}
3816
def items(self):
        ""
        return (list(self._pb.IntMap.items()) + list(self._pb.StringMap.items()) +
                list(self._pb.FloatMap.items()) + list(self._pb.BoolMap.items()))
966493
def getAllViewsAsDict(self):
        """"""
        return {p: self._plugins[p].get_views() for p in self._plugins}