add an export for person list

This commit is contained in:
2016-12-09 19:51:41 +01:00
parent 58398458c1
commit 60cb1e60f0
4 changed files with 241 additions and 36 deletions

View File

@@ -70,42 +70,6 @@ services:
- "@chill.main.form.data_transformer.center_transformer"
tags:
- { name: form.type, alias: chill_personbundle_person_creation }
chill.person.export.export_count_person:
class: Chill\PersonBundle\Export\Export\CountPerson
arguments:
- "@doctrine.orm.entity_manager"
tags:
- { name: chill.export, alias: count_person }
chill.person.export.filter_gender:
class: Chill\PersonBundle\Export\Filter\GenderFilter
tags:
- { name: chill.export_filter, alias: person_gender_filter }
chill.person.export.filter_nationality:
class: Chill\PersonBundle\Export\Filter\NationalityFilter
arguments:
- "@chill.main.helper.translatable_string"
tags:
- { name: chill.export_filter, alias: person_nationality_filter }
chill.person.export.aggregator_nationality:
class: Chill\PersonBundle\Export\Aggregator\NationalityAggregator
arguments:
- "@chill.main.countries_repository"
- "@chill.main.helper.translatable_string"
- "@translator"
tags:
- { name: chill.export_aggregator, alias: person_nationality_aggregator }
chill.person.export.aggregator_gender:
class: Chill\PersonBundle\Export\Aggregator\GenderAggregator
arguments:
- "@translator"
tags:
- { name: chill.export_aggregator, alias: person_gender_aggregator }
chill.person.form.type.pick_person:
class: Chill\PersonBundle\Form\Type\PickPersonType