I'm building a tool to import content for various languages. It makes copies of existing items such as menus, articles, modules, etc. that have language specific content.
For example, when copying an article, I use the following to load the content table:
$contentSrcTbl = JTable::getInstance('Content', 'JTable', array());
$contentSrcTbl->load(array('alias' => $article['alias']));
I have the table names for menus, articles, and modules, but can't seem to find a list of tables names to use in the getInstance call. At the moment, I'm looking for the table name to use for template styles. I've tried:
- Template
- Templates
- Style
- Styles
- TemplateStyle
- TemplatesStyle
- TemplatesStyles
- TemplatesTableStyle
The last one is the name of the class in the tables folder under the Templates component.
But none of those return a jtable object, they all return null.
Is there a list showing the table names associated with the core Joomla tables?
If no list, how can I find out what to use for the table name?
Thanks!