A lot has been rewritten, ext-teams added, ext-forced continued:
[mailer.git] / templates / xml / admin / admin_add_do_forced_ads.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!--
3 This template provides meta data for adding forced-ads to the database.
4
5 @author         Roland Haeder <webmaster@mxchange.org>
6 @version        0.2.1-FINAL
7 @copyright      (c) 2003 - 2009 by Roland Haeder
8 @copyright      (c) 2009 - 2011 by Mailer Developer Team
9 @license        GNU GPL 2.0 or any newer version
10 @link           http://www.mxchange.org
11
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.
16
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.
21
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,
25 MA  02110-1301  USA
26 //-->
27 <admin-entry-meta-data>
28         <!--
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.
31         //-->
32         <callback-function type="string" value="adminAddEntries" />
33         <!--
34         Name of the database table where the entries should be read/write from/to.
35         //-->
36         <database-table name="" type="string" value="forced_ads" />
37         <!--
38         The following three lists must have the same count of list entries, else an
39         error may occur.
40         //-->
41         <!--
42         And all column names to read/write, leave this list tag empty for all (*).
43         //-->
44         <database-column-list>
45                 <database-column-list-entry name="" type="string" value="forced_ads_click_url" />
46                 <database-column-list-entry name="" type="string" value="forced_ads_alt_text" />
47                 <database-column-list-entry name="" type="string" value="forced_ads_framebreaker" />
48                 <database-column-list-entry name="forced_ads_reload_lock" type="string" value="forced_ads_reload_lock" />
49                 <database-column-list-entry name="forced_ads_min_stay" type="string" value="forced_ads_min_stay" />
50                 <database-column-list-entry name="" type="string" value="forced_ads_type" />
51                 <database-column-list-entry name="" type="string" value="forced_ads_width" />
52                 <database-column-list-entry name="" type="string" value="forced_ads_height" />
53                 <database-column-list-entry name="" type="string" value="forced_ads_ad_url" />
54         </database-column-list>
55         <!--
56         "Filter" call-back functions to call back for piping the fetched data
57         through (can be left empty, no call-back function will be called)
58         //-->
59         <callback-function-list>
60                 <callback-function-list-entry name="" type="string" value="" />
61                 <callback-function-list-entry name="" type="string" value="" />
62                 <callback-function-list-entry name="" type="string" value="" />
63                 <callback-function-list-entry name="forced_ads_reload_lock" type="string" value="createEpocheTimeFromSelections" />
64                 <callback-function-list-entry name="forced_ads_min_stay" type="string" value="createEpocheTimeFromSelections" />
65                 <callback-function-list-entry name="" type="string" value="" />
66                 <callback-function-list-entry name="" type="string" value="bigintval" />
67                 <callback-function-list-entry name="" type="string" value="bigintval" />
68                 <callback-function-list-entry name="" type="string" value="" />
69         </callback-function-list>
70         <!--
71         Extra parameters (2nd, 3rd, ...) for above call-back functions. If an array
72         is provided, we have more than two parameters to handle over to the
73         call-back function. See function handleExtraValues() for details.
74         //-->
75         <extra-parameter-list>
76                 <!--
77                 Dummy entries
78                 //-->
79                 <extra-parameter-list-entry name="" type="string" value="" />
80                 <extra-parameter-list-entry name="" type="string" value="" />
81                 <extra-parameter-list-entry name="" type="string" value="" />
82                 <!--
83                 Entry for forced_ads_reload_lock
84                 //-->
85                 <extra-parameter-list-entry name="" type="array" value="forced_ads_reload_lock">
86                         <!--
87                         Only one more parameter which is a special type 'callback'
88                         //-->
89                         <extra-parameter-forced-ads-reload-locklist>
90                                 <!--
91                                 createEpocheTimeFromSelections() requires the whole $_POST
92                                 array as second parameter, getPostArray() wraps this.
93                                 //-->
94                                 <extra-parameter-forced-ads-reload-locklist-entry name="" type="callback" value="postRequestArray" />
95                         </extra-parameter-forced-ads-reload-locklist>
96                 </extra-parameter-list-entry>
97                 <!--
98                 Entry for forced_ads_reload_lock
99                 //-->
100                 <extra-parameter-list-entry name="" type="array" value="forced_ads_min_stay">
101                         <!--
102                         Only one more parameter which is a special type 'callback'
103                         //-->
104                         <extra-parameter-forced-ads-min-stay-list>
105                                 <!--
106                                 createEpocheTimeFromSelections() requires the whole $_POST
107                                 array as second parameter, getPostArray() wraps this.
108                                 //-->
109                                 <extra-parameter-forced-ads-min-stay-list-entry name="" type="callback" value="postRequestArray" />
110                         </extra-parameter-forced-ads-min-stay-list>
111                 </extra-parameter-list-entry>
112                 <!--
113                 More dummy enries
114                 //-->
115                 <extra-parameter-list-entry name="" type="string" value="" />
116                 <extra-parameter-list-entry name="" type="string" value="" />
117                 <extra-parameter-list-entry name="" type="string" value="" />
118                 <extra-parameter-list-entry name="" type="string" value="" />
119         </extra-parameter-list>
120 </admin-entry-meta-data>