104 lines
2.6 KiB
XML
104 lines
2.6 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
|
<construct>
|
|
<!-- Module name -->
|
|
<module>product_translate</module>
|
|
<!-- Module supporting database table -->
|
|
<table>product_translate</table>
|
|
<!-- Module dependancy(s) (module wont install if these modules are not yet installed) -->
|
|
<dependancy>product</dependancy>
|
|
<!-- DB cache in seconds -->
|
|
<cache>0</cache>
|
|
<!-- Default order_by field for SQL queries -->
|
|
<order_by>product_id</order_by>
|
|
<!-- Default SQL limit for SQL queries -->
|
|
<limit>25</limit>
|
|
<!-- Schema version (used to determine if the schema has change during upgrades) -->
|
|
<version>0</version>
|
|
|
|
<!-- Database indexes -->
|
|
<index>
|
|
<product>product_id</product>
|
|
<language>language_id</language>
|
|
<name>name</name>
|
|
</index>
|
|
|
|
<!-- Database fields -->
|
|
<field>
|
|
<!-- Record ID -->
|
|
<id>
|
|
<index>1</index>
|
|
<type>I4</type>
|
|
<unique>1</unique>
|
|
</id>
|
|
<!-- Site ID -->
|
|
<site_id>
|
|
<index>1</index>
|
|
<type>I4</type>
|
|
</site_id>
|
|
<product_id>
|
|
<type>I4</type>
|
|
<asso_table>product</asso_table>
|
|
<asso_field>sku</asso_field>
|
|
<validate>any</validate>
|
|
</product_id>
|
|
<language_id>
|
|
<type>C(16)</type>
|
|
</language_id>
|
|
<name>
|
|
<display>Name</display>
|
|
<min_len>1</min_len>
|
|
<max_len>128</max_len>
|
|
<type>C(128)</type>
|
|
<validate>any</validate>
|
|
</name>
|
|
<description_short>
|
|
<display>Short Description</display>
|
|
<html>1</html>
|
|
<type>X2</type>
|
|
</description_short>
|
|
<description_full>
|
|
<display>Full Description</display>
|
|
<type>X2</type>
|
|
<html>1</html>
|
|
</description_full>
|
|
<!-- @todo - unknown usage -->
|
|
<email_template>
|
|
<display>Email Template</display>
|
|
<type>X2</type>
|
|
</email_template>
|
|
</field>
|
|
|
|
<!-- Methods for this class, and the fields they have access to, if applicable -->
|
|
<method>
|
|
<add>product_id,language_id,name,description_short,description_full,email_template</add>
|
|
<update>id,product_id,language_id,name,description_short,description_full,email_template</update>
|
|
<delete>id</delete>
|
|
<view>id,product_id,language_id,name,description_short,description_full,email_template</view>
|
|
<search>id,product_id,language_id,name,description_short,description_full,email_template</search>
|
|
</method>
|
|
|
|
<!-- Method triggers -->
|
|
<trigger></trigger>
|
|
|
|
<!-- Template page display titles -->
|
|
<title>
|
|
</title>
|
|
|
|
<!-- Template helpers -->
|
|
<tpl>
|
|
<search_show>
|
|
<checkbox>
|
|
<field>id</field>
|
|
<type>checkbox</type>
|
|
<width>25px</width>
|
|
</checkbox>
|
|
<language_id>
|
|
<field>language_id</field>
|
|
</language_id>
|
|
<name>
|
|
<field>name</field>
|
|
</name>
|
|
</search_show>
|
|
</tpl>
|
|
</construct>
|