ERXStatsSummary Class Reference

Inherits er::extensions::components::ERXStatelessComponent.

Collaboration diagram for ERXStatsSummary:

Collaboration graph
[legend]

List of all members.

Public Member Functions

long durationForStatsType ()
 ERXStatsSummary (WOContext context)
boolean hasStats ()
void reset ()
NSDictionary statsByType ()
NSArray statsTypes ()

Public Attributes

String currentType

Private Attributes

NSDictionary _statsByType
NSArray _statsTypes


Detailed Description

A component to display a summary of collected stats.
Author:
Travis Cripps

Constructor & Destructor Documentation

ERXStatsSummary ( WOContext  context  ) 


Member Function Documentation

long durationForStatsType (  ) 

Gets the duration for the current stats type.

Returns:
the duration

boolean hasStats (  ) 

Determines if there are stats to display.

Returns:
true if there are stats

void reset (  ) 

Reimplemented from ERXStatelessComponent.

NSDictionary statsByType (  ) 

Gets the aggregate stats grouped by event type.

Returns:
the aggregate stats

NSArray statsTypes (  ) 

Gets the array of stats event types.

Returns:
the event types


Member Data Documentation

NSDictionary _statsByType [private]

NSArray _statsTypes [private]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:17 2012 for Project Wonder by  doxygen 1.5.8