Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
ReportGeneratorHandler Class Reference
Inheritance diagram for ReportGeneratorHandler:
Handler PKPHandler

Public Member Functions

_getReportGeneratorForm ($request)
 
 fetchArticlesInfo ($args, $request)
 
 fetchRegions ($args, $request)
 
 fetchReportGenerator ($args, $request)
 
 ReportGeneratorHandler ()
 
 saveReportGenerator ($args, $request)
 
 setupTemplate ($request)
 
- Public Member Functions inherited from Handler
 getSiteRedirectContext ($request)
 
 getTargetContext ($request, $bestGuess=true)
 
 getWorkingContexts ($request)
 
 Handler ()
 
- Public Member Functions inherited from PKPHandler
 addCheck (&$handlerValidator)
 
 addPolicy ($authorizationPolicy, $addToTop=false)
 
 addRoleAssignment ($roleIds, $operations)
 
 authorize ($request, &$args, $roleAssignments, $enforceRestrictedSite=true)
 
getAuthorizedContext ()
 
getAuthorizedContextObject ($assocType)
 
getDispatcher ()
 
 getFirstUserContext ($user, $contexts)
 
 getId ()
 
 getLastAuthorizationMessage ()
 
 getLoginExemptions ()
 
 getRoleAssignment ($roleId)
 
 getRoleAssignments ()
 
 getWorkingContexts ($request)
 
 index ($args, $request)
 
 initialize ($request, $args=null)
 
 PKPHandler ()
 
 setDispatcher ($dispatcher)
 
 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())
 
- Public Attributes inherited from PKPHandler
 $_authorizationDecisionManager
 
 $_checks = array()
 
 $_dispatcher
 
 $_id
 
 $_roleAssignments = array()
 

Detailed Description

Handle requests for report generator functions.

Definition at line 20 of file ReportGeneratorHandler.inc.php.

Member Function Documentation

& ReportGeneratorHandler::_getReportGeneratorForm (   $request)

Get report generator form object.

Returns
ReportGeneratorForm

Definition at line 154 of file ReportGeneratorHandler.inc.php.

Referenced by fetchReportGenerator(), and saveReportGenerator().

ReportGeneratorHandler::fetchArticlesInfo (   $args,
  $request 
)

Fetch articles title and id from the passed request variable issue id.

Parameters
$argsarray
$requestRequest
Returns
string JSON response

Definition at line 81 of file ReportGeneratorHandler.inc.php.

References DAORegistry\getDAO(), and PKPHandler\validate().

ReportGeneratorHandler::fetchRegions (   $args,
  $request 
)

Fetch regions from the passed request variable country id.

Parameters
$argsarray
$requestRequest
Returns
string JSON response

Definition at line 111 of file ReportGeneratorHandler.inc.php.

References PKPHandler\validate().

ReportGeneratorHandler::fetchReportGenerator (   $args,
  $request 
)

Fetch form to generate custom reports.

Parameters
$argsarray
$requestRequest

Definition at line 36 of file ReportGeneratorHandler.inc.php.

References _getReportGeneratorForm(), and setupTemplate().

ReportGeneratorHandler::ReportGeneratorHandler ( )

Constructor

Definition at line 24 of file ReportGeneratorHandler.inc.php.

References PKPHandler\addRoleAssignment().

ReportGeneratorHandler::saveReportGenerator (   $args,
  $request 
)

Save form to generate custom reports.

Parameters
$argsarray
$requestRequest

Definition at line 58 of file ReportGeneratorHandler.inc.php.

References _getReportGeneratorForm(), and setupTemplate().

ReportGeneratorHandler::setupTemplate (   $request)

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