You are here

public function RestfulDataProviderEFQ::getTotalCount in RESTful 7

Get the total count of entities that match certain request.

Return value

int The total number of results without including pagination.

Overrides RestfulDataProviderEFQInterface::getTotalCount

File

plugins/restful/RestfulDataProviderEFQ.php, line 320
Contains \RestfulDataProviderEFQ

Class

RestfulDataProviderEFQ
@file Contains \RestfulDataProviderEFQ

Code

public function getTotalCount() {
  return intval($this
    ->getQueryCount()
    ->execute());
}