Ver Mensaje Individual
  #11 (permalink)  
Antiguo 11/08/2016, 10:30
Avatar de bymorr
bymorr
 
Fecha de Ingreso: septiembre-2012
Mensajes: 118
Antigüedad: 11 años, 7 meses
Puntos: 9
Respuesta: Pasar variables entre funciones

public function add(){



$absd= $this->add_client($key); // la variable absd tomara el valor que retorna la función add_client
}


protected function add_client($key){

//se procesa key y se retorna


return $key;

}