Ver Mensaje Individual
  #2 (permalink)  
Antiguo 06/08/2017, 07:44
Avatar de xfxstudios
xfxstudios
 
Fecha de Ingreso: junio-2015
Ubicación: Valencia - Venezuela
Mensajes: 2.448
Antigüedad: 9 años, 8 meses
Puntos: 263
Respuesta: Imprimir return de una clase en otra clase

Código PHP:
Ver original
  1. function location_form_handler($formData) // Use a different function name for each form
  2. {
  3.     $formName = 'General'; // change this to your form's name
  4.     $fieldName = 'carrera'; // change this to your field's name
  5.     $newFieldName = $fieldName . '_carrera';
  6.  
  7.     my_custom_function($formData);//AQUI ENVIAMOS LA INFO AL LOG    
  8.  
  9.     return form_with_pipes_handler($formName, $fieldName, $newFieldName, $formData);//LUEGO REALIZAMOS EL RETORNO HABITUAL
  10. }
  11.  
  12. function my_custom_function($cf7) {
  13.  
  14. $req_dump = print_r($_REQUEST, TRUE);
  15. $fp = fopen('request.log', 'a');
  16. fwrite($fp, $req_dump);
  17. fclose($fp);
  18.  
  19. }

imagino que quisiste decir de una función a otra función, prueba asi
__________________
[email protected]
HITCEL