Very Good... manos a la obra. No? Es relativamente simple. Expliquenme un poco para saber si entendi bien. JR --- Walter Nunez <[email protected]> escribió:
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ú
_______________________________________________ Care2x-general mailing list [email protected]
http://lists.ourproject.org/cgi-bin/mailman/listinfo/care2x-general
___________________________________ ¡Llevate a Yahoo! en tu Unifón! Ahora podés usar Yahoo! Messenger en tu Unifón, en cualquier momento y lugar. Encontrá más información en: http://ar.mobile.yahoo.com/sms.html