Ver Mensaje Individual
  #3  
Antiguo 14-03-2008
Avatar de foetus
foetus foetus is offline
Miembro
 
Registrado: mar 2007
Ubicación: Santo Domingo, Rep. Dom.
Posts: 77
Reputación: 18
foetus Va por buen camino
Arrow

ok. entonces el código correcto seria algo como esto??

Código PHP:
public enum IdStatusFlow {
REGISTRO_RECLAMACION (0),
PAGO_REQUERIDO (1),
MEDIO_ENVIO_REQUERIDO (2),
ELEGIR_CORRECIONES (3),
CAPTURAR_CORRECIONES (4),
REVISION (5),
RECLAMACION_CANCELADA (6),
RECLAMACION_REGISTRADA (7);


public 
IdStatusFlow xIdStatusFlow.REGISTRO_RECLAMACION;

if(
== IdStatusFlow.PAGO_REQUERIDO ){
algo

si es haci que pasa con los indices ej: REVISION (5), que pasa con el 5???
Responder Con Cita