This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/modules/email_template/email_template_construct.xml

75 lines
2.3 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1" ?>
<construct>
<!-- define the module name -->
<module>email_template</module>
<!-- define the module table name -->
<table>email_template</table>
<!-- define the module dependancy(s) -->
<dependancy/>
<!-- define the DB cache in seconds -->
<cache>0</cache>
<!-- define the default order_by field for SQL queries -->
<order_by>name</order_by>
<!-- define the methods -->
<limit>25</limit>
<!-- define database indexes -->
<index>
<name>name</name>
</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>
<setup_email_id>
<type>I4</type>
<asso_table>setup_email</asso_table>
<asso_field>name</asso_field>
<index>1</index>
</setup_email_id>
<name>
<type>C(128)</type>
<min_len>4</min_len>
<max_len>128</max_len>
<validate>any</validate>
</name>
<priority>
<type>L</type>
</priority>
<shortcuts>
<type>X2</type>
</shortcuts>
<notes>
<type>X2</type>
</notes>
<sql_1>
<type>X2</type>
</sql_1>
<sql_2>
<type>X2</type>
</sql_2>
<sql_3>
<type>X2</type>
</sql_3>
<status>
<type>L</type>
</status>
</field>
<!-- define all the methods for this class, and the fields they have access to, if applicable. -->
<method>
<add>id,site_id,setup_email_id,name,priority,shortcuts,notes,sql_1,sql_2,sql_3,status</add>
<update>id,site_id,setup_email_id,priority,shortcuts,notes,sql_1,sql_2,sql_3,status</update>
<delete>id,site_id,setup_email_id,name,priority,shortcuts,notes,sql_1,sql_2,sql_3,status</delete>
<view>id,site_id,setup_email_id,name,priority,shortcuts,notes,sql_1,sql_2,sql_3,status</view>
<search>id,site_id,setup_email_id,name,priority,shortcuts,notes,sql_1,sql_2,sql_3,status</search>
</method>
<!-- define the method triggers -->
<trigger>0</trigger>
</construct>