function guardarNotificacion($idReceptor, $descripcion, $idTipoNotif)
{
    $notificacion = new Notificacion();
    $notificacion->setId_emisor($_SESSION['userid']);
    $notificacion->setId_receptor($idReceptor);
    $notificacion->setDescripcion($descripcion);
    $notificacion->setId_tipo_notificacion($idTipoNotif);
    $notificacion->setLeido("n");
    $notificacion->save();
    //echo json_encode(array( 'error' => 0, 'respuesta' => "Notificacion guardada correctamente"));
    return true;
}