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



On Tuesday 09 November 2004 11:45, Walter Nunez wrote:
> The system would be more flexible if it allowed to define in language/
> not only the variables labels and messages.
> It would have to allow to modify tables in order to customize the
> functionality.



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
Care2002-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/care2002-developers

Reply via email to