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

Public Member Functions

 CatalogEntryHandler ()
 
 fetch ($args, $request)
 
 fetchFormatInfo ($args, $request)
 
 getSelectedFormatId ()
 
 initialize ($request, $args=null)
 
- Public Member Functions inherited from PublicationEntryHandler
 authorize ($request, &$args, $roleAssignments)
 
 fetch ($args, $request)
 
 fetchFormatInfo ($args, $request)
 
 getStageId ()
 
getSubmission ()
 
 getTabPosition ()
 
 initialize ($request, $args=null)
 
 PublicationEntryHandler ()
 
- 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)
 

Public Attributes

 $_selectedFormatId
 
- Public Attributes inherited from PublicationEntryHandler
 $_stageId
 
 $_submission
 
 $_tabPosition
 
- Public Attributes inherited from PKPHandler
 $_authorizationDecisionManager
 
 $_checks = array()
 
 $_dispatcher
 
 $_id
 
 $_roleAssignments = array()
 

Additional Inherited Members

- Static Public Member Functions inherited from PKPHandler
static getPageParamName ($rangeName)
 
static getRangeInfo ($request, $rangeName, $contextData=null)
 
static hashPageContext ($request, $contextData=array())
 

Detailed Description

Handle the request to generate the tab structure on the New Catalog Entry page.

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

Member Function Documentation

CatalogEntryHandler::CatalogEntryHandler ( )

Constructor.

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

CatalogEntryHandler::fetch (   $args,
  $request 
)

Display the tabs index page.

Parameters
$argsarray
$requestPKPRequest

Definition at line 60 of file CatalogEntryHandler.inc.php.

References DAORegistry\getDAO(), getSelectedFormatId(), PublicationEntryHandler\getStageId(), and PublicationEntryHandler\getSubmission().

CatalogEntryHandler::fetchFormatInfo (   $args,
  $request 
)

Returns a JSON response containing information regarding the formats enabled for this submission.

Parameters
$argsarray
$requestRequest

Definition at line 100 of file CatalogEntryHandler.inc.php.

References DAORegistry\getDAO(), and PublicationEntryHandler\getSubmission().

CatalogEntryHandler::getSelectedFormatId ( )

Get the selected format id.

Returns
int

Definition at line 48 of file CatalogEntryHandler.inc.php.

References $_selectedFormatId.

Referenced by fetch().

CatalogEntryHandler::initialize (   $request,
  $args = null 
)
See Also
PKPHandler::initialize()

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

Member Data Documentation

CatalogEntryHandler::$_selectedFormatId

the selected format id

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

Referenced by getSelectedFormatId().


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