is it possible to use JTable class for more than one table ? For example I have three tables:
language (id,lang_name, publish开发者_如何学运维ed)
translators (id, name,surname, phone, email, published)
trans_lang_rel(language and translator relation. one translator can translate from one or more languages)
id, trans_id, lang_id
So, can I use JTable class for it ?
Your help would be appreciated.
I doubt it. Because all of the member variables of your class should match the column names in the database. So 'id' would be overwritten.
JTable is located at /joomla/database/table.php
, you can check how it works from there.
精彩评论