1

is it possible to use JTable class for more than one table ? For example I have three tables:

language (id,lang_name, published)

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.

Bounce
  • 2,066
  • 6
  • 34
  • 65

1 Answers1

0

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.

Caner
  • 57,267
  • 35
  • 174
  • 180