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_var</module>
|
|
|
|
<!-- Module supporting database table -->
|
|
|
|
<table>static_var</table>
|
|
|
|
<!-- Module dependancy(s) (module wont install if these modules are not yet installed) -->
|
|
|
|
<dependancy>static_relation</dependancy>
|
|
|
|
<!-- DB cache in seconds -->
|
|
|
|
<cache>0</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>
|
|
|
|
<name>name</name>
|
|
|
|
</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>
|
|
|
|
<name>
|
|
|
|
<type>C(255)</type>
|
|
|
|
<min_len>1</min_len>
|
|
|
|
<max_len>255</max_len>
|
|
|
|
<validate>any</validate>
|
|
|
|
<unique>1</unique>
|
|
|
|
<html>1</html>
|
|
|
|
<display>Field Name</display>
|
|
|
|
</name>
|
|
|
|
<description>
|
|
|
|
<type>C2(255)</type>
|
|
|
|
<min_len>1</min_len>
|
|
|
|
<max_len>255</max_len>
|
|
|
|
<validate>any</validate>
|
|
|
|
<display>Description</display>
|
|
|
|
</description>
|
|
|
|
<input_format>
|
|
|
|
<type>C(128)</type>
|
|
|
|
<display>Type of Input</display>
|
|
|
|
</input_format>
|
|
|
|
<validation_type>
|
|
|
|
<type>C(128)</type>
|
|
|
|
<display>Validation to use</display>
|
|
|
|
</validation_type>
|
|
|
|
<convert_type>
|
|
|
|
<type>C(128)</type>
|
|
|
|
<display>Convert</display>
|
|
|
|
<description>When this data is stored in the database, it will be converted into this format</description>
|
|
|
|
</convert_type>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<!-- Methods for this class, and the fields they have access to, if applicable -->
|
|
|
|
<method>
|
|
|
|
<add>name,description,input_format,validation_type,convert_type</add>
|
|
|
|
<update>id,site_id,name,description,input_format,validation_type,convert_type</update>
|
|
|
|
<delete>id,site_id,name,description,input_format,validation_type,convert_type</delete>
|
|
|
|
<view>id,site_id,name,description,input_format,validation_type,convert_type</view>
|
|
|
|
<search>id,site_id,name,description,input_format,validation_type,convert_type</search>
|
|
|
|
</method>
|
|
|
|
|
|
|
|
<!-- Method triggers -->
|
|
|
|
<trigger></trigger>
|
|
|
|
|
|
|
|
<!-- Template page display titles -->
|
|
|
|
<title>
|
|
|
|
<add>Add Static Variable</add>
|
|
|
|
<view>Static Variables</view>
|
|
|
|
</title>
|
|
|
|
|
|
|
|
<!-- Template helpers -->
|
|
|
|
<tpl>
|
|
|
|
<search_show>
|
|
|
|
<checkbox>
|
|
|
|
<field>id</field>
|
|
|
|
<type>checkbox</type>
|
|
|
|
<width>25px</width>
|
|
|
|
</checkbox>
|
|
|
|
<name>
|
|
|
|
<field>name</field>
|
|
|
|
</name>
|
|
|
|
<input_format>
|
|
|
|
<field>input_format</field>
|
|
|
|
</input_format>
|
|
|
|
<validation_type>
|
|
|
|
<field>validation_type</field>
|
|
|
|
</validation_type>
|
|
|
|
<convert_type>
|
|
|
|
<field>convert_type</field>
|
|
|
|
</convert_type>
|
|
|
|
</search_show>
|
|
|
|
</tpl>
|
2008-11-26 22:50:40 +00:00
|
|
|
</construct>
|