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

Public Member Functions

 authorize ($request, &$args, $roleAssignments)
 
 CatalogHandler ()
 
 category ($args, $request)
 
 fullSize ($args, $request)
 
 index ($args, $request)
 
 newReleases ($args, $request)
 
 results ($args, $request)
 
 series ($args, $request)
 
 setupTemplate ($request)
 
 thumbnail ($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 the press-specific part of the public-facing catalog.

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

Member Function Documentation

CatalogHandler::authorize (   $request,
$args,
  $roleAssignments 
)
See Also
PKPHandler::authorize()

Definition at line 38 of file CatalogHandler.inc.php.

References PKPHandler\addPolicy().

CatalogHandler::CatalogHandler ( )

Constructor

Definition at line 27 of file CatalogHandler.inc.php.

CatalogHandler::category (   $args,
  $request 
)

View the content of a category.

Parameters
$argsarray
$requestPKPRequest
Returns
string

Definition at line 92 of file CatalogHandler.inc.php.

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

CatalogHandler::fullSize (   $args,
  $request 
)

Serve the image for a category or series.

Definition at line 198 of file CatalogHandler.inc.php.

References FileManager\downloadFile(), and DAORegistry\getDAO().

CatalogHandler::index (   $args,
  $request 
)

Show the catalog home.

Parameters
$argsarray
$requestPKPRequest

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

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

CatalogHandler::newReleases (   $args,
  $request 
)

Show the catalog new releases.

Parameters
$argsarray
$requestPKPRequest

Definition at line 72 of file CatalogHandler.inc.php.

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

CatalogHandler::results (   $args,
  $request 
)

View the results of a search operation.

Parameters
$argsarray
$requestPKPRequest
Returns
string

Definition at line 169 of file CatalogHandler.inc.php.

References setupTemplate().

CatalogHandler::series (   $args,
  $request 
)

View the content of a series.

Parameters
$argsarray
$requestPKPRequest
Returns
string

Definition at line 131 of file CatalogHandler.inc.php.

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

CatalogHandler::setupTemplate (   $request)

Set up the basic template.

Definition at line 275 of file CatalogHandler.inc.php.

Referenced by category(), index(), newReleases(), results(), and series().

CatalogHandler::thumbnail (   $args,
  $request 
)

Serve the thumbnail for a category or series.

Definition at line 237 of file CatalogHandler.inc.php.

References FileManager\downloadFile(), and DAORegistry\getDAO().


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