]> git.mxchange.org Git - mailer.git/blobdiff - inc/filter/forced_filter.php
Admin menu has now a JavaScript "effect":
[mailer.git] / inc / filter / forced_filter.php
index 4076911375bfd11fe50b4c9187a5e5da1a05883e..a2bb805336a398044820cb70b211116ddbae0ec1 100644 (file)
@@ -17,7 +17,7 @@
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * For more information visit: 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 *
@@ -61,5 +61,23 @@ function FILTER_FORCED_AD_TYPE_DEFAULTS ($data) {
        return $data;
 }
 
+// Filter for collecting data for the member table
+function FILTER_FORCED_POPUP_TABLE_DATA ($filterData) {
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
+       // Is this the right filter?
+       if ($filterData['earning_provider'] == 'FORCED_POPUP') {
+               // Set group
+               $filterData['earning_group'] = 'POPUP';
+
+               // Get max/min/count of all popups
+               // @TODO This part is unfinished
+               //die(__FUNCTION__.':OK!');
+       } // END - if
+
+       // Return filter data array
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
+       return $filterData;
+}
+
 // [EOF]
 ?>