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

154 lines
3.7 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1" ?>
<construct>
2009-08-03 04:10:16 +00:00
<!-- Module name -->
<module>session</module>
<!-- Module supporting database table -->
<table>session</table>
<!-- Module dependancy(s) (module wont install if these modules are not yet installed) -->
<dependancy></dependancy>
<!-- DB cache in seconds -->
<cache>0</cache>
<!-- Default order_by field for SQL queries -->
<order_by>date_last</order_by>
<!-- Default SQL limit for SQL queries -->
<limit>25</limit>
<!-- Schema version (used to determine if the schema has change during upgrades) -->
<version>0</version>
<!-- Database indexes -->
<index>
<expire>date_expire</expire>
<logged>logged</logged>
<account>account_id</account>
<campaign>campaign_id</campaign>
</index>
<!-- Database fields -->
<field>
<!-- Record ID -->
<id>
<index>1</index>
<type>C(32)</type>
<unique>1</unique>
</id>
<!-- Site ID -->
<site_id>
<index>1</index>
<type>I4</type>
</site_id>
<!-- Date record created -->
<date_orig>
<convert>date-now</convert>
<display>Date Created</display>
<type>I8</type>
</date_orig>
<!-- Date record updated -->
<date_last>
<convert>date-now</convert>
<display>Date Updated</display>
<type>I8</type>
</date_last>
<date_expire>
<type>I8</type>
<convert>date</convert>
<display>Date Expire</display>
</date_expire>
<logged>
<type>L</type>
<display>Session Logged</display>
</logged>
<ip>
<type>C(128)</type>
<display>IP Address</display>
</ip>
<theme_id>
<type>C(32)</type>
<display>Theme</display>
</theme_id>
<country_id>
<type>I4</type>
<display>Country</display>
</country_id>
<language_id>
<type>C(32)</type>
<display>Language</display>
</language_id>
<currency_id>
<type>I4</type>
<display>Currency</display>
</currency_id>
<weight_id>
<type>I4</type>
<display>Weight Unit</display>
</weight_id>
<account_id>
<type>I8</type>
<asso_table>account</asso_table>
<asso_field>username</asso_field>
<display>Account</display>
</account_id>
<reseller_id>
<type>I4</type>
<display>Reseller</display>
</reseller_id>
<affiliate_id>
<type>C(32)</type>
<display>Affiliate</display>
</affiliate_id>
<campaign_id>
<type>I4</type>
<display>Campaign</display>
</campaign_id>
<discounts>
<type>C(255)</type>
</discounts>
<groups>
<type>C(255)</type>
</groups>
</field>
<!-- 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>
<!-- Method triggers -->
<trigger></trigger>
<!-- Template page display titles -->
<title>
<search_form>Search</search_form>
<view>Session</view>
</title>
<!-- Template helpers -->
<tpl>
<search_show>
<checkbox>
<field>id</field>
<type>checkbox</type>
<width>25px</width>
</checkbox>
<date_orig>
<field>date_orig</field>
<type>date</type>
</date_orig>
<date_last>
<field>date_last</field>
<type>date</type>
</date_last>
<ip>
<field>ip</field>
</ip>
<account_id>
<field>account_id</field>
</account_id>
<icon>
<width>60px</width>
</icon>
</search_show>
</tpl>
</construct>