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 8f7bdd7..45c408e 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>
        <!--