75 lines
2.5 KiB
XML
75 lines
2.5 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
|
<construct>
|
|
<!-- define the module name -->
|
|
<module>ticket_department</module>
|
|
<!-- define the module table name -->
|
|
<table>ticket_department</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>
|
|
<status>status</status>
|
|
<name>name</name>
|
|
<piping>piping</piping>
|
|
</index>
|
|
<!-- define the fields -->
|
|
<field>
|
|
<id>
|
|
<type>I4</type>
|
|
<unique>1</unique>
|
|
<index>1</index>
|
|
</id>
|
|
<site_id>
|
|
<type>I4</type>
|
|
<index>1</index>
|
|
</site_id>
|
|
<group_id>
|
|
<type>X2</type>
|
|
<validate>any</validate>
|
|
<convert>array</convert>
|
|
</group_id>
|
|
<setup_email_id>
|
|
<type>I4</type>
|
|
<asso_table>setup_email</asso_table>
|
|
<asso_field>name</asso_field>
|
|
<validate>any</validate>
|
|
</setup_email_id>
|
|
<name>
|
|
<type>C(128)</type>
|
|
<min_len>1</min_len>
|
|
<max_len>128</max_len>
|
|
<validate>any</validate>
|
|
</name>
|
|
<description>
|
|
<type>X2</type>
|
|
</description>
|
|
<status>
|
|
<type>I4</type>
|
|
</status>
|
|
<piping>
|
|
<type>L</type>
|
|
</piping>
|
|
<piping_setup_email_id>
|
|
<type>I4</type>
|
|
<asso_table>setup_email</asso_table>
|
|
<asso_field>name</asso_field>
|
|
</piping_setup_email_id>
|
|
</field>
|
|
<!-- define all the methods for this class, and the fields they have access to, if applicable. -->
|
|
<method>
|
|
<add>id,site_id,group_id,setup_email_id,name,description,status,piping,piping_setup_email_id</add>
|
|
<update>id,site_id,group_id,setup_email_id,name,description,status,piping,piping_setup_email_id</update>
|
|
<delete>id,site_id,group_id,setup_email_id,name,description,status,piping,piping_setup_email_id</delete>
|
|
<view>id,site_id,group_id,setup_email_id,name,description,status,piping,piping_setup_email_id</view>
|
|
<search>id,site_id,group_id,setup_email_id,name,description,status,piping,piping_setup_email_id</search>
|
|
</method>
|
|
<!-- define the method triggers -->
|
|
<trigger>0</trigger>
|
|
</construct>
|