2008-11-26 22:50:40 +00:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
|
|
|
<construct>
|
2009-08-03 04:10:16 +00:00
|
|
|
<!-- Module name -->
|
|
|
|
<module>log_error</module>
|
|
|
|
<!-- Module supporting database table -->
|
|
|
|
<table>log_error</table>
|
|
|
|
<!-- Module dependancy(s) (module wont install if these modules are not yet installed) -->
|
|
|
|
<dependancy></dependancy>
|
|
|
|
<!-- DB cache in seconds -->
|
|
|
|
<cache>0</cache>
|
|
|
|
<!-- Default order_by field for SQL queries -->
|
|
|
|
<order_by>date_orig</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>
|
|
|
|
</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>
|
|
|
|
<convert>date-now</convert>
|
|
|
|
<display>Date Created</display>
|
|
|
|
<type>I8</type>
|
|
|
|
</date_orig>
|
|
|
|
<account_id>
|
|
|
|
<display>Account</display>
|
|
|
|
<type>I8</type>
|
|
|
|
<asso_table>account</asso_table>
|
|
|
|
<asso_field>username</asso_field>
|
|
|
|
</account_id>
|
|
|
|
<module>
|
|
|
|
<display>Module</display>
|
|
|
|
<type>C(64)</type>
|
|
|
|
</module>
|
|
|
|
<method>
|
|
|
|
<display>Method</display>
|
|
|
|
<type>C(64)</type>
|
|
|
|
</method>
|
|
|
|
<message>
|
|
|
|
<display>Message</display>
|
|
|
|
<type>X2</type>
|
|
|
|
</message>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<!-- Methods for this class, and the fields they have access to, if applicable -->
|
|
|
|
<method>
|
|
|
|
<add>id,site_id,date_orig,account_id,module,method,message</add>
|
|
|
|
<update>id,site_id,date_orig,account_id,module,method,message</update>
|
|
|
|
<delete>id,site_id,date_orig,account_id,module,method,message</delete>
|
|
|
|
<view>id,site_id,date_orig,account_id,module,method,message</view>
|
|
|
|
<search>id,site_id,date_orig,account_id,module,method,message</search>
|
|
|
|
</method>
|
|
|
|
|
|
|
|
<!-- Method triggers -->
|
|
|
|
<trigger></trigger>
|
|
|
|
|
|
|
|
<!-- Template page display titles -->
|
|
|
|
<title>
|
|
|
|
<search_form>Search</search_form>
|
|
|
|
</title>
|
|
|
|
|
|
|
|
<!-- Template helpers -->
|
|
|
|
<tpl>
|
|
|
|
<search_show>
|
|
|
|
<checkbox>
|
|
|
|
<field>id</field>
|
|
|
|
<type>checkbox</type>
|
|
|
|
<width>25px</width>
|
|
|
|
</checkbox>
|
|
|
|
<date_orig>
|
|
|
|
<field>date_orig</field>
|
|
|
|
<type>date</type>
|
|
|
|
<width>15%</width>
|
|
|
|
</date_orig>
|
|
|
|
<message>
|
|
|
|
<field>message</field>
|
|
|
|
<width>45%</width>
|
|
|
|
</message>
|
|
|
|
<module>
|
|
|
|
<field>module</field>
|
|
|
|
<width>40%</width>
|
|
|
|
</module>
|
|
|
|
</search_show>
|
|
|
|
</tpl>
|
2008-11-26 22:50:40 +00:00
|
|
|
</construct>
|