PHP Class UsageStatsPlugin, ojs

Inheritance: extends GenericPlugin
Show file Open project: pkp/ojs

Public Methods

Method Description
__construct ( ) Constructor.
displayReaderArticleGraph ( $hookName, $params ) Add chart to article view page
displayReaderStatistics ( ) : null Register assets and output hooks to display statistics on the reader frontend.

Method Details

__construct() public method

Constructor.
public __construct ( )

displayReaderArticleGraph() public method

Hooked to Templates::Article::Main
public displayReaderArticleGraph ( $hookName, $params )
$hookName string
$params array [1] $smarty object [2] $output string HTML output to return

displayReaderStatistics() public method

Register assets and output hooks to display statistics on the reader frontend.
public displayReaderStatistics ( ) : null
return null