mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-14 06:14:23 +00:00
adapt to new ExportInterface
This commit is contained in:
parent
e616626cc2
commit
2012170724
@ -64,7 +64,7 @@ class CountPerson implements ExportInterface
|
|||||||
* @param QueryBuilder $qb
|
* @param QueryBuilder $qb
|
||||||
* @return QueryBuilder
|
* @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);
|
$centers = array_map(function($el) { return $el['center']; }, $acl);
|
||||||
|
|
||||||
@ -107,11 +107,7 @@ class CountPerson implements ExportInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function buildForm(FormBuilderInterface $builder) {
|
public function buildForm(FormBuilderInterface $builder) {
|
||||||
throw new \LogicException('This export does not require a form');
|
|
||||||
}
|
|
||||||
|
|
||||||
public function hasForm(){
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function supportsModifiers()
|
public function supportsModifiers()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user