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/faq/faq_construct.xml

117 lines
2.9 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>faq</module>
<!-- Module supporting database table -->
<table>faq</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>sort_order,date_orig,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>
2009-08-03 04:10:16 +00:00
<!-- Database indexes -->
<index>
</index>
2009-08-03 04:10:16 +00:00
<!-- 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 record updated -->
<date_last>
<convert>date-now</convert>
<display>Date Updated</display>
<type>I8</type>
</date_last>
<faq_category_id>
<display>Category</display>
<type>I4</type>
<asso_table>faq_category</asso_table>
<asso_field>name</asso_field>
</faq_category_id>
<date_start>
<display>Date Start</display>
<type>I8</type>
<convert>date</convert>
</date_start>
<date_expire>
<display>Date Expire</display>
<type>I8</type>
<convert>date</convert>
</date_expire>
<sort_order>
<display>Sort Order</display>
<type>I4</type>
</sort_order>
<status>
<display>Active</display>
<type>L</type>
</status>
<name>
<display>Name</display>
<type>C(255)</type>
<min_len>1</min_len>
<max_len>255</max_len>
<validate>any</validate>
<unique>1</unique>
</name>
</field>
2009-08-03 04:10:16 +00:00
<!-- Methods for this class, and the fields they have access to, if applicable -->
<method>
<add>faq_category_id,date_orig,sort_order,status,name</add>
<update>id,site_id,faq_category_id,date_orig,date_last,date_start,date_expire,sort_order,status,name</update>
<delete>id,site_id,faq_category_id,date_orig,date_last,date_start,date_expire,sort_order,status,name</delete>
<view>id,site_id,faq_category_id,date_orig,date_last,date_start,date_expire,sort_order,status,name</view>
<search>id,site_id,faq_category_id,date_orig,date_last,date_start,date_expire,sort_order,status,name</search>
</method>
2009-08-03 04:10:16 +00:00
<!-- Method triggers -->
<trigger></trigger>
2009-08-03 04:10:16 +00:00
<!-- Template page display titles -->
<title>
<add>Add FAQ</add>
<search_form>Search FAQ</search_form>
<view>FAQ</view>
</title>
2009-08-03 04:10:16 +00:00
<!-- Template helpers -->
<tpl>
<search_show>
<checkbox>
<field>id</field>
<type>checkbox</type>
<width>25px</width>
</checkbox>
<name>
<field>name</field>
</name>
<faq_category_id>
<field>faq_category_id</field>
</faq_category_id>
</search_show>
</tpl>
</construct>