1 <?xml version="1.0" encoding="UTF-8" ?>
3 This template provides meta data for adding forced-campaigns to the database.
5 @author Roland Haeder <webmaster@mxchange.org>
7 @copyright (c) 2003 - 2009 by Roland Haeder
8 @copyright (c) 2009 - 2012 by Mailer Developer Team
9 @license GNU GPL 2.0 or any newer version
10 @link http://mxchange.org
12 This program is free software; you can redistribute it and/or modify
13 it under the terms of the GNU General Public License as published by
14 the Free Software Foundation; either version 2 of the License, or
15 (at your option) any later version.
17 This program is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 GNU General Public License for more details.
22 You should have received a copy of the GNU General Public License
23 along with this program; if not, write to the Free Software
24 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
27 <admin-entry-meta-data>
29 Call-back function which should all following parameter handled over
30 to. This will always be type of string but we like homogene XMLs.
32 <callback-function type="string" value="adminAddEntries" />
34 Name of the database table where the entries should be read/write from/to.
36 <database-table name="" type="string" value="forced_campaigns" />
38 The following three lists must have the same count of list entries, else an
42 And all column names to read/write, leave this list tag empty for all (*).
44 <database-column-list>
45 <database-column-list-entry name="" type="string" table="" value="forced_campaign_ordered_clicks" alias="" function="" />
46 <database-column-list-entry name="" type="string" table="" value="forced_campaign_reload_lock" alias="" function="" />
47 <database-column-list-entry name="" type="string" table="" value="forced_campaign_minimum_stay" alias="" function="" />
48 <database-column-list-entry name="" type="string" table="" value="forced_ads_id" alias="" function="" />
49 <database-column-list-entry name="" type="string" table="" value="forced_campaign_userid" alias="" function="" />
50 <database-column-list-entry name="" type="string" table="" value="forced_costs_id" alias="" function="" />
51 </database-column-list>
53 "Filter" call-back functions to call back for piping the fetched data
54 through (can be left empty, no call-back function will be called)
56 <callback-function-list>
57 <callback-function-list-entry name="" type="string" value="convertCommaToDot" />
58 <callback-function-list-entry name="" type="string" value="bigintval" />
59 <callback-function-list-entry name="" type="string" value="bigintval" />
60 <callback-function-list-entry name="" type="string" value="bigintval" />
61 <callback-function-list-entry name="" type="string" value="convertZeroToNull" />
62 <callback-function-list-entry name="" type="string" value="bigintval" />
63 </callback-function-list>
65 Extra parameters (2nd, 3rd, ...) for above call-back functions. If an array
66 is provided, we have more than two parameters to handle over to the
67 call-back function. See function handleExtraValues() for details.
69 <extra-parameter-list>
70 </extra-parameter-list>
72 Columns for converting single time selections into a timestamp
75 <time-columns-list-entry name="" type="string" value="forced_campaign_reload_lock" />
77 </admin-entry-meta-data>