client/jsonapi/src/Client/JsonApi/Product/Standard.php
protected function aggregate( \Aimeos\MW\View\Iface $view, ServerRequestInterface $request, ResponseInterface $response )
	{
		$view->data = $this->getController( $view )->sort()
			->slice( $view->param( 'page/offset', 0 ), $view->param( 'page/limit', 10000 ) )
			->aggregate( $view->param( 'aggregate' ) );

		return $response;
	}
protected function aggregate( \Aimeos\MW\View\Iface $view, ServerRequestInterface $request, ResponseInterface $response )
	{
		$view->data = $this->getController( $view )->sort()
			->slice( $view->param( 'page/offset', 0 ), $view->param( 'page/limit', 10000 ) )
			->aggregate( $view->param( 'aggregate' ) );

		return $response;
	}
protected function aggregate ( \ Aimeos \ MW \ View \ Iface $ view , ServerRequestInterface $ request , ResponseInterface $ response ) { $ view -> data = $ this -> getController ( $ view ) -> sort ( ) -> slice ( $ view -> param ( 'page/offset' , 0 ) , $ view -> param ( 'page/limit' , 10000 ) ) -> aggregate ( $ view -> param ( 'aggregate' ) ) ; return $ response ; }
Counts the number of products for the requested key

@param \Aimeos\MW\View\Iface $view View instance
@param \Psr\Http\Message\ServerRequestInterface $request Request object
@param \Psr\Http\Message\ResponseInterface $response Response object
@return \Psr\Http\Message\ResponseInterface Modified response object
Counts the number of products for the requested key