STATISTICS
in package
STATISTICS
WIKINDX statistics
Table of Contents
Properties
- $accessRatio : mixed
- int
- $downloadRatio : mixed
- int
- $list : mixed
- boolean
Methods
- __construct() : mixed
- STATISTICS
- accessDownloadRatio() : mixed
- Return resource access and download ratio of attachments for one resource
- getMaxAccessRatio() : int
- Calculate the maximum access ratio in the database
- getMaxDownloadRatio() : int
- Calculate the maximum download ratio in the database
- getPopularityIndex() : int
- return the popularity index for a resource
- runCompile() : mixed
- Run the statistics compilation and manage any emailing required
Properties
$accessRatio
int
public
mixed
$accessRatio
= \FALSE
$downloadRatio
int
public
mixed
$downloadRatio
= \FALSE
$list
boolean
public
mixed
$list
= \FALSE
Methods
__construct()
STATISTICS
public
__construct() : mixed
accessDownloadRatio()
Return resource access and download ratio of attachments for one resource
public
accessDownloadRatio(int $id[, bool $arOnly = false ]) : mixed
Parameters
- $id : int
-
Resource ID
- $arOnly : bool = false
-
= FALSE
getMaxAccessRatio()
Calculate the maximum access ratio in the database
public
getMaxAccessRatio() : int
Return values
intgetMaxDownloadRatio()
Calculate the maximum download ratio in the database
public
getMaxDownloadRatio() : int
Return values
intgetPopularityIndex()
return the popularity index for a resource
public
getPopularityIndex(int $id) : int
Parameters
- $id : int
-
Resource ID
Return values
intrunCompile()
Run the statistics compilation and manage any emailing required
public
runCompile() : mixed