Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages | Examples

tx_commerce_statistic Class Reference

List of all members.

Public Member Functions

 init ()
 menuConfig ()
 main ()
 printContent ()
 moduleContent ()
 completeAggregation ()
 incrementalAggregation ()
 doSalesAggregation ($starttime, $endtime)
 doSalesUpdateAggregation ($starttime, $endtime)
 doClientAggregation ($starttime, $endtime)
 showStatistics ()

Public Attributes

 $pageinfo
 $order_pid

Member Function Documentation

tx_commerce_statistic::completeAggregation  ) 
 

Generates an initialize the complete Aggregation

Returns:
String Content to show in BE

tx_commerce_statistic::doClientAggregation starttime,
endtime
 

Aggregate and Insert the New Users (Registrations in fe_user)) per hour in the timespare from $starttime to $enttime

Parameters:
integer $starttime Timestamp of timecode to start the aggregation
integer $endtime Timestamp of timecode to end the aggregation
Returns:
boolean result of aggregation

tx_commerce_statistic::doSalesAggregation starttime,
endtime
 

Aggregate ans Insert the Salesfigures per Hour in the timespare from $starttime to $enttime

Parameters:
integer $starttime Timestamp of timecode to start the aggregation
integer $endtime Timestamp of timecode to end the aggregation
Returns:
boolean result of aggregation

tx_commerce_statistic::doSalesUpdateAggregation starttime,
endtime
 

Aggregate and Update the Salesfigures per Hour in the timespare from $starttime to $enttime

Parameters:
integer $starttime Timestamp of timecode to start the aggregation
integer $endtime Timestamp of timecode to end the aggregation
Returns:
boolean result of aggregation

tx_commerce_statistic::incrementalAggregation  ) 
 

Generates an initialize the complete Aggregation

Returns:
String Content to show in BE

tx_commerce_statistic::init  ) 
 

Find a better solution for the fist array element

If we get an id via GP use this, else use the default id

tx_commerce_statistic::main  ) 
 

Main function of the module. Write the content to $this->content

tx_commerce_statistic::menuConfig  ) 
 

Adds items to the ->MOD_MENU array. Used for the function menu selector.

tx_commerce_statistic::moduleContent  ) 
 

Generates the module content

tx_commerce_statistic::printContent  ) 
 

Prints out the module HTML

tx_commerce_statistic::showStatistics  ) 
 

Generate the Statistictables

Returns:
string statistictables in HTML


Member Data Documentation

tx_commerce_statistic::$order_pid
 

tx_commerce_statistic::$pageinfo
 


The documentation for this class was generated from the following file:
Generated on Sun Jan 13 23:12:26 2008 for tx_commerce by  doxygen 1.4.4