fileId = $fileId; } /** * Return the assoc type for this note. * * @return int */ public function getAssocType() { return Application::ASSOC_TYPE_SUBMISSION_FILE; } /** * Return the submit note button locale key. * Can be overriden by subclasses. * * @return string */ public function getSubmitNoteLocaleKey() { return 'informationCenter.addNote'; } /** * Return the assoc ID for this note. * * @return int */ public function getAssocId() { return $this->fileId; } /** * @copydoc NewFileNoteForm::fetch() * * @param null|mixed $template */ public function fetch($request, $template = null, $display = false) { $templateMgr = TemplateManager::getManager($request); $templateMgr->assign('showEarlierEntries', true); return parent::fetch($request, $template, $display); } }