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

Public Member Functions

 archives ($args, $request)
 
 authorize ($request, &$args, $roleAssignments)
 
 DashboardHandler ()
 
 index ($args, $request)
 
 setupTemplate ($request=null)
 
 submissions ($args, $request)
 
 tasks ($args, $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 user's dashboard.

Definition at line 17 of file DashboardHandler.inc.php.

Member Function Documentation

DashboardHandler::archives (   $args,
  $request 
)

View archives tab

Parameters
$argsarray
$requestPKPRequest

Definition at line 110 of file DashboardHandler.inc.php.

References setupTemplate().

DashboardHandler::authorize (   $request,
$args,
  $roleAssignments 
)

Authorize this request.

Routers will call this method automatically thereby enforcing authorization. This method will be called before the validate() method and before passing control on to the handler operation.

NB: This method will be called once for every request only.

Parameters
$requestRequest
$argsarray request arguments
$roleAssignmentsarray the operation role assignment, see getRoleAssignment() for more details.
$enforceRestrictedSiteboolean True iff site restrictions are to be enforced
Returns
boolean

Definition at line 31 of file DashboardHandler.inc.php.

References PKPHandler\addPolicy().

DashboardHandler::DashboardHandler ( )

Constructor

Definition at line 21 of file DashboardHandler.inc.php.

References PKPHandler\addRoleAssignment().

DashboardHandler::index (   $args,
  $request 
)

Display about index page.

Parameters
$requestPKPRequest
$argsarray

Definition at line 42 of file DashboardHandler.inc.php.

References setupTemplate().

DashboardHandler::setupTemplate (   $request = null)

Setup common template variables.

Parameters
$requestPKPRequest

Definition at line 121 of file DashboardHandler.inc.php.

References AppLocale\requireComponents().

Referenced by archives(), index(), submissions(), and tasks().

DashboardHandler::submissions (   $args,
  $request 
)

View submissions tab

Parameters
$argsarray
$requestPKPRequest

Definition at line 98 of file DashboardHandler.inc.php.

References setupTemplate().

DashboardHandler::tasks (   $args,
  $request 
)

View tasks tab

Parameters
$argsarray
$requestPKPRequest

Definition at line 53 of file DashboardHandler.inc.php.

References Application\getContextDAO(), DAORegistry\getDAO(), and setupTemplate().


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