]> git.mxchange.org Git - mailer.git/blobdiff - templates/xml/admin_list_data_template.xml
Some major rewrites + ext-network continued:
[mailer.git] / templates / xml / admin_list_data_template.xml
index 16f5d5856329a94a44641409b1e2b4fa400e1b3a..2de15d8bfc0697ace90724d4cc6fd4a26faa1b0d 100644 (file)
@@ -6,9 +6,9 @@ of it is not yet implemented (e.g. the table join part).
 @author                Roland Haeder <webmaster@mxchange.org>
 @version       0.2.1-FINAL
 @copyright     (c) 2003 - 2009 by Roland Haeder
-@copyright     (c) 2009 - 2011 by Mailer Developer Team
+@copyright     (c) 2009 - 2012 by Mailer Developer Team
 @license       GNU GPL 2.0 or any newer version
-@link          http://www.mxchange.org
+@link          http://mxchange.org
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -17,24 +17,22 @@ the Free Software Foundation; either version 2 of the License, or
 
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
-MA  02110-1301  USA
+MA 02110-1301 USA
 //-->
 <admin-list-data>
        <!--
        Call-back function, the extracted data from this XML will then be re-read
        from that function. The most common function this XML uses is
-       adminListEntries() so mostly you can leave this alone unless you have JOINs.
-       Use adminListJoinEntries for JOINs:
-       //-->
-       <callback-function type="string" value="adminListEntries" />
-       <!--
+       doGenericListEntries() so mostly you can leave this alone unless you have JOINs.
+       Use doGenericJoinedListEntries for JOINs:
        //-->
+       <callback-function type="string" value="doGenericJoinedListEntries" />
        <!--
        Now we need information which template should be loaded and which functions
        shall be called back. So lets start with the main list template. This mostly
@@ -85,7 +83,7 @@ MA  02110-1301  USA
                                <!--
                                Condition how these two tables should be joined.
                                //-->
-                               <join-on-condition type="string" conditiion="EQUALS" />
+                               <join-on-condition type="string" condition="EQUALS" />
                                <!--
                                And the corresponding right part.
                                //-->
@@ -117,11 +115,7 @@ MA  02110-1301  USA
                        - condition = look-up condition
                        - look-for  = What to look for
                        //-->
-                       <where-select-from-list-entry type="string" table="dt" value="userid" condition="EQUALS" look-for="$userid" />
-                       <!--
-                       How the next described column shall be logical linked to the above.
-                       //-->
-                       <where-condition type="string" condition="AND" />
+                       <where-select-from-list-entry type="string" table="dt" value="userid" condition="EQUALS" look-for="$content[userid]" />
                        <!--
                        The second column to perform the WHERE statement on. NOT-EQUALS is an alias for '!='.
                        //-->
@@ -132,7 +126,7 @@ MA  02110-1301  USA
                //-->
                <order-by-list>
                        <!--
-                       A isingle entry to perform the ORDER BY statement on, see above WHERE entry for details.
+                       A single entry to perform the ORDER BY statement on, see above WHERE entry for details.
                        //-->
                        <order-by-list-entry type="string" table="dt" order="userid" value="ASC" />
                        <!--
@@ -180,4 +174,15 @@ MA  02110-1301  USA
                        </callback-extra-parameter-list>
                </column-callback-list-entry>
        </column-callback-list>
+       <!--
+       Extra parameters (2nd, 3rd, ...) for above call-back functions. If an array
+       is provided, we have more than two parameters to handle over to the
+       call-back function. See function handleExtraValues() for details.
+       //-->
+       <extra-parameter-list>
+       </extra-parameter-list>
+       <!--
+       How the named column shall be logical linked to the above.
+       //-->
+       <where-condition type="string" name="status" condition="AND" />
 </admin-list-data>