
Public Member Functions | |
| addPageview () | |
| expungeReferers () | |
| getContentOverview ($pParamHash=NULL) | |
| getContentStats () | |
| getContentTypeChartData ($pContentTypeGuid=NULL) | |
| getPageviewChartData ($pDays=7) | |
| getRefererList (&$pListHash) | |
| getSiteStats () | |
| getUsageChartData () | |
| registrationStats ($pPeriod) | |
| Statistics () | |
| storeReferer () | |
Definition at line 13 of file Statistics.php.
| Statistics::addPageview | ( | ) |
| Statistics::expungeReferers | ( | ) |
expungeReferers will remove all referers unconditionally
public
Definition at line 61 of file Statistics.php.
References mDb.
| Statistics::getContentOverview | ( | $ | pParamHash = NULL |
) |
getContentOverview will get a simple overview based on stats available available in liberty
| array | $pParamHash public |
Definition at line 177 of file Statistics.php.
References $gLibertySystem, $pParamHash, $query, $ret, and mDb.
| Statistics::getContentStats | ( | ) |
getContentStats will check all available content for the method Object::getStats() and will call and include the data
public
Definition at line 200 of file Statistics.php.
References $gLibertySystem, $guid, $ret, and $type.
| Statistics::getContentTypeChartData | ( | $ | pContentTypeGuid = NULL |
) |
getContentTypeChartData will fetch all data needed to create a graph with PHPlot
| array | $pContentTypeGuid specify the content_type_guid you want to create a graph for public |
Definition at line 287 of file Statistics.php.
References $contentType, $gLibertySystem, $i, $query, $res, $result, $ret, mDb, and title.
| Statistics::getPageviewChartData | ( | $ | pDays = 7 |
) |
getPageviewChartData will fetch all data needed to create a graph with PHPlot
| numeric | $pDays Number of days we will use to create a graph public |
Definition at line 223 of file Statistics.php.
References $data, $i, $now, $query, $res, $result, $ret, date, and mDb.
| Statistics::getRefererList | ( | &$ | pListHash | ) |
getRefererList gets a list of referers
| array | $pListHash public |
Definition at line 29 of file Statistics.php.
References $query, $ret, mDb, BitBase::postGetList(), and LibertyContent::prepGetList().
Here is the call graph for this function:

| Statistics::getSiteStats | ( | ) |
getSiteStats will get a brief overview over the site
public
Definition at line 158 of file Statistics.php.
| Statistics::getUsageChartData | ( | ) |
getUsageChartData will fetch all data needed to create a graph with PHPlot
public
Definition at line 259 of file Statistics.php.
References $contentType, $gBitSystem, $gLibertySystem, $ret, mDb, and tra().
Here is the call graph for this function:

| Statistics::registrationStats | ( | $ | pPeriod | ) |
registrationStats
| array | $pPeriod public |
Definition at line 118 of file Statistics.php.
References $gBitDbType, $query, $ret, and mDb.
| Statistics::Statistics | ( | ) |
Initiate class
Definition at line 18 of file Statistics.php.
References BitBase::BitBase().
Here is the call graph for this function:

| Statistics::storeReferer | ( | ) |
storeReferer will insert new record in referer table
public
Definition at line 71 of file Statistics.php.
References $_SERVER, $gBitSystem, $now, $parsed, $query, and mDb.
1.5.2