PHP Class Ojs\AnalyticsBundle\Entity\ArticleFileStatisticRepository

Inheritance: extends Doctrine\ORM\EntityRepository
Show file Open project: ojs/ojs

Public Methods

Method Description
getMostDownloadedFiles ( $articles, null $dates = null, null $limit = null ) : array
getTotalDownloads ( Ojs\JournalBundle\Entity\ArticleFile $articleFile, array $dates ) : array Returns the download count of the given article file on given dates
getTotalDownloadsOfAllFiles ( $articles, $dates = null ) : array Returns the download count of the given article's files on given dates

Method Details

getMostDownloadedFiles() public method

public getMostDownloadedFiles ( $articles, null $dates = null, null $limit = null ) : array
$articles
$dates null
$limit null
return array

getTotalDownloads() public method

Returns the download count of the given article file on given dates
public getTotalDownloads ( Ojs\JournalBundle\Entity\ArticleFile $articleFile, array $dates ) : array
$articleFile Ojs\JournalBundle\Entity\ArticleFile
$dates array
return array

getTotalDownloadsOfAllFiles() public method

Returns the download count of the given article's files on given dates
public getTotalDownloadsOfAllFiles ( $articles, $dates = null ) : array
$articles
$dates
return array