You are here

public function RestfulDataProviderCToolsPlugins::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 RestfulDataProviderCToolsPluginsInterface::getTotalCount

File

plugins/restful/RestfulDataProviderCToolsPlugins.php, line 231
Contains \RestfulDataProviderCToolsPlugins

Class

RestfulDataProviderCToolsPlugins
@file Contains \RestfulDataProviderCToolsPlugins

Code

public function getTotalCount() {
  return count($this
    ->getPluginsSortedAndFiltered());
}