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/group/group_construct.xml

104 lines
2.5 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>group</module>
<!-- Module supporting database table -->
<table>group</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>parent_id,name</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>
<pricing>date_expire</pricing>
<idx>status,parent_id,date_start,date_expire</idx>
</index>
<!-- Database fields -->
<field>
<!-- Record ID -->
<id>
<index>1</index>
<type>I4</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_start>
<type>I8</type>
<convert>date-time</convert>
<display>Date Start</display>
</date_start>
<date_expire>
<type>I8</type>
<convert>date-time</convert>
<display>Date End</display>
</date_expire>
<parent_id>
<type>I4</type>
<display>Parent</display>
</parent_id>
<!-- Record active (BOOL)-->
<status>
<display>Active</display>
<type>L</type>
</status>
<pricing>
<type>L</type>
<display>Group Pricing</display>
</pricing>
<name>
<type>C(128)</type>
<validate>any</validate>
<min_len>3</min_len>
<max_len>64</max_len>
<unique>1</unique>
<display>Name</display>
</name>
<notes>
<type>X2</type>
<display>Notes</display>
</notes>
</field>
<!-- Methods for this class, and the fields they have access to, if applicable -->
<method>
<add>date_start,date_expire,name,notes,status,pricing,parent_id</add>
<update>date_start,date_expire,name,notes,status,pricing,parent_id</update>
<delete>id</delete>
<view>id,date_orig,date_start,date_expire,name,notes,status,pricing,parent_id</view>
<search>name</search>
</method>
<!-- Method triggers -->
<trigger></trigger>
<!-- Template page display titles -->
<title>
<add>Add Group</add>
<search_show>Groups</search_show>
<tpl_title_visual>Group Layout Visualisation</tpl_title_visual>
<view>Modify Group</view>
</title>
<!-- Template helpers -->
<tpl>
</tpl>
</construct>