Loading module/Application/src/Application/Entity/Db/Traits/HasSourceTrait.php +1 −2 Changes for module/Application/src/Application/Entity/Db/Traits/HasSourceTrait.php: 1 added line, 2 removed lines. Original line number Diff line number Diff line Loading @@ -7,8 +7,7 @@ use UnicaenDbImport\Entity\Db\Source; trait HasSourceTrait { private ?Source $source = null; /** @var string */ private $idSource; private ?string $idSource = null; /** * @return Source|null Loading module/Formation/config/merged/import-lagaf.config.php +11 −0 Changes for module/Formation/config/merged/import-lagaf.config.php: 11 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ return [ 'inscription', 'presence', 'element', 'theme', ], 'privileges' => [ LagafPrivileges::IMPORT_LAGAF, Loading Loading @@ -69,6 +70,16 @@ return [ ] ], ], 'theme' => [ 'type' => Segment::class, 'options' => [ 'route' => '/theme[/:id]', 'defaults' => [ 'controller' => ImportationLagafController::class, 'action' => 'theme', ] ], ], 'session' => [ 'type' => Segment::class, 'options' => [ Loading module/Formation/src/Formation/Controller/ImportationLagafController.php +157 −105 File changed.Preview size limit exceeded, changes collapsed. Show changes module/Formation/src/Formation/Controller/ImportationLagafControllerFactory.php +1 −1 Changes for module/Formation/src/Formation/Controller/ImportationLagafControllerFactory.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ namespace Formation\Controller; /** * @var SourceService $sourceService */ $entityManager = $container->get('doctrine.entitymanger.orm_default'); $entityManager = $container->get('doctrine.entitymanager.orm_default'); $sourceService = $container->get(SourceService::class); $sourceService->setEntityManager($entityManager); $lagaf = $sourceService->getRepository()->findOneBy(['code' => HasSourceInterface::SOURCE_LAGAF]); Loading module/Formation/src/Formation/Controller/SeanceController.php +3 −0 Changes for module/Formation/src/Formation/Controller/SeanceController.php: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -10,12 +10,14 @@ use Laminas\Http\Request; use Laminas\Http\Response; use Laminas\Mvc\Controller\AbstractActionController; use Laminas\View\Model\ViewModel; use UnicaenDbImport\Entity\Db\Service\Source\SourceServiceAwareTrait; class SeanceController extends AbstractActionController { use FormationInstanceServiceAwareTrait; use SeanceServiceAwareTrait; use SeanceFormAwareTrait; use SourceServiceAwareTrait; public function ajouterJourneeAction() : ViewModel { Loading @@ -34,6 +36,7 @@ class SeanceController extends AbstractActionController $form->setData($data); if ($form->isValid()) { $this->getSeanceService()->create($journee); } } Loading Loading
module/Application/src/Application/Entity/Db/Traits/HasSourceTrait.php +1 −2 Changes for module/Application/src/Application/Entity/Db/Traits/HasSourceTrait.php: 1 added line, 2 removed lines. Original line number Diff line number Diff line Loading @@ -7,8 +7,7 @@ use UnicaenDbImport\Entity\Db\Source; trait HasSourceTrait { private ?Source $source = null; /** @var string */ private $idSource; private ?string $idSource = null; /** * @return Source|null Loading
module/Formation/config/merged/import-lagaf.config.php +11 −0 Changes for module/Formation/config/merged/import-lagaf.config.php: 11 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ return [ 'inscription', 'presence', 'element', 'theme', ], 'privileges' => [ LagafPrivileges::IMPORT_LAGAF, Loading Loading @@ -69,6 +70,16 @@ return [ ] ], ], 'theme' => [ 'type' => Segment::class, 'options' => [ 'route' => '/theme[/:id]', 'defaults' => [ 'controller' => ImportationLagafController::class, 'action' => 'theme', ] ], ], 'session' => [ 'type' => Segment::class, 'options' => [ Loading
module/Formation/src/Formation/Controller/ImportationLagafController.php +157 −105 File changed.Preview size limit exceeded, changes collapsed. Show changes
module/Formation/src/Formation/Controller/ImportationLagafControllerFactory.php +1 −1 Changes for module/Formation/src/Formation/Controller/ImportationLagafControllerFactory.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ namespace Formation\Controller; /** * @var SourceService $sourceService */ $entityManager = $container->get('doctrine.entitymanger.orm_default'); $entityManager = $container->get('doctrine.entitymanager.orm_default'); $sourceService = $container->get(SourceService::class); $sourceService->setEntityManager($entityManager); $lagaf = $sourceService->getRepository()->findOneBy(['code' => HasSourceInterface::SOURCE_LAGAF]); Loading
module/Formation/src/Formation/Controller/SeanceController.php +3 −0 Changes for module/Formation/src/Formation/Controller/SeanceController.php: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -10,12 +10,14 @@ use Laminas\Http\Request; use Laminas\Http\Response; use Laminas\Mvc\Controller\AbstractActionController; use Laminas\View\Model\ViewModel; use UnicaenDbImport\Entity\Db\Service\Source\SourceServiceAwareTrait; class SeanceController extends AbstractActionController { use FormationInstanceServiceAwareTrait; use SeanceServiceAwareTrait; use SeanceFormAwareTrait; use SourceServiceAwareTrait; public function ajouterJourneeAction() : ViewModel { Loading @@ -34,6 +36,7 @@ class SeanceController extends AbstractActionController $form->setData($data); if ($form->isValid()) { $this->getSeanceService()->create($journee); } } Loading