Example #1
0
 public function getAndParseFunctionAndProjectParametersToArray(EiProfil $ei_profile, EiFonction $ei_fonction)
 {
     $this->kal_fonction = $ei_fonction->getKalFonction();
     //Récupération de la fonction de la plate forme centrale (script)
     $this->InFunctionsParameters = $this->kal_fonction->getInKalParams();
     //Récupération  des paramètres d'entrée de la fonction
     $this->OutFunctionsParameters = $this->kal_fonction->getOutKalParams();
     //Récupération  des paramètres de sortie de la fonction
     $this->ei_project = $ei_profile->getProject();
     $this->projectParams = $this->ei_project->getGlobalParams();
     //Paramètres du projet
     /* Transformation des resultats en tableaux pour le json */
     $this->parseFunctionAndProjectParamsToArray($this->InFunctionsParameters, $this->OutFunctionsParameters, $this->projectParams);
 }