74 lines
1.7 KiB
XML
74 lines
1.7 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
|
<construct>
|
|
<!-- Module name -->
|
|
<module>task_log</module>
|
|
<!-- Module supporting database table -->
|
|
<table>task_log</table>
|
|
<!-- Module dependancy(s) (module wont install if these modules are not yet installed) -->
|
|
<dependancy>task</dependancy>
|
|
<!-- DB cache in seconds -->
|
|
<cache>0</cache>
|
|
<!-- Default order_by field for SQL queries -->
|
|
<order_by>task_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>1</version>
|
|
|
|
<!-- Database indexes -->
|
|
<index>
|
|
<task>task_id</task>
|
|
</index>
|
|
|
|
<!-- Database fields -->
|
|
<field>
|
|
<!-- Record ID -->
|
|
<id>
|
|
<index>1</index>
|
|
<type>I8</type>
|
|
<unique>1</unique>
|
|
</id>
|
|
<!-- Site ID -->
|
|
<site_id>
|
|
<index>1</index>
|
|
<type>I4</type>
|
|
</site_id>
|
|
<!-- Date record created -->
|
|
<date_orig>
|
|
<type>I8</type>
|
|
</date_orig>
|
|
<task_id>
|
|
<asso_table>task</asso_table>
|
|
<asso_field>name</asso_field>
|
|
<index>1</index>
|
|
<type>I4</type>
|
|
</task_id>
|
|
<result>
|
|
<type>L</type>
|
|
</result>
|
|
<message>
|
|
<type>X</type>
|
|
</message>
|
|
</field>
|
|
|
|
<!-- Methods for this class, and the fields they have access to, if applicable. -->
|
|
<method>
|
|
<add>task_id,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>
|
|
|
|
<!-- Method triggers -->
|
|
<trigger></trigger>
|
|
|
|
<!-- Template page display titles -->
|
|
<title>
|
|
<view>Task Log</view>
|
|
</title>
|
|
|
|
<!-- Template helpers -->
|
|
<tpl></tpl>
|
|
</construct>
|