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

Public Member Functions

 _setupMonographsTemplate ($request, $includeFeatureAction, $listName, $messageKey=null, $assocType=null, $assocId=null)
 
 authorize ($request, &$args, $roleAssignments)
 
 category ($args, $request)
 
 getCategories ($args, $request)
 
 getSeries ($args, $request)
 
 homepage ($args, $request)
 
 index ($args, $request)
 
 initialize ($request, $args)
 
 ManageCatalogHandler ()
 
 search ($args, $request)
 
 series ($args, $request)
 
 toggle ($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 catalog management.

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

Member Function Documentation

ManageCatalogHandler::_setupMonographsTemplate (   $request,
  $includeFeatureAction,
  $listName,
  $messageKey = null,
  $assocType = null,
  $assocId = null 
)

Set up template including link actions for the catalog view

Parameters
$requestPKPRequest
$includeFeatureActionboolean
$listNamestring Unique identifier of monograph list (for disambiguation of HTML element IDs)
$messageKeya locale key to display at the top of the tab (for instructions) (optional)
$assocTypeAssociation type of features to fetch (ASSOC_TYPE_...) (optional)
$assocIdAssociation ID of features to fetch (optional)

Definition at line 368 of file ManageCatalogHandler.inc.php.

References DAORegistry\getDAO(), and AppLocale\requireComponents().

Referenced by category(), homepage(), search(), and series().

ManageCatalogHandler::authorize (   $request,
$args,
  $roleAssignments 
)
See Also
PKPHandler::authorize()
Parameters
$requestPKPRequest
$argsarray
$roleAssignmentsarray

Definition at line 51 of file ManageCatalogHandler.inc.php.

References PKPHandler\addPolicy().

ManageCatalogHandler::category (   $args,
  $request 
)

View the content of a category.

Parameters
$argsarray
$requestPKPRequest
Returns
string

Definition at line 187 of file ManageCatalogHandler.inc.php.

References _setupMonographsTemplate(), DAORegistry\getDAO(), and JSONMessage\getString().

ManageCatalogHandler::getCategories (   $args,
  $request 
)

List the available categories.

Parameters
$argsarray
$requestPKPRequest
Returns
string

Definition at line 151 of file ManageCatalogHandler.inc.php.

References DAORegistry\getDAO().

ManageCatalogHandler::getSeries (   $args,
  $request 
)

List the available series.

Parameters
$argsarray
$requestPKPRequest
Returns
string

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

References DAORegistry\getDAO().

ManageCatalogHandler::homepage (   $args,
  $request 
)

View the tab contents for the Homepage tab.

Parameters
$argsarray
$requestPKPRequest

Definition at line 125 of file ManageCatalogHandler.inc.php.

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

ManageCatalogHandler::index (   $args,
  $request 
)

Show the catalog management home.

Parameters
$argsarray
$requestPKPRequest

Definition at line 76 of file ManageCatalogHandler.inc.php.

ManageCatalogHandler::initialize (   $request,
  $args 
)
ManageCatalogHandler::ManageCatalogHandler ( )

Constructor

Definition at line 26 of file ManageCatalogHandler.inc.php.

References PKPHandler\addRoleAssignment().

ManageCatalogHandler::search (   $args,
  $request 
)

View the tab contents for the Search Results.

Parameters
$argsarray
$requestPKPRequest

Definition at line 257 of file ManageCatalogHandler.inc.php.

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

ManageCatalogHandler::series (   $args,
  $request 
)

View the content of a series.

Parameters
$argsarray
$requestPKPRequest
Returns
string

Definition at line 225 of file ManageCatalogHandler.inc.php.

References _setupMonographsTemplate(), DAORegistry\getDAO(), and JSONMessage\getString().

ManageCatalogHandler::toggle (   $args,
  $request 
)

Set featured or new release status for a submission.

Parameters
$argsarray
$requestPKPRequest
Returns
string

Definition at line 279 of file ManageCatalogHandler.inc.php.

References DAORegistry\getDAO().


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