This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/modules/affiliate/affiliate_construct.xml

156 lines
5.9 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1" ?>
<construct>
2009-08-03 04:10:16 +00:00
<!-- Module name -->
<module>affiliate</module>
<!-- Module supporting database table -->
<table>affiliate</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>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>0</version>
<!-- Database indexes -->
<index>
<account>account_id</account>
<parent>parent_affiliate_id</parent>
</index>
<!-- Database fields -->
<field>
<!-- Record ID -->
<id>
<index>1</index>
<type>C(32)</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>
<account_id>
<type>I8</type>
<validate>any</validate>
</account_id>
<avail_campaign_id>
<type>X2</type>
<convert>array</convert>
</avail_campaign_id>
<affiliate_plugin>
<type>C(32)</type>
</affiliate_plugin>
<parent_affiliate_id>
<type>C(16)</type>
<asso_table>affiliate</asso_table>
<asso_field>id</asso_field>
</parent_affiliate_id>
<max_tiers>
<type>I4</type>
</max_tiers>
<commission_minimum>
<type>F</type>
</commission_minimum>
<new_commission_type>
<type>L</type>
</new_commission_type>
<new_commission_rate>
<type>X2</type>
<convert>array</convert>
</new_commission_rate>
<recurr_commission_type>
<type>L</type>
</recurr_commission_type>
<recurr_commission_rate>
<type>X2</type>
<convert>array</convert>
</recurr_commission_rate>
<recurr_max_commission_periods>
<type>I4</type>
</recurr_max_commission_periods>
<plugin_data>
<type>X2</type>
<convert>array</convert>
</plugin_data>
</field>
<!-- Methods for this class, and the fields they have access to, if applicable -->
<method>
<add>id,site_id,date_orig,date_last,status,account_id,avail_campaign_id,affiliate_plugin,parent_affiliate_id,max_tiers,commission_minimum,new_commission_type,new_commission_rate,recurr_commission_type,recurr_commission_rate,recurr_max_commission_periods,plugin_data</add>
<update>id,site_id,date_orig,date_last,status,account_id,avail_campaign_id,affiliate_plugin,parent_affiliate_id,max_tiers,commission_minimum,new_commission_type,new_commission_rate,recurr_commission_type,recurr_commission_rate,recurr_max_commission_periods,plugin_data</update>
<delete>id,site_id,date_orig,date_last,status,account_id,avail_campaign_id,affiliate_plugin,parent_affiliate_id,max_tiers,commission_minimum,new_commission_type,new_commission_rate,recurr_commission_type,recurr_commission_rate,recurr_max_commission_periods,plugin_data</delete>
<view>id,site_id,date_orig,date_last,status,account_id,avail_campaign_id,affiliate_plugin,parent_affiliate_id,max_tiers,commission_minimum,new_commission_type,new_commission_rate,recurr_commission_type,recurr_commission_rate,recurr_max_commission_periods,plugin_data</view>
<search>id,site_id,date_orig,date_last,status,account_id,avail_campaign_id,affiliate_plugin,parent_affiliate_id,max_tiers,commission_minimum,new_commission_type,new_commission_rate,recurr_commission_type,recurr_commission_rate,recurr_max_commission_periods,plugin_data</search>
<user_update>date_last,affiliate_plugin,plugin_data</user_update>
<search_export>id,site_id,date_orig,date_last,status,account_id,avail_campaign_id,affiliate_plugin,parent_affiliate_id,max_tiers,commission_minimum,new_commission_type,new_commission_rate,recurr_commission_type,recurr_commission_rate,recurr_max_commission_periods</search_export>
<export_excel>id,date_orig,date_last,status,account_id,avail_campaign_id,affiliate_plugin,parent_affiliate_id,max_tiers,commission_minimum,new_commission_type,new_commission_rate,recurr_commission_type,recurr_commission_rate,recurr_max_commission_periods</export_excel>
<export_pdf>id,date_orig,date_last,status,account_id,affiliate_plugin,parent_affiliate_id,max_tiers,commission_minimum,new_commission_type,recurr_commission_type,recurr_max_commission_periods</export_pdf>
<export_csv>id,date_orig,date_last,status,account_id,affiliate_plugin,parent_affiliate_id,max_tiers,commission_minimum,new_commission_type,recurr_commission_type,recurr_max_commission_periods</export_csv>
<export_tab>id,date_orig,date_last,status,account_id,affiliate_plugin,parent_affiliate_id,max_tiers,commission_minimum,new_commission_type,recurr_commission_type,recurr_max_commission_periods</export_tab>
<export_xml>id,date_orig,date_last,status,account_id,affiliate_plugin,parent_affiliate_id,max_tiers,commission_minimum,new_commission_type,recurr_commission_type,recurr_max_commission_periods</export_xml>
</method>
<!-- Method triggers -->
<trigger></trigger>
<!-- Template page display titles -->
<title>
<new_tier_iframe>Commissions New Charges</new_tier_iframe>
<recurr_tier_iframe>Commissions Recurring Charges</recurr_tier_iframe>
</title>
<!-- Template helpers -->
<tpl>
<search_show>
<checkbox>
<field>id</field>
<type>checkbox</type>
<width>25px</width>
</checkbox>
<id>
<field>id</field>
</id>
<sessions>
<field>sessions</field>
</sessions>
<accounts>
<field>accounts</field>
</accounts>
<invoices>
<field>invoices</field>
</invoices>
<commissions>
<field>commissions</field>
</commissions>
<status>
<field>status</field>
<width>20px</width>
</status>
<icon>
</icon>
</search_show>
</tpl>
</construct>