2008-11-26 22:50:40 +00:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
|
|
|
<construct>
|
2009-08-03 04:10:16 +00:00
|
|
|
<!-- Module name -->
|
|
|
|
<module>static_relation</module>
|
|
|
|
<!-- Module supporting database table -->
|
|
|
|
<table>static_relation</table>
|
|
|
|
<!-- Module dependancy(s) (module wont install if these modules are not yet installed) -->
|
|
|
|
<dependancy>static_var</dependancy>
|
|
|
|
<!-- DB cache in seconds -->
|
|
|
|
<cache>0</cache>
|
|
|
|
<!-- Default order_by field for SQL queries -->
|
|
|
|
<order_by>module_id</order_by>
|
|
|
|
<!-- Default SQL limit for SQL queries -->
|
|
|
|
<limit>25</limit>
|
|
|
|
<!-- Schema version (used to determine if the schema has change during upgrades) -->
|
|
|
|
<version>1</version>
|
|
|
|
|
|
|
|
<!-- Database indexes -->
|
|
|
|
<index>
|
|
|
|
<var>static_var_id</var>
|
|
|
|
<module>module_id</module>
|
|
|
|
<sort_order>sort_order</sort_order>
|
|
|
|
</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>C(16)</type>
|
|
|
|
</site_id>
|
|
|
|
<static_var_id>
|
|
|
|
<type>I8</type>
|
|
|
|
<asso_table>static_var</asso_table>
|
|
|
|
<asso_field>name</asso_field>
|
|
|
|
<validate>any</validate>
|
|
|
|
<display>Field Name</display>
|
|
|
|
</static_var_id>
|
|
|
|
<module_id>
|
|
|
|
<type>I4</type>
|
|
|
|
<asso_table>module</asso_table>
|
|
|
|
<asso_field>name</asso_field>
|
|
|
|
<validate>any</validate>
|
|
|
|
<display>Module</display>
|
|
|
|
</module_id>
|
|
|
|
<default_value>
|
|
|
|
<type>X2</type>
|
|
|
|
<min_len>1</min_len>
|
|
|
|
<display>Default Value</display>
|
|
|
|
</default_value>
|
|
|
|
<description>
|
|
|
|
<type>C2(255)</type>
|
|
|
|
<min_len>1</min_len>
|
|
|
|
<max_len>255</max_len>
|
|
|
|
<display>Description</display>
|
|
|
|
</description>
|
|
|
|
<required>
|
|
|
|
<type>L</type>
|
|
|
|
<display>Required</display>
|
|
|
|
</required>
|
|
|
|
<sort_order>
|
|
|
|
<type>I4</type>
|
|
|
|
<display>Sort Order</display>
|
|
|
|
</sort_order>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<!-- Methods for this class, and the fields they have access to, if applicable -->
|
|
|
|
<method>
|
|
|
|
<add>date_orig,static_var_id,module_id,default_value,description,required,sort_order</add>
|
|
|
|
<update>id,site_id,static_var_id,module_id,default_value,description,required,sort_order</update>
|
|
|
|
<delete>id,site_id,static_var_id,module_id,default_value,description,required,sort_order</delete>
|
|
|
|
<view>id,site_id,static_var_id,module_id,default_value,description,required,sort_order</view>
|
|
|
|
<search>id,site_id,static_var_id,module_id,default_value,description,required,sort_order</search>
|
|
|
|
</method>
|
|
|
|
|
|
|
|
<!-- Method triggers -->
|
|
|
|
<trigger></trigger>
|
|
|
|
|
|
|
|
<!-- Template page display titles -->
|
|
|
|
<title>
|
|
|
|
<add>Add Static Relationships</add>
|
|
|
|
<view>Static Relationships</view>
|
|
|
|
</title>
|
|
|
|
|
|
|
|
<!-- Template helpers -->
|
|
|
|
<tpl>
|
|
|
|
<search_show>
|
|
|
|
<checkbox>
|
|
|
|
<field>id</field>
|
|
|
|
<type>checkbox</type>
|
|
|
|
<width>25px</width>
|
|
|
|
</checkbox>
|
|
|
|
<static_var_id>
|
|
|
|
<field>static_var_id</field>
|
|
|
|
</static_var_id>
|
|
|
|
<module_id>
|
|
|
|
<field>module_id</field>
|
|
|
|
</module_id>
|
|
|
|
<sort_order>
|
|
|
|
<field>sort_order</field>
|
|
|
|
</sort_order>
|
|
|
|
<default_value>
|
|
|
|
<field>default_value</field>
|
|
|
|
</default_value>
|
|
|
|
</search_show>
|
|
|
|
</tpl>
|
2008-11-26 22:50:40 +00:00
|
|
|
</construct>
|