This is my first post here. This forum looks interesting indeed
See, I'm trying to debug a PHP-written web application. So far I'm not coming across many difficulties... but then I hit this one.
There's this object (names "plazo") with several public properties. If you do var_dump($this->plazo), you get:
array
0 =>
object(Plazo)[20]
private 'plazo_tramitacion_pk' => null
private 'dias_plazo' => null
private 'dias_antelacion_aviso' => null
private 'estado_inicial_fk' => null
private 'estado_final_fk' => null
public 'PLAZO_TRAMITACION_PK' => string '11' (length=2)
public 'DIAS_PLAZO' => string '20' (length=2)
public 'DIAS_ANTELACION_AVISO' => string '2' (length=1)
public 'ESTADO_INICIAL_FK' => string '10' (length=2)
public 'ESTADO_FINAL_FK' => string '11' (length=2)
public 'ESTADO_PROCEDIMIENTO_PK' => string '11' (length=2)
public 'C_ESTADO_PROCEDIMIENTO' => string 'HCES' (length=4)
public 'ESTADO_INICIAL' => string 'Pendiente de Subsanación' (length=25)
public 'TIPO_PROCEDIMIENTO_FK' => string '2' (length=1)
public 'ESTADO_FINAL' => string 'Pendiente de Evaluar Solicitud' (length=30)
public 'TIPO_PROCEDIMIENTO_PK' => string '2' (length=1)
public 'C_TIPO_PROCEDIMIENTO' => string 'HC' (length=2)
public 'D_TIPO_PROCEDIMIENTO' => string 'Solicitud de Homologación de Contenidos' (length=40)
But then, if I want to echo one of the public properties (for example echo $this->plazo->D_TIPO_PROCEDIMIENTO), I get... nothing, null, nada.
I've tried several things, but I'm afraid it's been years since I last coded in PHP (actually, PHP5 wasn't even out when I worked as a PHP-coder on a daily basis!) so I'm a bit confused now.
Any clues?
Thanks a lot in advance!


