<?xml version="1.0" encoding="ISO-8859-1" ?> <construct> <!-- define the module name --> <module>faq_translate</module> <!-- define the module table name --> <table>faq_translate</table> <!-- define the module dependancy(s) --> <dependancy>faq</dependancy> <!-- define the DB cache in seconds --> <cache>0</cache> <!-- define the default order_by field for SQL queries --> <order_by>faq_id</order_by> <!-- define the methods --> <limit>35</limit> <!-- define the fields --> <field> <id> <type>I4</type> <unique>1</unique> <index>1</index> </id> <site_id> <type>I4</type> </site_id> <date_orig> <type>I8</type> <convert>date-now</convert> </date_orig> <date_last> <type>I8</type> <convert>date-now</convert> </date_last> <faq_id> <type>I4</type> <asso_table>faq</asso_table> <asso_field>name</asso_field> </faq_id> <language_id> <type>C(16)</type> </language_id> <answer> <type>X2</type> <min_len>1</min_len> <html>1</html> </answer> <question> <type>X2</type> <min_len>1</min_len> <max_len>255</max_len> <validate>any</validate> </question> </field> <!-- define fulltext indexes --> <index> <fulltext_faq>answer,question</fulltext_faq> </index> <!-- define all the methods for this class, and the fields they have access to, if applicable. --> <method> <add>id,site_id,date_orig,date_last,faq_id,language_id,answer,question</add> <update>id,site_id,date_orig,date_last,faq_id,language_id,answer,question</update> <delete>id,site_id,date_orig,date_last,faq_id,language_id,answer,question</delete> <view>id,site_id,date_orig,date_last,faq_id,language_id,answer,question</view> <search>id,site_id,date_orig,date_last,faq_id,language_id,answer,question</search> </method> <!-- define the method triggers --> <trigger>0</trigger> </construct>