71 lines
2.3 KiB
XML
71 lines
2.3 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
|
<construct>
|
|
<!-- define the module name -->
|
|
<module>htaccess</module>
|
|
<!-- define the module table name -->
|
|
<table>htaccess</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>
|
|
<start>date_start</start>
|
|
<expire>date_expire</expire>
|
|
<status>status</status>
|
|
</index>
|
|
<!-- define the fields -->
|
|
<field>
|
|
<id>
|
|
<type>I4</type>
|
|
<unique>1</unique>
|
|
<index>1</index>
|
|
</id>
|
|
<site_id>
|
|
<type>I4</type>
|
|
<unique>1</unique>
|
|
<index>1</index>
|
|
</site_id>
|
|
<date_start>
|
|
<type>I8</type>
|
|
<convert>date</convert>
|
|
</date_start>
|
|
<date_expire>
|
|
<type>I8</type>
|
|
<convert>date</convert>
|
|
</date_expire>
|
|
<name>
|
|
<type>C(128)</type>
|
|
<min_len>3</min_len>
|
|
<max_len>128</max_len>
|
|
<validate>alphanumeric</validate>
|
|
<unique>1</unique>
|
|
</name>
|
|
<description>
|
|
<type>X2</type>
|
|
</description>
|
|
<status>
|
|
<type>L</type>
|
|
</status>
|
|
<group_avail>
|
|
<type>X2</type>
|
|
<validate>any</validate>
|
|
<convert>array</convert>
|
|
</group_avail>
|
|
</field>
|
|
<!-- define all the methods for this class, and the fields they have access to, if applicable. -->
|
|
<method>
|
|
<add>id,site_id,date_start,date_expire,name,description,status,group_avail</add>
|
|
<update>id,site_id,date_start,date_expire,name,description,status,group_avail</update>
|
|
<delete>id,site_id,date_start,date_expire,name,description,status,group_avail</delete>
|
|
<view>id,site_id,date_start,date_expire,name,description,status,group_avail</view>
|
|
<search>id,site_id,date_start,date_expire,name,description,status,group_avail</search>
|
|
</method>
|
|
<!-- define the method triggers -->
|
|
<trigger>0</trigger>
|
|
</construct>
|