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/campaign/campaign_construct.xml
2011-05-03 09:49:01 +10:00

300 lines
8.7 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1" ?>
<construct>
<!-- Module name -->
<module>campaign</module>
<!-- Module supporting database table -->
<table>campaign</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>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>
</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>
<pdf_width>30</pdf_width>
<type>L</type>
</status>
<date_start>
<type>C(16)</type>
<convert>date</convert>
</date_start>
<date_expire>
<type>C(16)</type>
<convert>date</convert>
</date_expire>
<name>
<display>Name</display>
<type>C(128)</type>
<min_len>1</min_len>
<max_len>128</max_len>
<validate>any</validate>
<unique>1</unique>
<pdf_width>30</pdf_width>
</name>
<description>
<type>X2</type>
</description>
<budget>
<type>F</type>
<pdf_width>30</pdf_width>
</budget>
<target_conversion>
<type>F</type>
<pdf_width>30</pdf_width>
</target_conversion>
<file1>
<type>C(128)</type>
<min_len>1</min_len>
<max_len>128</max_len>
<validate>any</validate>
</file1>
<type1>
<type>C(128)</type>
</type1>
<served1>
<type>I4</type>
</served1>
<clicked1>
<type>I4</type>
</clicked1>
<file2>
<type>C(128)</type>
</file2>
<type2>
<type>C(128)</type>
</type2>
<served2>
<type>I4</type>
</served2>
<clicked2>
<type>I4</type>
</clicked2>
<file3>
<type>C(128)</type>
</file3>
<type3>
<type>C(128)</type>
</type3>
<served3>
<type>I4</type>
</served3>
<clicked3>
<type>I4</type>
</clicked3>
<file4>
<type>C(128)</type>
</file4>
<type4>
<type>C(128)</type>
</type4>
<served4>
<type>I4</type>
</served4>
<clicked4>
<type>I4</type>
</clicked4>
<file5>
<type>C(128)</type>
</file5>
<type5>
<type>C(128)</type>
</type5>
<served5>
<type>I4</type>
</served5>
<clicked5>
<type>I4</type>
</clicked5>
<file6>
<type>C(128)</type>
</file6>
<type6>
<type>C(128)</type>
</type6>
<served6>
<type>I4</type>
</served6>
<clicked6>
<type>I4</type>
</clicked6>
<file7>
<type>C(128)</type>
</file7>
<type7>
<type>C(128)</type>
</type7>
<served7>
<type>I4</type>
</served7>
<clicked7>
<type>I4</type>
</clicked7>
<file8>
<type>C(128)</type>
</file8>
<type8>
<type>C(128)</type>
</type8>
<served8>
<type>I4</type>
</served8>
<clicked8>
<type>I4</type>
</clicked8>
<file9>
<type>C(128)</type>
</file9>
<type9>
<type>C(128)</type>
</type9>
<served9>
<type>I4</type>
</served9>
<clicked9>
<type>I4</type>
</clicked9>
<file10>
<type>C(128)</type>
</file10>
<type10>
<type>C(128)</type>
</type10>
<served10>
<type>I4</type>
</served10>
<clicked10>
<type>I4</type>
</clicked10>
<file11>
<type>C(128)</type>
</file11>
<type11>
<type>C(128)</type>
</type11>
<served11>
<type>I4</type>
</served11>
<clicked11>
<type>I4</type>
</clicked11>
<file12>
<type>C(128)</type>
</file12>
<type12>
<type>C(128)</type>
</type12>
<served12>
<type>I4</type>
</served12>
<clicked12>
<type>I4</type>
</clicked12>
<last_served>
<type>I4</type>
</last_served>
<url>
<type>C(128)</type>
</url>
</field>
<!-- Methods for this class, and the fields they have access to, if applicable -->
<method>
<add>date_start,date_expire,status,name,description,budget,url</add>
<update>id,site_id,date_orig,date_last,date_start,date_expire,status,name,description,budget,target_conversion,file1,type1,served1,clicked1,file2,type2,served2,clicked2,file3,type3,served3,clicked3,file4,type4,served4,clicked4,file5,type5,served5,clicked5,file6,type6,served6,clicked6,file7,type7,served7,clicked7,file8,type8,served8,clicked8,file9,type9,served9,clicked9,file10,type10,served10,clicked10,file11,type11,served11,clicked11,file12,type12,served12,clicked12,url</update>
<delete>id,site_id,date_orig,date_last,date_start,date_expire,status,name,description,budget,target_conversion,file1,type1,served1,clicked1,file2,type2,served2,clicked2,file3,type3,served3,clicked3,file4,type4,served4,clicked4,file5,type5,served5,clicked5,file6,type6,served6,clicked6,file7,type7,served7,clicked7,file8,type8,served8,clicked8,file9,type9,served9,clicked9,file10,type10,served10,clicked10,file11,type11,served11,clicked11,file12,type12,served12,clicked12,url</delete>
<view>id,site_id,date_orig,date_last,date_start,date_expire,status,name,description,budget,target_conversion,file1,type1,served1,clicked1,file2,type2,served2,clicked2,file3,type3,served3,clicked3,file4,type4,served4,clicked4,file5,type5,served5,clicked5,file6,type6,served6,clicked6,file7,type7,served7,clicked7,file8,type8,served8,clicked8,file9,type9,served9,clicked9,file10,type10,served10,clicked10,file11,type11,served11,clicked11,file12,type12,served12,clicked12,url</view>
<search>id,site_id,date_orig,date_last,date_start,date_expire,status,name,description,budget,target_conversion,file1,type1,served1,clicked1,file2,type2,served2,clicked2,file3,type3,served3,clicked3,file4,type4,served4,clicked4,file5,type5,served5,clicked5,file6,type6,served6,clicked6,file7,type7,served7,clicked7,file8,type8,served8,clicked8,file9,type9,served9,clicked9,file10,type10,served10,clicked10,file11,type11,served11,clicked11,file12,type12,served12,clicked12,url</search>
<export_excel>status,name,description,budget,target_conversion,file1,type1,served1,clicked1,file2,type2,served2,clicked2,file3,type3,served3,clicked3,file4,type4,served4,clicked4,file5,type5,served5,clicked5,file6,type6,served6,clicked6,file7,type7,served7,clicked7,file8,type8,served8,clicked8,file9,type9,served9,clicked9,file10,type10,served10,clicked10,file11,type11,served11,clicked11,file12,type12,served12,clicked12</export_excel>
<export_xml>status,name,description,budget,target_conversion,file1,type1,served1,clicked1,file2,type2,served2,clicked2,file3,type3,served3,clicked3,file4,type4,served4,clicked4,file5,type5,served5,clicked5,file6,type6,served6,clicked6,file7,type7,served7,clicked7,file8,type8,served8,clicked8,file9,type9,served9,clicked9,file10,type10,served10,clicked10,file11,type11,served11,clicked11,file12,type12,served12,clicked12</export_xml>
<export_csv>status,name,description,budget,target_conversion,file1,type1,served1,clicked1,file2,type2,served2,clicked2,file3,type3,served3,clicked3,file4,type4,served4,clicked4,file5,type5,served5,clicked5,file6,type6,served6,clicked6,file7,type7,served7,clicked7,file8,type8,served8,clicked8,file9,type9,served9,clicked9,file10,type10,served10,clicked10,file11,type11,served11,clicked11,file12,type12,served12,clicked12</export_csv>
<export_tab>status,name,description,budget,target_conversion,file1,type1,served1,clicked1,file2,type2,served2,clicked2,file3,type3,served3,clicked3,file4,type4,served4,clicked4,file5,type5,served5,clicked5,file6,type6,served6,clicked6,file7,type7,served7,clicked7,file8,type8,served8,clicked8,file9,type9,served9,clicked9,file10,type10,served10,clicked10,file11,type11,served11,clicked11,file12,type12,served12,clicked12</export_tab>
</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>
<cost>
<field>cost</field>
</cost>
<impressions>
<field>impressions</field>
</impressions>
<clicks>
<field>clicks</field>
</clicks>
<cpc>
<field>cpc</field>
</cpc>
<cpi>
<field>cpi</field>
</cpi>
<conversion>
<field>conversion</field>
</conversion>
<cost_conv>
<field>cost_conv</field>
</cost_conv>
<roi_s>
<field>roi_s</field>
</roi_s>
<avg_sale_s>
<field>avg_sale_s</field>
</avg_sale_s>
<revenue>
<field>revenue</field>
</revenue>
</search_show>
</tpl>
</construct>