Loading module/Application/src/Form/OffreFormation/ElementPedagogiqueRechercheFieldset.php +3 −22 Changes for module/Application/src/Form/OffreFormation/ElementPedagogiqueRechercheFieldset.php: 3 added lines, 22 removed lines. Original line number Diff line number Diff line Loading @@ -44,7 +44,6 @@ class ElementPedagogiqueRechercheFieldset extends AbstractFieldset protected $queryBuilder; public function init() { $hydrator = new ElementPedagogiqueRechercheHydrator; Loading Loading @@ -152,7 +151,6 @@ class ElementPedagogiqueRechercheFieldset extends AbstractFieldset } public function populateOptions() { $data = $this->getData(); Loading @@ -163,7 +161,6 @@ class ElementPedagogiqueRechercheFieldset extends AbstractFieldset } protected function getData() { $key = $this->getServiceContext()->getAnnee()->getId(); Loading @@ -177,7 +174,8 @@ class ElementPedagogiqueRechercheFieldset extends AbstractFieldset gtf.libelle_court || e.niveau niveau_id, gtf.libelle_court || e.niveau niveau_libelle, e.id etape_id, e.libelle etape_libelle e.libelle etape_libelle, gtf.ordre FROM element_pedagogique ep JOIN chemin_pedagogique cp ON cp.element_pedagogique_id = ep.id AND cp.histo_destruction IS NULL Loading @@ -188,6 +186,7 @@ class ElementPedagogiqueRechercheFieldset extends AbstractFieldset WHERE ep.histo_destruction IS NULL AND ep.annee_id = :annee ORDER BY gtf.ordre ASC "; $res = $this->getEntityManager()->getConnection()->fetchAllAssociative( Loading Loading @@ -234,7 +233,6 @@ class ElementPedagogiqueRechercheFieldset extends AbstractFieldset $result['relations'][$structureId][$niveauId][] = $etapeId; } asort($result['structures']); asort($result['niveaux']); asort($result['etapes']); $this->getSessionContainer()->{$key} = $result; } Loading @@ -243,56 +241,48 @@ class ElementPedagogiqueRechercheFieldset extends AbstractFieldset } public function getRelations() { return $this->relations; } public function getStructureName() { return $this->structureName; } public function getNiveauName() { return $this->niveauName; } public function getEtapeName() { return $this->etapeName; } public function getStructureEnabled() { return $this->structureEnabled; } public function getNiveauEnabled() { return $this->niveauEnabled; } public function getEtapeEnabled() { return $this->etapeEnabled; } public function setStructureEnabled($structureEnabled = true) { $this->structureEnabled = $structureEnabled; Loading @@ -301,7 +291,6 @@ class ElementPedagogiqueRechercheFieldset extends AbstractFieldset } public function setNiveauEnabled($niveauEnabled = true) { $this->niveauEnabled = $niveauEnabled; Loading @@ -310,7 +299,6 @@ class ElementPedagogiqueRechercheFieldset extends AbstractFieldset } public function setEtapeEnabled($etapeEnabled = true) { $this->etapeEnabled = $etapeEnabled; Loading @@ -319,7 +307,6 @@ class ElementPedagogiqueRechercheFieldset extends AbstractFieldset } /** * @return string */ Loading @@ -329,7 +316,6 @@ class ElementPedagogiqueRechercheFieldset extends AbstractFieldset } /** * @param string $elementId * Loading @@ -344,7 +330,6 @@ class ElementPedagogiqueRechercheFieldset extends AbstractFieldset } /** * Should return an array specification compatible with * {@link Laminas\InputFilter\Factory::createInputFilter()}. Loading Loading @@ -374,9 +359,6 @@ class ElementPedagogiqueRechercheFieldset extends AbstractFieldset } /** * * Loading Loading @@ -407,7 +389,6 @@ class ElementPedagogiqueRechercheHydrator implements HydratorInterface } /** * Extract values from an object * Loading Loading
module/Application/src/Form/OffreFormation/ElementPedagogiqueRechercheFieldset.php +3 −22 Changes for module/Application/src/Form/OffreFormation/ElementPedagogiqueRechercheFieldset.php: 3 added lines, 22 removed lines. Original line number Diff line number Diff line Loading @@ -44,7 +44,6 @@ class ElementPedagogiqueRechercheFieldset extends AbstractFieldset protected $queryBuilder; public function init() { $hydrator = new ElementPedagogiqueRechercheHydrator; Loading Loading @@ -152,7 +151,6 @@ class ElementPedagogiqueRechercheFieldset extends AbstractFieldset } public function populateOptions() { $data = $this->getData(); Loading @@ -163,7 +161,6 @@ class ElementPedagogiqueRechercheFieldset extends AbstractFieldset } protected function getData() { $key = $this->getServiceContext()->getAnnee()->getId(); Loading @@ -177,7 +174,8 @@ class ElementPedagogiqueRechercheFieldset extends AbstractFieldset gtf.libelle_court || e.niveau niveau_id, gtf.libelle_court || e.niveau niveau_libelle, e.id etape_id, e.libelle etape_libelle e.libelle etape_libelle, gtf.ordre FROM element_pedagogique ep JOIN chemin_pedagogique cp ON cp.element_pedagogique_id = ep.id AND cp.histo_destruction IS NULL Loading @@ -188,6 +186,7 @@ class ElementPedagogiqueRechercheFieldset extends AbstractFieldset WHERE ep.histo_destruction IS NULL AND ep.annee_id = :annee ORDER BY gtf.ordre ASC "; $res = $this->getEntityManager()->getConnection()->fetchAllAssociative( Loading Loading @@ -234,7 +233,6 @@ class ElementPedagogiqueRechercheFieldset extends AbstractFieldset $result['relations'][$structureId][$niveauId][] = $etapeId; } asort($result['structures']); asort($result['niveaux']); asort($result['etapes']); $this->getSessionContainer()->{$key} = $result; } Loading @@ -243,56 +241,48 @@ class ElementPedagogiqueRechercheFieldset extends AbstractFieldset } public function getRelations() { return $this->relations; } public function getStructureName() { return $this->structureName; } public function getNiveauName() { return $this->niveauName; } public function getEtapeName() { return $this->etapeName; } public function getStructureEnabled() { return $this->structureEnabled; } public function getNiveauEnabled() { return $this->niveauEnabled; } public function getEtapeEnabled() { return $this->etapeEnabled; } public function setStructureEnabled($structureEnabled = true) { $this->structureEnabled = $structureEnabled; Loading @@ -301,7 +291,6 @@ class ElementPedagogiqueRechercheFieldset extends AbstractFieldset } public function setNiveauEnabled($niveauEnabled = true) { $this->niveauEnabled = $niveauEnabled; Loading @@ -310,7 +299,6 @@ class ElementPedagogiqueRechercheFieldset extends AbstractFieldset } public function setEtapeEnabled($etapeEnabled = true) { $this->etapeEnabled = $etapeEnabled; Loading @@ -319,7 +307,6 @@ class ElementPedagogiqueRechercheFieldset extends AbstractFieldset } /** * @return string */ Loading @@ -329,7 +316,6 @@ class ElementPedagogiqueRechercheFieldset extends AbstractFieldset } /** * @param string $elementId * Loading @@ -344,7 +330,6 @@ class ElementPedagogiqueRechercheFieldset extends AbstractFieldset } /** * Should return an array specification compatible with * {@link Laminas\InputFilter\Factory::createInputFilter()}. Loading Loading @@ -374,9 +359,6 @@ class ElementPedagogiqueRechercheFieldset extends AbstractFieldset } /** * * Loading Loading @@ -407,7 +389,6 @@ class ElementPedagogiqueRechercheHydrator implements HydratorInterface } /** * Extract values from an object * Loading