PHP Trait Ojs\CoreBundle\Entity\AnalyticsTrait

显示文件 Open project: ojs/ojs

Protected Properties

Property Type Description
$downloadCount integer
$viewCount integer

Public Methods

Method Description
getDownloadCount ( ) : integer
getViewCount ( ) : integer
increaseDownloadCount ( )
increaseViewCount ( )
setDownloadCount ( integer $downloadCount )
setViewCount ( integer $viewCount )

Method Details

getDownloadCount() public method

public getDownloadCount ( ) : integer
return integer

getViewCount() public method

public getViewCount ( ) : integer
return integer

increaseDownloadCount() public method

increaseViewCount() public method

public increaseViewCount ( )

setDownloadCount() public method

public setDownloadCount ( integer $downloadCount )
$downloadCount integer

setViewCount() public method

public setViewCount ( integer $viewCount )
$viewCount integer

Property Details

$downloadCount protected_oe property

protected int $downloadCount
return integer

$viewCount protected_oe property

protected int $viewCount
return integer