Loading module/Application/config/offre-formation.config.php +11 −0 Original line number Diff line number Diff line Loading @@ -33,6 +33,15 @@ return [ ], ], ], 'reconduction' => [ 'type' => 'Segment', 'options' => [ 'route' => '/reconduction', 'defaults' => [ 'action' => 'reconduction', ], ], ], 'element' => [ 'type' => 'Literal', 'options' => [ Loading Loading @@ -362,6 +371,8 @@ return [ Service\TypeModulateurService::class => Service\TypeModulateurService::class, Service\DomaineFonctionnelService::class => Service\DomaineFonctionnelService::class, Assertion\OffreDeFormationAssertion::class => Assertion\OffreDeFormationAssertion::class, Service\OffreFormationService::class => Service\OffreFormationService::class, Processus\ReconductionProcessus::class => Processus\ReconductionProcessus::class, ], 'factories' => [ Processus\ReconductionProcessus::class => Processus\Factory\ReconductionProcessusFactory::class, Loading module/Application/src/Application/Controller/OffreFormationController.php +0 −6 Original line number Diff line number Diff line Loading @@ -184,12 +184,6 @@ class OffreFormationController extends AbstractController } //Chargement JS nécessaire uniquement sur cette page $viewHelperManager = $this->getServiceLocator()->get('ViewHelperManager'); $headScript = $viewHelperManager->get('headScript'); $headScript->offsetSetFile(100, '/js/reconduction-offre.js'); return [ 'fromPost' => $fromPost, 'offresComplementaires' => $offresComplementaires, Loading module/Application/src/Application/Processus/Factory/ReconductionProcessusFactory.php +8 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,7 @@ use Application\Service\ContextService; use Application\Service\ElementPedagogiqueService; use Application\Service\EtapeService; use Application\Service\VolumeHoraireEnsService; use Interop\Container\ContainerInterface; use Zend\ServiceManager\FactoryInterface; use Zend\ServiceManager\ServiceLocatorInterface; Loading Loading @@ -45,4 +46,11 @@ class ReconductionProcessusFactory implements FactoryInterface return $processus; } public function __invoke(ContainerInterface $container, $requestedName, array $options = null) { } } No newline at end of file module/Application/view/application/offre-formation/reconduction.phtml +5 −0 Original line number Diff line number Diff line <?php $this->headScript()->offsetSetFile(100, '/js/reconduction-offre.js'); ?> <div class="row" id="reconduction-filters"> <div class="col-md-12"> <!---------------- Champ de sélection d'une structure ---------------> Loading Loading
module/Application/config/offre-formation.config.php +11 −0 Original line number Diff line number Diff line Loading @@ -33,6 +33,15 @@ return [ ], ], ], 'reconduction' => [ 'type' => 'Segment', 'options' => [ 'route' => '/reconduction', 'defaults' => [ 'action' => 'reconduction', ], ], ], 'element' => [ 'type' => 'Literal', 'options' => [ Loading Loading @@ -362,6 +371,8 @@ return [ Service\TypeModulateurService::class => Service\TypeModulateurService::class, Service\DomaineFonctionnelService::class => Service\DomaineFonctionnelService::class, Assertion\OffreDeFormationAssertion::class => Assertion\OffreDeFormationAssertion::class, Service\OffreFormationService::class => Service\OffreFormationService::class, Processus\ReconductionProcessus::class => Processus\ReconductionProcessus::class, ], 'factories' => [ Processus\ReconductionProcessus::class => Processus\Factory\ReconductionProcessusFactory::class, Loading
module/Application/src/Application/Controller/OffreFormationController.php +0 −6 Original line number Diff line number Diff line Loading @@ -184,12 +184,6 @@ class OffreFormationController extends AbstractController } //Chargement JS nécessaire uniquement sur cette page $viewHelperManager = $this->getServiceLocator()->get('ViewHelperManager'); $headScript = $viewHelperManager->get('headScript'); $headScript->offsetSetFile(100, '/js/reconduction-offre.js'); return [ 'fromPost' => $fromPost, 'offresComplementaires' => $offresComplementaires, Loading
module/Application/src/Application/Processus/Factory/ReconductionProcessusFactory.php +8 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,7 @@ use Application\Service\ContextService; use Application\Service\ElementPedagogiqueService; use Application\Service\EtapeService; use Application\Service\VolumeHoraireEnsService; use Interop\Container\ContainerInterface; use Zend\ServiceManager\FactoryInterface; use Zend\ServiceManager\ServiceLocatorInterface; Loading Loading @@ -45,4 +46,11 @@ class ReconductionProcessusFactory implements FactoryInterface return $processus; } public function __invoke(ContainerInterface $container, $requestedName, array $options = null) { } } No newline at end of file
module/Application/view/application/offre-formation/reconduction.phtml +5 −0 Original line number Diff line number Diff line <?php $this->headScript()->offsetSetFile(100, '/js/reconduction-offre.js'); ?> <div class="row" id="reconduction-filters"> <div class="col-md-12"> <!---------------- Champ de sélection d'une structure ---------------> Loading