\STATISTICS

STATISTICS

WIKINDX statistics

Summary

Methods
Properties
Constants
__construct()
compile()
getMaxDownloadRatio()
getMaxAccessRatio()
getPopularityIndex()
getAccessRatio()
getDownloadRatio()
accessDownloadRatio()
$downloadRatio
$accessRatio
$list
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$downloadRatio

$downloadRatio : 

int

Type

$accessRatio

$accessRatio : 

int

Type

$list

$list : 

boolean

Type

Methods

__construct()

__construct() : 

STATISTICS

Returns

compile()

compile() : 

Check if statistics need compiling and emailing to registered users.

Compiling is done if the date a user accesses wikindx is at least a month after the last compile time.

Returns

getMaxDownloadRatio()

getMaxDownloadRatio() : 

Calculate the maximum download ratio in the database

Returns

getMaxAccessRatio()

getMaxAccessRatio() : 

Calculate the maximum access ratio in the database

Returns

getPopularityIndex()

getPopularityIndex(  id) : 

return the popularity index for a resource

Parameters

id

Resource ID

Returns

getAccessRatio()

getAccessRatio(  id) : 

Return views ratio for each resource

Parameters

id

Resource ID

Returns

getDownloadRatio()

getDownloadRatio(  id) : 

Return download ratio of attachments for each resource

Parameters

id

Resource ID

Returns

accessDownloadRatio()

accessDownloadRatio(  id) : 

Return resource access and download ratio of attachments for one resource

Parameters

id

Resource ID

Returns