|
@@ 51-58 (lines=8) @@
|
| 48 |
|
* @param IDataSource $dataSource |
| 49 |
|
* @return void |
| 50 |
|
*/ |
| 51 |
|
public function beforeDataModelFilter(IDataSource $dataSource) |
| 52 |
|
{ |
| 53 |
|
foreach ($this->aggregationFunctions as $aggregationFunction) { |
| 54 |
|
if ($aggregationFunction->getFilterDataType() === IAggregationFunction::DATA_TYPE_ALL) { |
| 55 |
|
$dataSource->processAggregation([$aggregationFunction, 'processDataSource']); |
| 56 |
|
} |
| 57 |
|
} |
| 58 |
|
} |
| 59 |
|
|
| 60 |
|
|
| 61 |
|
/** |
|
@@ 65-72 (lines=8) @@
|
| 62 |
|
* @param IDataSource $dataSource |
| 63 |
|
* @return void |
| 64 |
|
*/ |
| 65 |
|
public function afterDataModelFilter(IDataSource $dataSource) |
| 66 |
|
{ |
| 67 |
|
foreach ($this->aggregationFunctions as $aggregationFunction) { |
| 68 |
|
if ($aggregationFunction->getFilterDataType() === IAggregationFunction::DATA_TYPE_FILTERED) { |
| 69 |
|
$dataSource->processAggregation([$aggregationFunction, 'processDataSource']); |
| 70 |
|
} |
| 71 |
|
} |
| 72 |
|
} |
| 73 |
|
|
| 74 |
|
|
| 75 |
|
/** |
|
@@ 79-86 (lines=8) @@
|
| 76 |
|
* @param IDataSource $dataSource |
| 77 |
|
* @return void |
| 78 |
|
*/ |
| 79 |
|
public function afterDataModelPaginated(IDataSource $dataSource) |
| 80 |
|
{ |
| 81 |
|
foreach ($this->aggregationFunctions as $aggregationFunction) { |
| 82 |
|
if ($aggregationFunction->getFilterDataType() === IAggregationFunction::DATA_TYPE_PAGINATED) { |
| 83 |
|
$dataSource->processAggregation([$aggregationFunction, 'processDataSource']); |
| 84 |
|
} |
| 85 |
|
} |
| 86 |
|
} |
| 87 |
|
|
| 88 |
|
|
| 89 |
|
/** |