mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-30 18:39:43 +00:00
adapt to new ExportInterface
This commit is contained in:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user