<?xml version="1.0" encoding="ISO-8859-1" ?> <construct> <!-- define the module name --> <module>task_log</module> <!-- define the module table name --> <table>task_log</table> <!-- define the module dependancy(s) --> <dependancy>task</dependancy> <!-- define the DB cache in seconds --> <cache>0</cache> <!-- define the default order_by field for SQL queries --> <order_by>task_id</order_by> <!-- define the methods --> <limit>25</limit> <!-- define database indexes --> <index> <task>task_id</task> </index> <!-- define the fields --> <field> <id> <type>I8</type> <unique>1</unique> <index>1</index> </id> <site_id> <type>I4</type> <index>1</index> </site_id> <task_id> <type>I4</type> <asso_table>task</asso_table> <asso_field>name</asso_field> <index>1</index> </task_id> <date_orig> <type>I8</type> </date_orig> <result> <type>L</type> </result> <message> <type>X</type> </message> </field> <!-- define all the methods for this class, and the fields they have access to, if applicable. --> <method> <add>id,site_id,task_id,date_orig,result,message</add> <update>id,site_id,task_id,date_orig,result,message</update> <delete>id,site_id,task_id,date_orig,result,message</delete> <view>id,site_id,task_id,date_orig,result,message</view> <search>id,site_id,task_id,date_orig,result,message</search> </method> <!-- define the method triggers --> <trigger>0</trigger> </construct>