Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
PKPSubmissionSubmitStep1Form Class Reference
Inheritance diagram for PKPSubmissionSubmitStep1Form:
SubmissionSubmitForm Form SubmissionSubmitStep1Form

Public Member Functions

 execute ($args, $request)
 
 fetch ($request)
 
 initData ($data=array())
 
 PKPSubmissionSubmitStep1Form ($context, $submission=null)
 
 readInputData ()
 
 setSubmissionData ($submission)
 
 validate ()
 
- Public Member Functions inherited from SubmissionSubmitForm
 canExpedite ()
 
 fetch ($request)
 
 SubmissionSubmitForm ($context, $submission, $step)
 
- 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 SubmissionSubmitForm
 $_canExpedite
 
 $step
 
 $submission
 
 $submissionId
 
- Public Attributes inherited from Form
 $_checks
 
 $_data
 
 $_errors
 
 $_template
 
 $cssValidation
 
 $errorFields
 
 $errorsArray
 
 $formSectionErrors
 
 $requiredLocale
 
 $supportedLocales
 

Detailed Description

Form for Step 1 of author submission: terms, conditions, etc.

Definition at line 18 of file PKPSubmissionSubmitStep1Form.inc.php.

Member Function Documentation

PKPSubmissionSubmitStep1Form::execute (   $args,
  $request 
)

Save changes to submission.

Parameters
$argsarray
$requestPKPRequest
Returns
int the submission ID

Definition at line 169 of file PKPSubmissionSubmitStep1Form.inc.php.

References SubmissionSubmitForm\$step, SubmissionSubmitForm\$submissionId, DAORegistry\getDAO(), Form\getData(), Application\getSubmissionDAO(), and setSubmissionData().

PKPSubmissionSubmitStep1Form::fetch (   $request)

Fetch the form.

Definition at line 66 of file PKPSubmissionSubmitStep1Form.inc.php.

References DAORegistry\getDAO().

PKPSubmissionSubmitStep1Form::initData (   $data = array())

Initialize form data from current submission.

Definition at line 112 of file PKPSubmissionSubmitStep1Form.inc.php.

References Form\getFormLocale(), and AppLocale\getLocale().

PKPSubmissionSubmitStep1Form::PKPSubmissionSubmitStep1Form (   $context,
  $submission = null 
)

Constructor.

Parameters
$contextContext
$submissionSubmission (optional)

Definition at line 24 of file PKPSubmissionSubmitStep1Form.inc.php.

References SubmissionSubmitForm\$submission, and Form\addCheck().

PKPSubmissionSubmitStep1Form::readInputData ( )

Assign form data to user-submitted data.

Definition at line 142 of file PKPSubmissionSubmitStep1Form.inc.php.

References Form\readUserVars().

PKPSubmissionSubmitStep1Form::setSubmissionData (   $submission)

Set the submission data from the form.

Parameters
$submissionSubmission

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

References Form\getData(), and String\substr().

Referenced by execute().

PKPSubmissionSubmitStep1Form::validate ( )

Perform additional validation checks Validate form data.

Definition at line 45 of file PKPSubmissionSubmitStep1Form.inc.php.

References DAORegistry\getDAO(), and Form\getData().


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