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

Public Member Functions

 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

- Public Attributes inherited from PKPHandler
 $_checks = array()
 $_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

Base handler to generate the tab structure for a submission's publication metadata.

Definition at line 19 of file

Member Function Documentation

PublicationEntryHandler::authorize (   $request,

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.

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

Definition at line 62 of file

References PKPHandler\addPolicy().

PublicationEntryHandler::fetch (   $args,

Display the tabs index page.


Definition at line 105 of file

References getStageId(), getSubmission(), getTabPosition(), and PKPHandler\setupTemplate().

PublicationEntryHandler::fetchFormatInfo (   $args,

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


Definition at line 128 of file

PublicationEntryHandler::getStageId ( )

Get the stage id


Definition at line 85 of file

References $_stageId.

Referenced by CatalogEntryHandler\fetch(), and fetch().

& PublicationEntryHandler::getSubmission ( )
PublicationEntryHandler::getTabPosition ( )

Get the current tab position


Definition at line 93 of file

References $_tabPosition.

Referenced by fetch().

PublicationEntryHandler::initialize (   $request,
  $args = null 

Subclasses can override this method to configure the handler.

NB: This method will be called after validation and authorization.


Definition at line 47 of file

References PKPHandler\getAuthorizedContextObject(), AppLocale\requireComponents(), and PKPHandler\setupTemplate().

PublicationEntryHandler::PublicationEntryHandler ( )


Definition at line 33 of file

References PKPHandler\addRoleAssignment().

Member Data Documentation


The current stage id

Definition at line 25 of file

Referenced by getStageId().


The submission

Definition at line 22 of file

Referenced by getSubmission().


the current tab position

Definition at line 28 of file

Referenced by getTabPosition().

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