Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
AuthorSubmitForm Class Reference
Inheritance diagram for AuthorSubmitForm:
Form AuthorSubmitStep1Form AuthorSubmitStep2Form AuthorSubmitStep3Form AuthorSubmitStep4Form AuthorSubmitStep5Form

Public Member Functions

 assignEditors (&$article)
 
 AuthorSubmitForm (&$article, $step, &$journal, &$request)
 
 display ()
 
 getDefaultFormLocale ()
 
- 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 Form
 $_checks
 
 $_data
 
 $_errors
 
 $_template
 
 $cssValidation
 
 $errorFields
 
 $errorsArray
 
 $formSectionErrors
 

Detailed Description

Base class for journal author submit forms.

Definition at line 22 of file AuthorSubmitForm.inc.php.

Member Function Documentation

AuthorSubmitForm::assignEditors ( $article)

Automatically assign Section Editors to new submissions.

Parameters
$articleobject
Returns
array of section editors

Definition at line 107 of file AuthorSubmitForm.inc.php.

References DAORegistry\getDAO().

Referenced by AuthorSubmitStep5Form\execute(), and QuickSubmitForm\execute().

AuthorSubmitForm::AuthorSubmitForm ( $article,
  $step,
$journal,
$request 
)

Constructor.

Parameters
$articleobject
$stepint

Definition at line 40 of file AuthorSubmitForm.inc.php.

References Form\addCheck(), PKPLocale\getAllLocales(), and AppLocale\getLocale().

AuthorSubmitForm::display ( )

Display the form.

Definition at line 65 of file AuthorSubmitForm.inc.php.

References DAORegistry\getDAO().

AuthorSubmitForm::getDefaultFormLocale ( )

Get the default form locale.

Returns
string

Definition at line 97 of file AuthorSubmitForm.inc.php.


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