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

Public Member Functions

 _displayPressIndexPage ($press, &$templateMgr)
 
 index ($args, $request)
 
 IndexHandler ()
 
- 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 site index requests.

Definition at line 19 of file IndexHandler.inc.php.

Member Function Documentation

IndexHandler::_displayPressIndexPage (   $press,
$templateMgr 
)

Display a given press index page.

Parameters
$pressPress
$templateMgrTemplateManager

Definition at line 82 of file IndexHandler.inc.php.

References DAORegistry\getDAO().

Referenced by index().

IndexHandler::index (   $args,
  $request 
)

Display the site or press index page. (If a site admin is logged in and no presses exist, redirect to the press administration page – this may be useful upon install.)

Parameters
$argsarray
$requestRequest

Definition at line 39 of file IndexHandler.inc.php.

References _displayPressIndexPage(), Handler\getTargetContext(), PKPValidation\isSiteAdmin(), and PKPHandler\setupTemplate().

IndexHandler::IndexHandler ( )

Constructor

Definition at line 23 of file IndexHandler.inc.php.


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