Loading src/UnicaenIndicateur/Service/HasIndicateurs/HasIndicateursService.php +11 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,17 @@ class HasIndicateursService use CategorieServiceAwareTrait; use IndicateurServiceAwareTrait; /** EXEMPLE EN ATTENDANT LA DOC */ // $listing = [ // [ // 'code' => 'CAMP_' . $campagne->getId(), // 'libelle' => "Indicateurs liés à la campagne " . $campagne->getAnnee(), // 'indicateurs' => [ // ['code' => 'EP', 'libelle' => "Liste des entretiens professionnels", "requete" => "select e.* from entretienprofessionnel e join public.entretienprofessionnel_campagne ec on e.campagne_id = ec.id where ec.id = :campagne"], // ['code' => 'AUTRE', 'libelle' => "Autre", "requete" => "select * from unicaen_utilisateur_role"], // ], // ], // ]; public function ajouterIndicateurs(HasIndicateursInterface $object, array $listing, string $key = ":object"): string { Loading Loading
src/UnicaenIndicateur/Service/HasIndicateurs/HasIndicateursService.php +11 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,17 @@ class HasIndicateursService use CategorieServiceAwareTrait; use IndicateurServiceAwareTrait; /** EXEMPLE EN ATTENDANT LA DOC */ // $listing = [ // [ // 'code' => 'CAMP_' . $campagne->getId(), // 'libelle' => "Indicateurs liés à la campagne " . $campagne->getAnnee(), // 'indicateurs' => [ // ['code' => 'EP', 'libelle' => "Liste des entretiens professionnels", "requete" => "select e.* from entretienprofessionnel e join public.entretienprofessionnel_campagne ec on e.campagne_id = ec.id where ec.id = :campagne"], // ['code' => 'AUTRE', 'libelle' => "Autre", "requete" => "select * from unicaen_utilisateur_role"], // ], // ], // ]; public function ajouterIndicateurs(HasIndicateursInterface $object, array $listing, string $key = ":object"): string { Loading