mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-27 18:13:48 +00:00
adapt to new ExportInterface
This commit is contained in:
@@ -64,7 +64,7 @@ class CountPerson implements ExportInterface
|
||||
* @param QueryBuilder $qb
|
||||
* @return QueryBuilder
|
||||
*/
|
||||
public function initiateQuery(QueryBuilder $qb, array $requiredModifiers, $acl)
|
||||
public function initiateQuery(QueryBuilder $qb, array $requiredModifiers, array $acl, array $data = array())
|
||||
{
|
||||
$centers = array_map(function($el) { return $el['center']; }, $acl);
|
||||
|
||||
@@ -107,11 +107,7 @@ class CountPerson implements ExportInterface
|
||||
}
|
||||
|
||||
public function buildForm(FormBuilderInterface $builder) {
|
||||
throw new \LogicException('This export does not require a form');
|
||||
}
|
||||
|
||||
public function hasForm(){
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
public function supportsModifiers()
|
||||
|
Reference in New Issue
Block a user