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/login_lock/login_lock_construct.xml
2008-11-26 14:50:40 -08:00

50 lines
1.3 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1" ?>
<construct>
<!-- define the module name -->
<module>login_lock</module>
<!-- define the module table name -->
<table>login_lock</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>account_id</order_by>
<!-- define the methods -->
<limit>25</limit>
<!-- define database indexes -->
<index>
<account>account_id</account>
<expire>date_expire</expire>
<ip>ip</ip>
</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>
<account_id>
<type>I8</type>
</account_id>
<date_orig>
<type>I8</type>
</date_orig>
<date_expire>
<type>I8</type>
</date_expire>
<ip>
<type>C(32)</type>
</ip>
</field>
<!-- define all the methods for this class, and the fields they have access to, if applicable. -->
<method/>
<!-- define the method triggers -->
<trigger>0</trigger>
</construct>