getUsePaging() public method

Get whether or not paging should be used for the query operation.
public getUsePaging ( ) : boolean | null
return boolean | null
コード例 #1
0
 /**
  * Based on the query operation, determine whether paging should be used.
  *
  * @param QueryOperation $operation
  * @return bool
  */
 protected function shouldUsePaging(QueryOperation $operation)
 {
     return $operation->getUsePaging() && $operation->getScope() != QueryOperation::SCOPE['BASE'];
 }