<?xml version="1.0" encoding="ISO-8859-1" ?>
<construct>
<!-- Module name -->
<module>asset_pool</module>
<!-- Module supporting database table -->
<table>asset_pool</table>
<!-- Module dependancy(s) (module wont install if these modules are not yet installed) -->
<dependancy>asset</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>
<main>id,site_id</main>
</index>
<!-- Database fields -->
<field>
<!-- Record ID -->
<id>
<index>1</index>
<type>I4</type>
<unique>1</unique>
</id>
<!-- Site ID -->
<site_id>
</site_id>
<name>
<display>Name</display>
<type>C(32)</type>
</name>
</field>
<!-- Methods for this class, and the fields they have access to, if applicable -->
<method>
<add>name</add>
<update>id,name</update>
<delete>id</delete>
<view>id,name</view>
<search>id,name</search>
</method>
<!-- Method triggers -->
<trigger></trigger>
<!-- Template page display titles -->
<title>
<add>Add Asset Pool</add>
<view>View Asset Pool</view>
</title>
<!-- Template helpers -->
<tpl>
<search_show>
<checkbox>
<field>id</field>
<type>checkbox</type>
<width>25px</width>
</checkbox>
<field>name</field>
</search_show>
</tpl>
</construct>