@@ -2,15 +2,15 @@ |
||
2 | 2 | |
3 | 3 | namespace Netgen\Bundle\InformationCollectionBundle\Controller\Admin; |
4 | 4 | |
5 | -use eZ\Bundle\EzPublishCoreBundle\Controller; |
|
6 | -use eZ\Publish\API\Repository\ContentService; |
|
5 | +use League\Csv\Writer; |
|
6 | +use Netgen\Bundle\InformationCollectionBundle\Form\Type\ExportType; |
|
7 | 7 | use Netgen\InformationCollection\API\Service\Exporter; |
8 | 8 | use Netgen\InformationCollection\API\Value\Export\ExportCriteria; |
9 | -use Netgen\Bundle\InformationCollectionBundle\Form\Type\ExportType; |
|
10 | -use Symfony\Component\HttpFoundation\Request; |
|
11 | -use League\Csv\Writer; |
|
12 | 9 | use SplTempFileObject; |
10 | +use Symfony\Component\HttpFoundation\Request; |
|
13 | 11 | use Symfony\Component\HttpFoundation\Response; |
12 | +use eZ\Bundle\EzPublishCoreBundle\Controller; |
|
13 | +use eZ\Publish\API\Repository\ContentService; |
|
14 | 14 | |
15 | 15 | final class ExportController extends Controller |
16 | 16 | { |
@@ -2,13 +2,13 @@ |
||
2 | 2 | |
3 | 3 | namespace Netgen\Bundle\InformationCollectionBundle\Controller\Admin; |
4 | 4 | |
5 | -use eZ\Bundle\EzPublishCoreBundle\Controller; |
|
6 | 5 | use Netgen\InformationCollection\API\Service\InformationCollection; |
7 | 6 | use Netgen\InformationCollection\API\Value\Content; |
8 | 7 | use Netgen\InformationCollection\API\Value\Filter\Query; |
9 | 8 | use Symfony\Component\HttpFoundation\JsonResponse; |
10 | 9 | use Symfony\Component\Routing\RouterInterface; |
11 | 10 | use Symfony\Component\Translation\TranslatorInterface; |
11 | +use eZ\Bundle\EzPublishCoreBundle\Controller; |
|
12 | 12 | |
13 | 13 | class TreeController extends Controller |
14 | 14 | { |
@@ -10,8 +10,8 @@ |
||
10 | 10 | use Netgen\Bundle\InformationCollectionBundle\Core\Persistence\ContentTypeUtils; |
11 | 11 | use Netgen\InformationCollection\Doctrine\Entity\EzInfoCollection; |
12 | 12 | use Netgen\InformationCollection\Doctrine\Entity\EzInfoCollectionAttribute; |
13 | -use Netgen\InformationCollection\Doctrine\Repository\EzInfoCollectionRepository; |
|
14 | 13 | use Netgen\InformationCollection\Doctrine\Repository\EzInfoCollectionAttributeRepository; |
14 | +use Netgen\InformationCollection\Doctrine\Repository\EzInfoCollectionRepository; |
|
15 | 15 | use Symfony\Component\Translation\TranslatorInterface; |
16 | 16 | |
17 | 17 | class ExporterService implements Exporter |
@@ -4,7 +4,6 @@ discard block |
||
4 | 4 | |
5 | 5 | namespace Netgen\InformationCollection\Core\Service; |
6 | 6 | |
7 | -use eZ\Publish\API\Repository\Repository; |
|
8 | 7 | use Netgen\InformationCollection\API\Service\InformationCollection; |
9 | 8 | use Netgen\InformationCollection\API\Value\Attribute; |
10 | 9 | use Netgen\InformationCollection\API\Value\Collection; |
@@ -14,8 +13,9 @@ discard block |
||
14 | 13 | use Netgen\InformationCollection\API\Value\Filter\Query; |
15 | 14 | use Netgen\InformationCollection\Core\Persistence\Gateway\DoctrineDatabase; |
16 | 15 | use Netgen\InformationCollection\Doctrine\Entity\EzInfoCollectionAttribute; |
17 | -use Netgen\InformationCollection\Doctrine\Repository\EzInfoCollectionRepository; |
|
18 | 16 | use Netgen\InformationCollection\Doctrine\Repository\EzInfoCollectionAttributeRepository; |
17 | +use Netgen\InformationCollection\Doctrine\Repository\EzInfoCollectionRepository; |
|
18 | +use eZ\Publish\API\Repository\Repository; |
|
19 | 19 | |
20 | 20 | class InformationCollectionService implements InformationCollection |
21 | 21 | { |