×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Jorge Alcalá
Added: May 14, 2022 1:51 PM
Views: 10
Tags: no tags
  1.         $repoSesiones = $this->getDoctrine()->getRepository(Sesiones::class);      
  2.         $res = $repoSesiones->findByClakar($claKar);
  3.         $claCliente = 0;
  4.         foreach ($res as $re){
  5.             $claCliente = $re->getClacliente();
  6.         }        
  7.  
  8.         if($claCliente == 0){
  9.             $resultado = -1;
  10.             $mensaje = $fk->getNomenclatura('No existe la sesión');
  11.         }