[TEP-COMMIT] [CVS admin] introduce new statistics class for statistic modules

anonymous-OfajU3CKLf1/[email protected] 22 Jul 2004 23:09:33 -0000
Newsgroups gmane.comp.web.oscommerce.cvs
Message-ID <[email protected]>
Commit in admin/admin/includes/classes on MAIN

statistics.php +54 added 1.1

introduce new statistics class for statistic modules

----------

admin /admin /includes /classes

statistics.php added at 1.1

diff -N statistics.php
--- /dev/null Fri Jul 23 01:09:32 2004
+++ /tmp/cvsAAAYFaWl4 Fri Jul 23 01:09:33 2004
@@ -0,0 +1,54 @@

+<?php
+/*
+ $Id$
+
+ osCommerce, Open Source E-Commerce Solutions
+ http://www.oscommerce.com
+
+ Copyright (c) 2004 osCommerce
+
+ Released under the GNU General Public License
+*/
+
+ class osC_Statistics {
+
+// Private variables
+
+ var $_icon, $_title, $_header, $_data, $_resultset;
+
+// Public methods
+
+ function &getIcon() {
+ return $this->_icon;
+ }
+
+ function &getTitle() {
+ return $this->_title;
+ }
+
+ function &getHeader() {
+ return $this->_header;
+ }
+
+ function &getData() {
+ return $this->_data;
+ }
+
+ function activate() {
+ $this->_setHeader();
+ $this->_setData();
+ }
+
+ function displayBatchLinksTotal($text) {
+ return $this->_resultset->displayBatchLinksTotal($text);
+ }
+
+ function displayBatchLinksPullDown($batch_keyword = 'page', $parameters = '') {
+ return $this->_resultset->displayBatchLinksPullDown($batch_keyword, $parameters);
+ }
+
+ function isBatchQuery() {
+ return $this->_resultset->isBatchQuery();
+ }
+ }
+?>

CVSspam 0.2.8

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click