You are here

public function RestfulDataProviderDbQuery::getQueryForList in RESTful 7

Prepare a query for RestfulEntityBase::getList().

Return value

\SelectQuery The query object.

Overrides RestfulDataProviderDbQueryInterface::getQueryForList

1 call to RestfulDataProviderDbQuery::getQueryForList()
RestfulDataProviderDbQuery::viewMultiple in plugins/restful/RestfulDataProviderDbQuery.php
View a collection of items.

File

plugins/restful/RestfulDataProviderDbQuery.php, line 151
Contains \RestfulDataProviderDbQuery

Class

RestfulDataProviderDbQuery
@file Contains \RestfulDataProviderDbQuery

Code

public function getQueryForList() {
  $query = $this
    ->getQuery();
  $this
    ->queryForListSort($query);
  $this
    ->queryForListFilter($query);
  $this
    ->queryForListPagination($query);
  $this
    ->addExtraInfoToQuery($query);
  return $query;
}