mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 18:43:49 +00:00
add an interface for export which are lists
Lists does not supports aggregators. The export manager will filter the aggregators applying on the export depending on the interface implemented by the export: if the export implements `Export\ListInterface`, no aggregators will be returned for this export.
This commit is contained in:
@@ -25,6 +25,10 @@ use Doctrine\ORM\QueryBuilder;
|
||||
* Interface for Export.
|
||||
*
|
||||
* An export is a class which will initiate a query for an export.
|
||||
*
|
||||
* **Note** : the report implementing this class will be modified by
|
||||
* both filters **and** aggregators. If the report does not support
|
||||
* aggregation, use `ListInterface`.
|
||||
*
|
||||
* @example Chill\PersonBundle\Export\CountPerson an example of implementation
|
||||
* @author Julien Fastré <julien.fastre@champs-libres.coop>
|
||||
|
Reference in New Issue
Block a user