Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
StatisticsHandler Class Reference
Inheritance diagram for StatisticsHandler:
ManagerHandler Handler PKPHandler

Public Member Functions

 _getObjectTitle ($assocId, $assocType)
 
 _getPublicStatisticsNames ()
 
 generateReport (&$args, &$request)
 
 report ($args, $request)
 
 reportGenerator (&$args, &$request)
 
 statistics ($args, $request)
 
 StatisticsHandler ()
 
- Public Member Functions inherited from ManagerHandler
 email ($args)
 
 index ()
 
 ManagerHandler ()
 
retrieveRoleAssignmentPreferences ($journalId)
 
 setupTemplate ($subclass=false)
 
- Public Member Functions inherited from PKPHandler
 addCheck (&$handlerValidator)
 
 addPolicy (&$authorizationPolicy, $addToTop=false)
 
 addRoleAssignment ($roleIds, $operations)
 
 authorize (&$request, &$args, $roleAssignments)
 
getAuthorizedContext ()
 
getAuthorizedContextObject ($assocType)
 
getDispatcher ()
 
 getId ()
 
 getLastAuthorizationMessage ()
 
 getLoginExemptions ()
 
getRangeInfo ($rangeName, $contextData=null)
 
 getRoleAssignment ($roleId)
 
 getRoleAssignments ()
 
 hashPageContext ($contextData=array())
 
 index ()
 
 initialize (&$request, $args=null)
 
 PKPHandler ()
 
 requireSSL ()
 
 setDispatcher (&$dispatcher)
 
 setId ($id)
 
 validate ($requiredContexts=null, $request=null)
 

Detailed Description

Handle requests for statistics functions.

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

Member Function Documentation

StatisticsHandler::_getObjectTitle (   $assocId,
  $assocType 
)

Get data object title based on passed assoc type and id.

Parameters
$assocIdint
$assocTypeint
Returns
string

Definition at line 348 of file StatisticsHandler.inc.php.

References DAORegistry\getDAO().

Referenced by generateReport().

StatisticsHandler::_getPublicStatisticsNames ( )

Get public statistics names.

Returns
array

Definition at line 324 of file StatisticsHandler.inc.php.

Referenced by AboutHandler\_getPublicStatisticsNames(), and statistics().

StatisticsHandler::generateReport ( $args,
$request 
)
StatisticsHandler::report (   $args,
  $request 
)

Delegates to plugins operations related to report generation.

Parameters
$argsarray
$requestRequest

Definition at line 146 of file StatisticsHandler.inc.php.

References Request\getJournal(), PluginRegistry\loadCategory(), PKPRequest\redirect(), ManagerHandler\setupTemplate(), and PKPHandler\validate().

StatisticsHandler::reportGenerator ( $args,
$request 
)

Display page to generate custom reports.

Parameters
$argsarray
$requestRequest

Definition at line 168 of file StatisticsHandler.inc.php.

References AppLocale\requireComponents(), ManagerHandler\setupTemplate(), and PKPHandler\validate().

StatisticsHandler::statistics (   $args,
  $request 
)

Display a list of journal statistics. WARNING: This implementation should be kept roughly synchronized with the reader's statistics view in the About pages.

Definition at line 30 of file StatisticsHandler.inc.php.

References _getPublicStatisticsNames(), DAORegistry\getDAO(), PluginRegistry\loadCategory(), ManagerHandler\setupTemplate(), and PKPHandler\validate().

StatisticsHandler::StatisticsHandler ( )

Constructor

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


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