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>checkout</module>
|
|
|
|
<!-- Module supporting database table -->
|
|
|
|
<table>checkout</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>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>
|
|
|
|
<!-- Record active (BOOL)-->
|
|
|
|
<active>
|
|
|
|
<display>Active</display>
|
|
|
|
<type>L</type>
|
|
|
|
</active>
|
|
|
|
<name>
|
|
|
|
<type>C(32)</type>
|
|
|
|
<min_len>1</min_len>
|
|
|
|
<max_len>32</max_len>
|
|
|
|
<validate>any</validate>
|
|
|
|
</name>
|
|
|
|
<description>
|
|
|
|
<type>C(255)</type>
|
|
|
|
</description>
|
|
|
|
<checkout_plugin>
|
|
|
|
<type>C(32)</type>
|
|
|
|
<validate>any</validate>
|
|
|
|
</checkout_plugin>
|
|
|
|
<plugin_data>
|
|
|
|
<type>X2</type>
|
|
|
|
<convert>array</convert>
|
|
|
|
<arr_force>1</arr_force>
|
|
|
|
</plugin_data>
|
|
|
|
<allow_recurring>
|
|
|
|
<type>L</type>
|
|
|
|
</allow_recurring>
|
|
|
|
<allow_new>
|
|
|
|
<type>L</type>
|
|
|
|
</allow_new>
|
|
|
|
<allow_trial>
|
|
|
|
<type>L</type>
|
|
|
|
</allow_trial>
|
|
|
|
<total_minimum>
|
|
|
|
<type>F</type>
|
|
|
|
</total_minimum>
|
|
|
|
<total_maximum>
|
|
|
|
<type>F</type>
|
|
|
|
</total_maximum>
|
|
|
|
<max_decline_attempts>
|
|
|
|
<type>I4</type>
|
|
|
|
</max_decline_attempts>
|
|
|
|
<manual_approval_all>
|
|
|
|
<type>L</type>
|
|
|
|
</manual_approval_all>
|
|
|
|
<manual_approval_recur>
|
|
|
|
<type>L</type>
|
|
|
|
</manual_approval_recur>
|
|
|
|
<manual_approval_country>
|
|
|
|
<type>X2</type>
|
|
|
|
<convert>array</convert>
|
|
|
|
<arr_force>1</arr_force>
|
|
|
|
</manual_approval_country>
|
|
|
|
<manual_approval_group>
|
|
|
|
<type>X2</type>
|
|
|
|
<convert>array</convert>
|
|
|
|
<arr_force>1</arr_force>
|
|
|
|
</manual_approval_group>
|
|
|
|
<manual_approval_amount>
|
|
|
|
<type>F</type>
|
|
|
|
</manual_approval_amount>
|
|
|
|
<manual_approval_currency>
|
|
|
|
<type>X2</type>
|
|
|
|
<convert>array</convert>
|
|
|
|
<arr_force>1</arr_force>
|
|
|
|
</manual_approval_currency>
|
|
|
|
<default_when_currency>
|
|
|
|
<type>X2</type>
|
|
|
|
<convert>array</convert>
|
|
|
|
<arr_force>1</arr_force>
|
|
|
|
</default_when_currency>
|
|
|
|
<default_when_country>
|
|
|
|
<type>X2</type>
|
|
|
|
<convert>array</convert>
|
|
|
|
<arr_force>1</arr_force>
|
|
|
|
</default_when_country>
|
|
|
|
<default_when_group>
|
|
|
|
<type>X2</type>
|
|
|
|
<convert>array</convert>
|
|
|
|
<arr_force>1</arr_force>
|
|
|
|
</default_when_group>
|
|
|
|
<default_when_amount>
|
|
|
|
<type>F</type>
|
|
|
|
</default_when_amount>
|
|
|
|
<allowed_currencies>
|
|
|
|
<type>X2</type>
|
|
|
|
<convert>array</convert>
|
|
|
|
<arr_force>1</arr_force>
|
|
|
|
<validate>any</validate>
|
|
|
|
</allowed_currencies>
|
|
|
|
<email_template>
|
|
|
|
<type>X2</type>
|
|
|
|
</email_template>
|
|
|
|
<required_groups>
|
|
|
|
<type>X2</type>
|
|
|
|
<convert>array</convert>
|
|
|
|
<arr_force>1</arr_force>
|
|
|
|
</required_groups>
|
|
|
|
<excluded_products>
|
|
|
|
<type>X2</type>
|
|
|
|
<convert>array</convert>
|
|
|
|
<arr_force>1</arr_force>
|
|
|
|
</excluded_products>
|
|
|
|
<graphic_url>
|
|
|
|
<type>C(128)</type>
|
|
|
|
</graphic_url>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<!-- Methods for this class, and the fields they have access to, if applicable -->
|
|
|
|
<method>
|
|
|
|
<add>id,site_id,name,description,active,checkout_plugin,plugin_data,allow_recurring,allow_new,allow_trial,total_minimum,total_maximum,max_decline_attempts,manual_approval_all,manual_approval_recur,manual_approval_country,manual_approval_group,manual_approval_amount,manual_approval_currency,default_when_currency,default_when_country,default_when_group,default_when_amount,allowed_currencies,email_template,excluded_products,required_groups,graphic_url</add>
|
|
|
|
<update>id,site_id,name,description,active,checkout_plugin,plugin_data,allow_recurring,allow_new,allow_trial,total_minimum,total_maximum,max_decline_attempts,manual_approval_all,manual_approval_recur,manual_approval_country,manual_approval_group,manual_approval_amount,manual_approval_currency,default_when_currency,default_when_country,default_when_group,default_when_amount,allowed_currencies,email_template,excluded_products,required_groups,graphic_url</update>
|
|
|
|
<delete>id,site_id,name,description,active,checkout_plugin,plugin_data,allow_recurring,allow_new,allow_trial,total_minimum,total_maximum,max_decline_attempts,manual_approval_all,manual_approval_recur,manual_approval_country,manual_approval_group,manual_approval_amount,manual_approval_currency,default_when_currency,default_when_country,default_when_group,default_when_amount,allowed_currencies,excluded_products,required_groups</delete>
|
|
|
|
<view>id,site_id,name,description,active,checkout_plugin,plugin_data,allow_recurring,allow_new,allow_trial,total_minimum,total_maximum,max_decline_attempts,manual_approval_all,manual_approval_recur,manual_approval_country,manual_approval_group,manual_approval_amount,manual_approval_currency,default_when_currency,default_when_country,default_when_group,default_when_amount,allowed_currencies,email_template,excluded_products,required_groups,graphic_url</view>
|
|
|
|
<search>id,site_id,name,description,active,checkout_plugin,plugin_data,allow_recurring,allow_new,allow_trial,total_minimum,total_maximum,max_decline_attempts,manual_approval_all,manual_approval_recur,manual_approval_country,manual_approval_group,manual_approval_amount,manual_approval_currency,default_when_currency,default_when_country,default_when_group,default_when_amount,allowed_currencies,email_template,excluded_products,required_groups</search>
|
|
|
|
</method>
|
|
|
|
|
|
|
|
<!-- Method triggers -->
|
|
|
|
<trigger></trigger>
|
|
|
|
|
|
|
|
<!-- Template page display titles -->
|
|
|
|
<title></title>
|
|
|
|
|
|
|
|
<!-- Template helpers -->
|
|
|
|
<tpl>
|
|
|
|
<search_show>
|
|
|
|
<checkbox>
|
|
|
|
<field>id</field>
|
|
|
|
<type>checkbox</type>
|
|
|
|
<width>25px</width>
|
|
|
|
</checkbox>
|
|
|
|
<name>
|
|
|
|
<field>name</field>
|
|
|
|
</name>
|
|
|
|
<checkout_plugin>
|
|
|
|
<field>checkout_plugin</field>
|
|
|
|
</checkout_plugin>
|
|
|
|
<icon>
|
|
|
|
<field>active</field>
|
|
|
|
<type>bool_icon</type>
|
|
|
|
<width>20px</width>
|
|
|
|
</icon>
|
|
|
|
</search_show>
|
|
|
|
</tpl>
|
2008-11-26 22:50:40 +00:00
|
|
|
</construct>
|