9 Nov
2004
9 Nov
'04
9:01 p.m.
Subject: Re: [Care2002-developers] about patients and personnel in the same table ---- Hello Juan and Walter, you can create a new class that inherits the person class and then in its constructor function you just define the new table name for your personnel table (granting the table structure is the same as care_person).: class Personnel extends Person { function Personnel(){ $this->tb_person = 'care_person_personnel'; } } Then in your scripts, you have to use the Personnel class and not the Person class. Elpidio -- Walter Alfonso Núnez Rivera Médico - Programador Pascual de Andagoya 140 Lima 32 Perú