123 lines
2.8 KiB
XML
123 lines
2.8 KiB
XML
|
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||
|
<construct>
|
||
|
<!-- Module name -->
|
||
|
<module>export</module>
|
||
|
<!-- Module supporting database table -->
|
||
|
<table>export</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>plugin_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>1</version>
|
||
|
|
||
|
<!-- Database indexes -->
|
||
|
<index>
|
||
|
</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 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>
|
||
|
<!-- Export plugin name -->
|
||
|
<plugin_name>
|
||
|
<display>Plugin</display>
|
||
|
<type>C(128)</type>
|
||
|
<validate>any</validate>
|
||
|
</plugin_name>
|
||
|
<!-- Module name for data translation -->
|
||
|
<module_id>
|
||
|
<display>Module</display>
|
||
|
<type>I4</type>
|
||
|
<validate>numeric</validate>
|
||
|
</module_id>
|
||
|
<!-- Module item id name -->
|
||
|
<item_id>
|
||
|
<display>Item</display>
|
||
|
<type>I4</type>
|
||
|
<validate>numeric</validate>
|
||
|
<unique>1</unique>
|
||
|
</item_id>
|
||
|
<!--Map data for the export -->
|
||
|
<map_data>
|
||
|
<convert>array</convert>
|
||
|
<display>Map Data</display>
|
||
|
<type>C(128)</type>
|
||
|
<validate>any</validate>
|
||
|
</map_data>
|
||
|
</field>
|
||
|
|
||
|
<!-- Methods for this class, and the fields they have access to, if applicable -->
|
||
|
<method>
|
||
|
<add>plugin_name,module_id,item_id,map_data</add>
|
||
|
<delete>id</delete>
|
||
|
<search>id,plugin_name,module_id,item_id,map_data</search>
|
||
|
<search_show>id,plugin_name,module_id,item_id,map_data</search_show>
|
||
|
<view>id,plugin_name,module_id,item_id,map_data</view>
|
||
|
<update>item_id,map_data</update>
|
||
|
</method>
|
||
|
|
||
|
<!-- Method triggers -->
|
||
|
<trigger></trigger>
|
||
|
|
||
|
<!-- Template page display titles -->
|
||
|
<title>
|
||
|
<add>Add Map Item</add>
|
||
|
</title>
|
||
|
|
||
|
<!-- Template helpers -->
|
||
|
<tpl>
|
||
|
<search_show>
|
||
|
<checkbox>
|
||
|
<field>id</field>
|
||
|
<type>checkbox</type>
|
||
|
<width>25px</width>
|
||
|
</checkbox>
|
||
|
<plugin_name>
|
||
|
<field>plugin_name</field>
|
||
|
</plugin_name>
|
||
|
<module_id>
|
||
|
<field>module_id</field>
|
||
|
</module_id>
|
||
|
<item_id>
|
||
|
<field>item_id</field>
|
||
|
</item_id>
|
||
|
<icon>
|
||
|
<field>status</field>
|
||
|
<type>bool_icon</type>
|
||
|
<width>20px</width>
|
||
|
</icon>
|
||
|
</search_show>
|
||
|
</tpl>
|
||
|
</construct>
|