Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
QuickSubmitForm Class Reference
Inheritance diagram for QuickSubmitForm:
Form

Public Member Functions

 display ()
 
 execute ()
 
 getLocaleFieldNames ()
 
 initData ()
 
 QuickSubmitForm (&$plugin, $request)
 
 readInputData ()
 
 scheduleForPublication ($articleId, $issueId)
 
 uploadSubmissionFile ($fileName)
 
- 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

Form for QuickSubmit one-page submission plugin.

Definition at line 19 of file QuickSubmitForm.inc.php.

Member Function Documentation

QuickSubmitForm::display ( )
QuickSubmitForm::getLocaleFieldNames ( )

Get the names of fields for which data should be localized

Returns
array

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

QuickSubmitForm::initData ( )

Initialize form data for a new form.

Definition at line 126 of file QuickSubmitForm.inc.php.

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

QuickSubmitForm::QuickSubmitForm ( $plugin,
  $request 
)

Constructor

Parameters
$pluginobject

Definition at line 27 of file QuickSubmitForm.inc.php.

References Form\addCheck(), DAORegistry\getDAO(), ValidatorUrl\getRegexp(), and ValidatorEmail\getRegexp().

QuickSubmitForm::readInputData ( )

Assign form data to user-submitted data.

Definition at line 152 of file QuickSubmitForm.inc.php.

References Form\addCheck(), DAORegistry\getDAO(), Form\getData(), Form\readUserDateVars(), and Form\readUserVars().

QuickSubmitForm::scheduleForPublication (   $articleId,
  $issueId 
)

Schedule an article for publication in a given issue

Definition at line 429 of file QuickSubmitForm.inc.php.

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

Referenced by execute().

QuickSubmitForm::uploadSubmissionFile (   $fileName)

Upload the submission file.

Parameters
$fileNamestring
Returns
int TemporaryFile ID

Definition at line 195 of file QuickSubmitForm.inc.php.


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