[Care2x-general] Fw: Re: [Care2002-developers] about patients and personnel in the same table

JR jrbiolinux en yahoo.com.ar
Mar Nov 9 22:52:08 CET 2004


Very Good... manos a la obra. No?
Es relativamente simple. Expliquenme un poco para
saber si entendi bien.
JR

 --- Walter Nunez <admin en ciberneticamedica.com>
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
> Care2x-general en lists.ourproject.org
>
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 




Más información sobre la lista de distribución Care2x-general