Commit 4ce68ef8 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

- Corrections pour compatibilité ZF3

parent 8330eb86
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -33,6 +33,15 @@ return [
                            ],
                        ],
                    ],
                    'reconduction' => [
                        'type'    => 'Segment',
                        'options' => [
                            'route'    => '/reconduction',
                            'defaults' => [
                                'action' => 'reconduction',
                            ],
                        ],
                    ],
                    'element'      => [
                        'type'          => 'Literal',
                        'options'       => [
@@ -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,
+0 −6
Original line number Diff line number Diff line
@@ -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,
+8 −0
Original line number Diff line number Diff line
@@ -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;

@@ -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
+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 --------------->