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/session/session_construct.xml

96 lines
2.9 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1" ?>
<construct>
<!-- define the module name -->
<module>session</module>
<!-- define the module table name -->
<table>session</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>date_last</order_by>
<!-- define the methods -->
<limit>25</limit>
<!-- define database indexes -->
<index>
<expire>date_expire</expire>
<logged>logged</logged>
<account>account_id</account>
<campaign>campaign_id</campaign>
</index>
<!-- define the fields -->
<field>
<id>
<type>C(32)</type>
<unique>1</unique>
<index>1</index>
</id>
<site_id>
<type>I4</type>
<index>1</index>
</site_id>
<date_orig>
<type>I8</type>
<convert>date</convert>
</date_orig>
<date_last>
<type>I8</type>
<convert>date</convert>
</date_last>
<date_expire>
<type>I8</type>
<convert>date</convert>
</date_expire>
<logged>
<type>L</type>
</logged>
<ip>
<type>C(128)</type>
</ip>
<theme_id>
<type>C(32)</type>
</theme_id>
<country_id>
<type>I4</type>
</country_id>
<language_id>
<type>C(32)</type>
</language_id>
<currency_id>
<type>I4</type>
</currency_id>
<weight_id>
<type>I4</type>
</weight_id>
<account_id>
<type>I8</type>
<asso_table>account</asso_table>
<asso_field>username</asso_field>
</account_id>
<reseller_id>
<type>I4</type>
</reseller_id>
<affiliate_id>
<type>C(32)</type>
</affiliate_id>
<campaign_id>
<type>I4</type>
</campaign_id>
<discounts>
<type>C(255)</type>
</discounts>
<groups>
<type>C(255)</type>
</groups>
</field>
<!-- define all the methods for this class, and the fields they have access to, if applicable. -->
<method>
<delete>id,site_id,date_orig,date_last,date_expire,logged,ip,theme_id,country_id,language_id,currency_id,weight_id,account_id,reseller_id,affiliate_id,discounts</delete>
<view>id,site_id,date_orig,date_last,date_expire,logged,ip,theme_id,country_id,language_id,currency_id,weight_id,account_id,reseller_id,affiliate_id,discounts</view>
<search>id,site_id,date_orig,date_last,date_expire,logged,ip,theme_id,country_id,language_id,currency_id,weight_id,account_id,reseller_id,affiliate_id,discounts</search>
</method>
<!-- define the method triggers -->
<trigger>0</trigger>
</construct>