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/host_tld/host_tld_construct.xml
2011-05-03 09:49:04 +10:00

142 lines
3.7 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1" ?>
<construct>
<!-- Module name -->
<module>host_tld</module>
<!-- Module supporting database table -->
<table>host_tld</table>
<!-- Module dependancy(s) (module wont install if these modules are not yet installed) -->
<dependancy></dependancy>
<!-- DB cache in seconds -->
<cache>15</cache>
<!-- Default order_by field for SQL queries -->
<order_by>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>
<status>status</status>
<name>name</name>
<auto_search>auto_search</auto_search>
</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>
<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>
<!-- Record active (BOOL)-->
<status>
<display>Active</display>
<type>L</type>
</status>
<name>
<display>Extension Name</display>
<type>C(128)</type>
<validate>any</validate>
</name>
<taxable>
<display>Taxable</display>
<type>L</type>
</taxable>
<whois_plugin>
<display>Whois Plugin</display>
<type>C(32)</type>
<min_len>1</min_len>
<max_len>32</max_len>
</whois_plugin>
<whois_plugin_data>
<type>X2</type>
<convert>array</convert>
</whois_plugin_data>
<registrar_plugin_id>
<display>Registrar Plugin</display>
<type>I4</type>
<asso_table>host_registrar_plugin</asso_table>
<asso_field>name</asso_field>
</registrar_plugin_id>
<registrar_plugin_data>
<type>X2</type>
<convert>array</convert>
</registrar_plugin_data>
<auto_search>
<display>Auto Search</display>
<type>L</type>
</auto_search>
<default_term_new>
<display>Default Term</display>
<type>I4</type>
<min_len>1</min_len>
<max_len>2</max_len>
<validate>numeric</validate>
</default_term_new>
<price_group>
<type>X2</type>
<convert>array</convert>
</price_group>
</field>
<!-- Methods for this class, and the fields they have access to, if applicable -->
<method>
<add>status,name,whois_plugin,auto_search,default_term_new,taxable</add>
<update>id,site_id,status,name,whois_plugin,whois_plugin_data,registrar_plugin_id,registrar_plugin_data,auto_search,default_term_new,price_group,taxable</update>
<delete>id,site_id,status,name,whois_plugin,whois_plugin_data,registrar_plugin_id,registrar_plugin_data,auto_search,default_term_new,price_group,taxable</delete>
<view>id,site_id,status,name,whois_plugin,whois_plugin_data,registrar_plugin_id,registrar_plugin_data,auto_search,default_term_new,price_group,taxable</view>
<search>id,site_id,status,name,whois_plugin,whois_plugin_data,registrar_plugin_id,registrar_plugin_data,auto_search,default_term_new,price_group,taxable</search>
</method>
<!-- Method triggers -->
<trigger></trigger>
<!-- Template page display titles -->
<title>
<add>Add TLD</add>
</title>
<!-- Template helpers -->
<tpl>
<search_show>
<checkbox>
<field>id</field>
<type>checkbox</type>
<width>25px</width>
</checkbox>
<name>
<field>name</field>
</name>
<status>
<field>status</field>
<type>bool_icon</type>
<width>20px</width>
</status>
<whois_plugin>
<field>whois_plugin</field>
</whois_plugin>
<registrar_plugin_id>
<field>registrar_plugin_id</field>
</registrar_plugin_id>
</search_show>
</tpl>
</construct>