Public Member Functions | Public Attributes

SubmissionMetadataViewForm Class Reference

Displays a submission's metadata view. More...

Inheritance diagram for SubmissionMetadataViewForm:
CatalogEntrySubmissionReviewForm

List of all members.

Public Member Functions

 deleteEntry (&$request, $rowId)
 execute ($request)
 fetch (&$request)
 getFormParams ()
 getLocaleFieldNames ()
getMonograph ()
 getStageId ()
 initData ($args, &$request)
 insertEntry (&$request, $newRowId)
 readInputData ()
 SubmissionMetadataViewForm ($monographId, $stageId=null, $formParams=null, $templateName= 'controllers/modals/submissionMetadata/form/submissionMetadataViewForm.tpl')
 updateEntry ($request, $rowId, $newRowId)

Public Attributes

 $_formParams
 $_monograph
 $_stageId

Detailed Description

Displays a submission's metadata view.

Definition at line 20 of file SubmissionMetadataViewForm.inc.php.


Member Function Documentation

SubmissionMetadataViewForm.deleteEntry ( &$  request,
rowId 
)

Delete a category association.

See also:
ListbuilderHandler.deleteEntry

Definition at line 215 of file SubmissionMetadataViewForm.inc.php.

References getMonograph().

Referenced by updateEntry().

SubmissionMetadataViewForm.execute ( request  ) 

Save changes to monograph.

Parameters:
$request PKPRequest

Definition at line 162 of file SubmissionMetadataViewForm.inc.php.

References getMonograph(), and MonographSearchIndex.indexMonographMetadata().

SubmissionMetadataViewForm.fetch ( &$  request  ) 

Fetch the HTML contents of the form.

Parameters:
$request PKPRequest return string

Definition at line 120 of file SubmissionMetadataViewForm.inc.php.

References getFormParams(), getMonograph(), and getStageId().

SubmissionMetadataViewForm.getFormParams (  ) 

Get the extra form parameters.

Definition at line 84 of file SubmissionMetadataViewForm.inc.php.

Referenced by fetch().

SubmissionMetadataViewForm.getLocaleFieldNames (  ) 

Get the names of fields for which data should be localized

Returns:
array

Definition at line 96 of file SubmissionMetadataViewForm.inc.php.

& SubmissionMetadataViewForm.getMonograph (  ) 
SubmissionMetadataViewForm.getStageId (  ) 

Get the Stage Id

Returns:
int

Definition at line 77 of file SubmissionMetadataViewForm.inc.php.

Referenced by fetch().

SubmissionMetadataViewForm.initData ( args,
&$  request 
)

Initialize form data with the author name and the monograph id.

Parameters:
$args array
$request PKPRequest

Definition at line 105 of file SubmissionMetadataViewForm.inc.php.

References getMonograph().

SubmissionMetadataViewForm.insertEntry ( &$  request,
newRowId 
)

Associate a category with a monograph.

See also:
ListbuilderHandler.insertEntry

Definition at line 190 of file SubmissionMetadataViewForm.inc.php.

References getMonograph().

Referenced by updateEntry().

SubmissionMetadataViewForm.readInputData (  ) 

Assign form data to user-submitted data.

Reimplemented in CatalogEntrySubmissionReviewForm.

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

SubmissionMetadataViewForm.SubmissionMetadataViewForm ( monographId,
stageId = null,
formParams = null,
templateName = 'controllers/modals/submissionMetadata/form/submissionMetadataViewForm.tpl' 
)

Constructor.

Parameters:
$monographId integer
$stageId integer
$formParams array

Definition at line 42 of file SubmissionMetadataViewForm.inc.php.

Referenced by CatalogEntrySubmissionReviewForm.CatalogEntrySubmissionReviewForm().

SubmissionMetadataViewForm.updateEntry ( request,
rowId,
newRowId 
)

Update a category association.

See also:
ListbuilderHandler.updateEntry

Definition at line 235 of file SubmissionMetadataViewForm.inc.php.

References deleteEntry(), and insertEntry().


Member Data Documentation

SubmissionMetadataViewForm.$_formParams

Parameters to configure the form template.

Definition at line 31 of file SubmissionMetadataViewForm.inc.php.

SubmissionMetadataViewForm.$_monograph

The monograph used to show metadata information

Definition at line 23 of file SubmissionMetadataViewForm.inc.php.

SubmissionMetadataViewForm.$_stageId

The current stage id

Definition at line 26 of file SubmissionMetadataViewForm.inc.php.


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