Displays a submission's catalog metadata entry form. More...
Public Member Functions | |
| _buildSurrogateImage (&$cover, $basePath, $type) | |
| CatalogEntryCatalogMetadataForm ($monographId, $userId, $stageId=null, $formParams=null) | |
| execute (&$request) | |
| fetch (&$request) | |
| getFormParams () | |
| & | getMonograph () |
| & | getPublishedMonograph () |
| getStageId () | |
| readInputData () | |
| validate () | |
Public Attributes | |
| $_formParams | |
Displays a submission's catalog metadata entry form.
Definition at line 31 of file CatalogEntryCatalogMetadataForm.inc.php.
| CatalogEntryCatalogMetadataForm._buildSurrogateImage | ( | &$ | cover, | |
| $ | basePath, | |||
| $ | type | |||
| ) |
Generates a surrogate image used either as a thumbnail or in the catalog.
| resource | $cover the cover image uploaded. | |
| string | $basePath base file path. | |
| int | $type the type of image to create. |
Definition at line 293 of file CatalogEntryCatalogMetadataForm.inc.php.
Referenced by execute().
| CatalogEntryCatalogMetadataForm.CatalogEntryCatalogMetadataForm | ( | $ | monographId, | |
| $ | userId, | |||
| $ | stageId = null, |
|||
| $ | formParams = null | |||
| ) |
Constructor.
| $monographId | integer | |
| $userId | integer | |
| $stageId | integer | |
| $formParams | array |
Definition at line 63 of file CatalogEntryCatalogMetadataForm.inc.php.
| CatalogEntryCatalogMetadataForm.execute | ( | &$ | request | ) |
Save the metadata and store the catalog data for this published monograph.
Definition at line 199 of file CatalogEntryCatalogMetadataForm.inc.php.
References _buildSurrogateImage(), and getMonograph().
| CatalogEntryCatalogMetadataForm.fetch | ( | &$ | request | ) |
Fetch the HTML contents of the form.
| $request | PKPRequest return string |
Definition at line 78 of file CatalogEntryCatalogMetadataForm.inc.php.
References getFormParams(), getMonograph(), getPublishedMonograph(), and getStageId().
| CatalogEntryCatalogMetadataForm.getFormParams | ( | ) |
Get the extra form parameters.
Definition at line 156 of file CatalogEntryCatalogMetadataForm.inc.php.
Referenced by fetch().
| & CatalogEntryCatalogMetadataForm.getMonograph | ( | ) |
| & CatalogEntryCatalogMetadataForm.getPublishedMonograph | ( | ) |
Get the PublishedMonograph
Definition at line 141 of file CatalogEntryCatalogMetadataForm.inc.php.
Referenced by fetch().
| CatalogEntryCatalogMetadataForm.getStageId | ( | ) |
Get the stage id
Definition at line 149 of file CatalogEntryCatalogMetadataForm.inc.php.
Referenced by fetch().
| CatalogEntryCatalogMetadataForm.readInputData | ( | ) |
Assign form data to user-submitted data.
Definition at line 163 of file CatalogEntryCatalogMetadataForm.inc.php.
| CatalogEntryCatalogMetadataForm.validate | ( | ) |
Validate the form.
Definition at line 176 of file CatalogEntryCatalogMetadataForm.inc.php.
| CatalogEntryCatalogMetadataForm.$_formParams |
Parameters to configure the form template.
Definition at line 54 of file CatalogEntryCatalogMetadataForm.inc.php.
1.7.1