Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
PromoteForm Class Reference
Inheritance diagram for PromoteForm:
EditorDecisionWithEmailForm EditorDecisionForm Form

Public Member Functions

 _getDecisions ()
 
 execute ($args, $request)
 
 initData ($args, $request)
 
 PromoteForm (&$seriesEditorSubmission, $decision, $stageId, $reviewRound=null)
 
- Public Member Functions inherited from EditorDecisionWithEmailForm
 _sendReviewMailToAuthor ($submission, $emailKey, $request)
 
 _updateReviewRoundStatus ($submission, $status, $reviewRound=null)
 
 EditorDecisionWithEmailForm ($submission, $decision, $stageId, $template, $reviewRound=null)
 
 fetch ($request)
 
 getSaveFormOperation ()
 
 initData ($args, $request, $actionLabels)
 
 readInputData ()
 
 setSaveFormOperation ($saveFormOperation)
 
- Public Member Functions inherited from EditorDecisionForm
 _initiateReviewRound ($submission, $stageId, $request, $status=null)
 
 EditorDecisionForm ($submission, $decision, $stageId, $template, $reviewRound=null)
 
 fetch ($request)
 
 getDecision ()
 
 getReviewRound ()
 
 getStageId ()
 
 getSubmission ()
 
 readInputData ()
 
- Public Member Functions inherited from Form
 _decomposeArray ($name, $value, $stack)
 
 addCheck ($formValidator)
 
 addError ($field, $message)
 
 addErrorField ($field)
 
 display ($request=null, $template=null)
 
 execute ($object=null)
 
 fetch ($request, $template=null, $display=false)
 
 Form ($template=null, $callHooks=true, $requiredLocale=null, $supportedLocales=null)
 
 getData ($key)
 
 getDefaultFormLocale ()
 
 getErrorsArray ()
 
 getFormLocale ()
 
 getLocaleFieldNames ()
 
 getRequiredLocale ()
 
 getTemplate ()
 
 initData ()
 
 isLocaleResubmit ()
 
 isValid ()
 
 readInputData ()
 
 readUserDateVars ($vars)
 
 readUserVars ($vars)
 
 setData ($key, $value)
 
 setTemplate ($template)
 
 smartyFormLanguageChooser ($params, &$smarty)
 
 validate ($callHooks=true)
 

Additional Inherited Members

- Public Attributes inherited from EditorDecisionForm
 $_decision
 
 $_reviewRound
 
 $_stageId
 
 $_submission
 
- Public Attributes inherited from Form
 $_checks
 
 $_data
 
 $_errors
 
 $_template
 
 $cssValidation
 
 $errorFields
 
 $errorsArray
 
 $formSectionErrors
 
 $requiredLocale
 
 $supportedLocales
 

Detailed Description

Form for promoting a submission (to external review or editing)

Definition at line 21 of file PromoteForm.inc.php.

Member Function Documentation

PromoteForm::_getDecisions ( )

Get this form decisions.

Returns
array

Definition at line 161 of file PromoteForm.inc.php.

Referenced by execute(), initData(), and PromoteForm().

PromoteForm::execute (   $args,
  $request 
)

Execute the form's action. (Note that it is assumed that the form has already been validated.)

Parameters
$objectobject The object edited by this form.
Returns
$object The same object, potentially changed via hook.

Definition at line 63 of file PromoteForm.inc.php.

References _getDecisions(), EditorDecisionForm\_initiateReviewRound(), EditorDecisionWithEmailForm\_sendReviewMailToAuthor(), EditorDecisionWithEmailForm\_updateReviewRoundStatus(), EditorDecisionActionsManager\getActionLabels(), DAORegistry\getDAO(), Form\getData(), EditorDecisionForm\getDecision(), EditorDecisionForm\getReviewRound(), and EditorDecisionForm\getSubmission().

PromoteForm::initData (   $args,
  $request 
)
PromoteForm::PromoteForm ( $seriesEditorSubmission,
  $decision,
  $stageId,
  $reviewRound = null 
)

Constructor.

Parameters
$seriesEditorSubmissionSeriesEditorSubmission
$decisionint
$stageIdint
$reviewRoundReviewRound

Definition at line 30 of file PromoteForm.inc.php.

References _getDecisions(), and EditorDecisionWithEmailForm\setSaveFormOperation().


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