Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
SubmissionFilesArtworkMetadataForm Class Reference
Inheritance diagram for SubmissionFilesArtworkMetadataForm:
SubmissionFilesMetadataForm Form

Public Member Functions

 execute ($args, $request)
 
 readInputData ()
 
 SubmissionFilesArtworkMetadataForm (&$submissionFile, $stageId, $reviewRound=null)
 
- Public Member Functions inherited from SubmissionFilesMetadataForm
 execute ($args, $request)
 
 fetch ($request)
 
 getLocaleFieldNames ()
 
 getReviewRound ()
 
 getStageId ()
 
getSubmissionFile ()
 
 readInputData ()
 
 SubmissionFilesMetadataForm (&$submissionFile, $stageId, $reviewRound=null)
 
- 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
 
 $requiredLocale
 
 $supportedLocales
 

Detailed Description

Form for editing artwork file metadata.

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

Member Function Documentation

SubmissionFilesArtworkMetadataForm::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 51 of file SubmissionFilesArtworkMetadataForm.inc.php.

References Form\getData(), and SubmissionFilesMetadataForm\getSubmissionFile().

SubmissionFilesArtworkMetadataForm::readInputData ( )

Assign form data to user-submitted data. Can be overridden from subclasses.

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

References Form\readUserVars().

SubmissionFilesArtworkMetadataForm::SubmissionFilesArtworkMetadataForm ( $submissionFile,
  $stageId,
  $reviewRound = null 
)

Constructor.

Parameters
$submissionFileSubmissionFile
$stageIdinteger One of the WORKFLOW_STAGE_ID_* constants.
$reviewRoundReviewRound (optional) Current review round, if any.

Definition at line 28 of file SubmissionFilesArtworkMetadataForm.inc.php.

References AppLocale\requireComponents().


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