Open Monograph Press  3.3.0
StatsHandler Class Reference
Inheritance diagram for StatsHandler:
PKPStatsHandler Handler PKPHandler

Public Member Functions

 __construct ()
 
 addSectionFilters ($hookName, $args)
 
- Public Member Functions inherited from PKPStatsHandler
 authorize ($request, &$args, $roleAssignments)
 
 editorial ($args, $request)
 
 publications ($args, $request)
 
 users ($args, $request)
 
- Public Member Functions inherited from PKPHandler
 addPolicy ($authorizationPolicy, $addToTop=false)
 
 addRoleAssignment ($roleIds, $operations)
 
 getApiToken ()
 
getAuthorizedContext ()
 
getAuthorizedContextObject ($assocType)
 
getDispatcher ()
 
 getFirstUserContext ($user, $contexts)
 
 getId ()
 
 getLastAuthorizationMessage ()
 
 getRoleAssignment ($roleId)
 
 getRoleAssignments ()
 
 getSiteRedirectContext ($request)
 
 getTargetContext ($request, &$contextsCount=null)
 
 index ($args, $request)
 
 initialize ($request)
 
 markRoleAssignmentsChecked ()
 
 requireSSL ()
 
 setApiToken ($apiToken)
 
 setDispatcher ($dispatcher)
 
 setEnforceRestrictedSite ($enforceRestrictedSite)
 
 setId ($id)
 
 setupTemplate ($request)
 
 validate ($requiredContexts=null, $request=null)
 

Additional Inherited Members

- Static Public Member Functions inherited from PKPHandler
static getPageParamName ($rangeName)
 
static getRangeInfo ($request, $rangeName, $contextData=null)
 
static hashPageContext ($request, $contextData=array())
 
- Data Fields inherited from PKPStatsHandler
 $_isBackendPage = true
 
- Data Fields inherited from PKPHandler
 $_authorizationDecisionManager
 
 $_checks = array()
 
 $_dispatcher
 
 $_enforceRestrictedSite = true
 
 $_id
 
 $_isBackendPage = false
 
 $_roleAssignments = array()
 
 $_roleAssignmentsChecked = false
 
- Protected Member Functions inherited from PKPStatsHandler
 _getStatDescription ($key)
 
- Protected Attributes inherited from PKPHandler
 $_apiToken = null
 

Detailed Description

Handle requests for statistics pages.

Definition at line 18 of file StatsHandler.inc.php.

Constructor & Destructor Documentation

◆ __construct()

StatsHandler::__construct ( )

Constructor.

Reimplemented from PKPStatsHandler.

Definition at line 22 of file StatsHandler.inc.php.

References HookRegistry\register().

Member Function Documentation

◆ addSectionFilters()

StatsHandler::addSectionFilters (   $hookName,
  $args 
)

Add OMP-specific configuration options to the stats component data

Fired when the TemplateManager::display hook is called.

Parameters
string$hookname
array$args[$templateMgr, $template, $sendContentType, $charset, $output]

Definition at line 35 of file StatsHandler.inc.php.

References PKPApplication\get(), and DAORegistry\getDAO().


The documentation for this class was generated from the following file: