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

Public Member Functions

 _getFormFromCurrentTab (&$form, &$notificationKey, $request)
 
 _getHandlerClassPath ()
 
 _getPublicationEntrySubmissionReviewForm ()
 
 authorize ($request, &$args, $roleAssignments)
 
 getCurrentTab ()
 
 getStageId ()
 
 getSubmission ()
 
 getTabPosition ()
 
 initialize ($request)
 
 PublicationEntryTabHandler ()
 
 saveForm ($args, $request)
 
 setCurrentTab ($currentTab)
 
 submissionMetadata ($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)
 

Public Attributes

 $_stageId
 
 $_submission
 
- 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

Base handler for AJAX operations for tabs on the Publication Entry management pages.

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

Member Function Documentation

PublicationEntryTabHandler::_getFormFromCurrentTab ( $form,
$notificationKey,
  $request 
)

Get the form for a particular tab.

Definition at line 199 of file PublicationEntryTabHandler.inc.php.

PublicationEntryTabHandler::_getHandlerClassPath ( )

return a string to the Handler for this modal.

Returns
String

Definition at line 220 of file PublicationEntryTabHandler.inc.php.

PublicationEntryTabHandler::_getPublicationEntrySubmissionReviewForm ( )

Returns an instance of the form used for reviewing a submission's 'submission' metadata.

Returns
PKPForm

Definition at line 212 of file PublicationEntryTabHandler.inc.php.

PublicationEntryTabHandler::authorize (   $request,
$args,
  $roleAssignments 
)

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.

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

Definition at line 103 of file PublicationEntryTabHandler.inc.php.

PublicationEntryTabHandler::getCurrentTab ( )

Get the current tab name.

Returns
string

Definition at line 71 of file PublicationEntryTabHandler.inc.php.

Referenced by CatalogEntryTabHandler\_getFormFromCurrentTab().

PublicationEntryTabHandler::getStageId ( )
PublicationEntryTabHandler::getTabPosition ( )
PublicationEntryTabHandler::initialize (   $request)

Subclasses can override this method to configure the handler.

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

Parameters
$requestPKPRequest
$argsarray

Definition at line 90 of file PublicationEntryTabHandler.inc.php.

PublicationEntryTabHandler::PublicationEntryTabHandler ( )

Constructor

Definition at line 52 of file PublicationEntryTabHandler.inc.php.

PublicationEntryTabHandler::saveForm (   $args,
  $request 
)

Save the forms handled by this Handler.

Parameters
$requestRequest
$argsarray
Returns
string JSON message

Definition at line 157 of file PublicationEntryTabHandler.inc.php.

PublicationEntryTabHandler::setCurrentTab (   $currentTab)

Set the current tab name.

Parameters
$currentTabstring

Definition at line 79 of file PublicationEntryTabHandler.inc.php.

PublicationEntryTabHandler::submissionMetadata (   $args,
  $request 
)

Show the original submission metadata form.

Parameters
$requestRequest
$argsarray
Returns
string JSON message

Definition at line 120 of file PublicationEntryTabHandler.inc.php.

References $_submission.

Member Data Documentation

int PublicationEntryTabHandler::$_stageId

stageId

Definition at line 41 of file PublicationEntryTabHandler.inc.php.

Submission PublicationEntryTabHandler::$_submission

object

Definition at line 35 of file PublicationEntryTabHandler.inc.php.

Referenced by submissionMetadata().


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