mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 10:33:49 +00:00
improve test, modify exportInterface, use constants for ExportType keys
- add a test for 'generate' ; - the ExportType declare keys, and those keys are used in ExportManager; - the export interface does not require the "has form" function, and export form is taken into account
This commit is contained in:
@@ -60,17 +60,9 @@ interface ExportInterface extends ExportElementInterface
|
||||
* @param QueryBuilder $qb
|
||||
* @param array $requiredModifiers
|
||||
* @param array $acl an array where each row as a `center` key containing the Chill\MainBundle\Entity\Center, and `circles` containing the reachable circles
|
||||
* TODO : we should add ability to receive data from a form
|
||||
* @param array $data the data from the form, if any
|
||||
*/
|
||||
public function initiateQuery(QueryBuilder $qb, array $requiredModifiers, $acl);
|
||||
|
||||
|
||||
/**
|
||||
* Return wether this export has a form.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function hasForm();
|
||||
public function initiateQuery(QueryBuilder $qb, array $requiredModifiers, array $acl, array $data = array());
|
||||
|
||||
/**
|
||||
* Inform which ModifiersInterface (i.e. AggregatorInterface, FilterInterface)
|
||||
|
Reference in New Issue
Block a user