getCounterForDisplay()
getData()
getStatsTypes()
_getBasicDataQuery()
_getDb()
_getStatsModel()
getCounterForDisplay(string $statsType, integer $counter) : mixed
string
integer
mixed
getData(integer $startDate, integer $endDate) : array
integer
integer
array
[subContentType => [ [date => total], [date => total] ] ]getStatsTypes() : array
array
[ stats_type => stats type phrase, ... ]_getBasicDataQuery(string $tableName, string $dateField, string $extraWhere, string $calcFunction) : string
string
Name of table from which to select data
string
Name of date field
string
Extra SQL conditions
string
SQL calculation function (COUNT(*), SUM(field_name)...)
string
_getDb() : \Zend_Db_Adapter_Abstract
\Zend_Db_Adapter_Abstract