|
Open Preprint Systems
3.3.0
|
Public Member Functions | |
| __construct () | |
| __construct () | |
| authorize ($request, &$args, $roleAssignments) | |
| fetchChoices ($args, $request) | |
| getStepCount () | |
| getStepsNumberAndLocaleKeys () | |
| relatePublication ($slimRequest, $response, $args) | |
| setupTemplate ($request) | |
| step ($args, $request) | |
Public Member Functions inherited from PKPSubmissionHandler | |
| add ($slimRequest, $response, $args) | |
| addPublication ($slimRequest, $response, $args) | |
| delete ($slimRequest, $response, $args) | |
| deletePublication ($slimRequest, $response, $args) | |
| edit ($slimRequest, $response, $args) | |
| editPublication ($slimRequest, $response, $args) | |
| get ($slimRequest, $response, $args) | |
| getMany ($slimRequest, $response, $args) | |
| getParticipants ($slimRequest, $response, $args) | |
| getPublication ($slimRequest, $response, $args) | |
| getPublications ($slimRequest, $response, $args) | |
| index ($args, $request) | |
| publishPublication ($slimRequest, $response, $args) | |
| saveStep ($args, $request) | |
| unpublishPublication ($slimRequest, $response, $args) | |
| versionPublication ($slimRequest, $response, $args) | |
| wizard ($args, $request) | |
Public Member Functions inherited from APIHandler | |
| convertStringsToSchema ($schema, $params) | |
| getApp () | |
| getEndpointPattern () | |
| getEndpoints () | |
| getEntityId ($parameterName) | |
| getParameter ($parameterName, $default=null) | |
| getRequest () | |
| getSlimRequest () | |
| setSlimRequest ($slimRequest) | |
| setupEndpoints () | |
Public Member Functions inherited from PKPHandler | |
| addPolicy ($authorizationPolicy, $addToTop=false) | |
| addRoleAssignment ($roleIds, $operations) | |
| getApiToken () | |
| & | getAuthorizedContext () |
| & | getAuthorizedContextObject ($assocType) |
| & | getDispatcher () |
| getFirstUserContext ($user, $contexts) | |
| getId () | |
| getLastAuthorizationMessage () | |
| getRoleAssignment ($roleId) | |
| getRoleAssignments () | |
| getSiteRedirectContext ($request) | |
| getTargetContext ($request, &$contextsCount=null) | |
| initialize ($request) | |
| markRoleAssignmentsChecked () | |
| requireSSL () | |
| setApiToken ($apiToken) | |
| setDispatcher ($dispatcher) | |
| setEnforceRestrictedSite ($enforceRestrictedSite) | |
| setId ($id) | |
| 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()) |
Data Fields inherited from PKPSubmissionHandler | |
| $_isBackendPage = true | |
Data Fields inherited from PKPHandler | |
| $_authorizationDecisionManager | |
| $_checks = array() | |
| $_dispatcher | |
| $_enforceRestrictedSite = true | |
| $_id | |
| $_isBackendPage = false | |
| $_roleAssignments = array() | |
| $_roleAssignmentsChecked = false | |
Protected Member Functions inherited from APIHandler | |
| _validateStatDates ($params, $dateStartParam='dateStart', $dateEndParam='dateEnd') | |
Protected Attributes inherited from APIHandler | |
| $_app | |
| $_endpoints = array() | |
| $_handlerPath = null | |
| $_pathPattern | |
| $_request | |
| $_slimRequest = null | |
Protected Attributes inherited from PKPHandler | |
| $_apiToken = null | |
Handle API requests for submission operations.
Handle requests for the submission wizard.
Definition at line 21 of file api/v1/submissions/SubmissionHandler.inc.php.
| SubmissionHandler::__construct | ( | ) |
Constructor
Reimplemented from PKPSubmissionHandler.
Definition at line 26 of file api/v1/submissions/SubmissionHandler.inc.php.
References APIHandler\__construct(), and APIHandler\getEndpointPattern().
| SubmissionHandler::__construct | ( | ) |
Constructor
Reimplemented from PKPSubmissionHandler.
Definition at line 24 of file pages/submission/SubmissionHandler.inc.php.
References PKPHandler\addRoleAssignment().
| SubmissionHandler::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.
| $request | Request |
| $args | array request arguments |
| $roleAssignments | array the operation role assignment, see getRoleAssignment() for more details. |
Reimplemented from PKPSubmissionHandler.
Definition at line 129 of file api/v1/submissions/SubmissionHandler.inc.php.
References PKPHandler\addPolicy(), PKPHandler\authorize(), and APIHandler\getSlimRequest().
| SubmissionHandler::fetchChoices | ( | $args, | |
| $request | |||
| ) |
Retrieves a JSON list of available choices for a tagit metadata input field.
| $args | array |
| $request | Request |
Definition at line 75 of file pages/submission/SubmissionHandler.inc.php.
References AppLocale\getLocale().
| SubmissionHandler::getStepCount | ( | ) |
Get the number of submission steps.
Reimplemented from PKPSubmissionHandler.
Definition at line 126 of file pages/submission/SubmissionHandler.inc.php.
Referenced by step().
| SubmissionHandler::getStepsNumberAndLocaleKeys | ( | ) |
Get the step numbers and their corresponding title locale keys.
Reimplemented from PKPSubmissionHandler.
Definition at line 112 of file pages/submission/SubmissionHandler.inc.php.
| SubmissionHandler::relatePublication | ( | $slimRequest, | |
| $response, | |||
| $args | |||
| ) |
Create relations for publications
| $slimRequest | Request Slim request object | |
| $response | Response object | |
| array | $args | arguments |
Definition at line 192 of file api/v1/submissions/SubmissionHandler.inc.php.
References PKPServices\get(), PKPHandler\getAuthorizedContextObject(), DAORegistry\getDAO(), and APIHandler\getRequest().
| SubmissionHandler::setupTemplate | ( | $request | ) |
Setup common template variables.
| $request | Request |
Reimplemented from PKPSubmissionHandler.
Definition at line 103 of file pages/submission/SubmissionHandler.inc.php.
References AppLocale\requireComponents().
| SubmissionHandler::step | ( | $args, | |
| $request | |||
| ) |
Display a step for the submission wizard. Displays submission index page if a valid step is not specified.
| $args | array |
| $request | Request |
Reimplemented from PKPSubmissionHandler.
Definition at line 37 of file pages/submission/SubmissionHandler.inc.php.
References PKPServices\get(), PKPHandler\getAuthorizedContextObject(), PKPTemplateManager\getManager(), and getStepCount().