/**
  * Create an array that describes an uploaded file which can
  * be used in a JSON response.
  * @param SubmissionFile $uploadedFile
  * @return array
  */
 function _getUploadedFileInfo($uploadedFile)
 {
     return array('uploadedFile' => array('fileId' => $uploadedFile->getFileId(), 'revision' => $uploadedFile->getRevision(), 'name' => $uploadedFile->getLocalizedName(), 'fileLabel' => $uploadedFile->getFileLabel(), 'type' => $uploadedFile->getDocumentType(), 'genreId' => $uploadedFile->getGenreId()));
 }
 /**
  * Create an array that describes an uploaded file which can
  * be used in a JSON response.
  * @param SubmissionFile $uploadedFile
  * @return array
  */
 function _getUploadedFileInfo($uploadedFile)
 {
     return array('uploadedFile' => array('fileId' => $uploadedFile->getFileId(), 'revision' => $uploadedFile->getRevision()));
 }