]> git.mxchange.org Git - mailer.git/commitdiff
Better 'translate' these columns
authorRoland Häder <roland@mxchange.org>
Sat, 22 Jun 2013 23:01:07 +0000 (23:01 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 22 Jun 2013 23:01:07 +0000 (23:01 +0000)
templates/xml/admin/admin_list_network_api.xml

index 8f7bdd7ae8ae3853acefd16f35cda91e97dce6d2..45c408eac9df603173ce0b4bd51ff7e7709248ed 100644 (file)
@@ -104,7 +104,24 @@ MA  02110-1301  USA
                        <!--
                        The actual data, again.
                        //-->
-                       <column-callback-data type="string" value="network_cache_admin_id" callback="generateAdminLink" />
+                       <column-callback-data type="string" value="network_cache_added" callback="generateDateTime" />
+                       <!--
+                       More parameters, remember that the first parameter is always given
+                       and that it is the data from column.
+                       //-->
+                       <callback-extra-parameter-list>
+                               <!--
+                               A single parameter, 'type' can be one of 'float', 'int',
+                               'bool', 'string'. 'array' is not yet supported.
+                               //-->
+                               <callback-extra-parameter-list-entry type="int" column="network_cache_added" value="2" />
+                       </callback-extra-parameter-list>
+               </column-callback-list-entry>
+               <column-callback-list-entry>
+                       <column-callback-data type="string" value="network_cache_updated" callback="generateDateTime" />
+                       <callback-extra-parameter-list>
+                               <callback-extra-parameter-list-entry type="int" column="network_cache_updated" value="2" />
+                       </callback-extra-parameter-list>
                </column-callback-list-entry>
        </column-callback-list>
        <!--