00001 <?php 00002 00016 import('controllers.informationCenter.form.NewNoteForm'); 00017 00018 class NewFileNoteForm extends NewNoteForm { 00020 var $fileId; 00021 00025 function NewFileNoteForm($fileId) { 00026 parent::NewNoteForm(); 00027 00028 $this->fileId = $fileId; 00029 } 00030 00035 function getAssocType() { 00036 return ASSOC_TYPE_MONOGRAPH_FILE; 00037 } 00038 00044 function getSubmitNoteLocaleKey() { 00045 return 'informationCenter.addFileNote'; 00046 } 00047 00052 function getAssocId() { 00053 return $this->fileId; 00054 } 00055 } 00056 00057 ?>
1.7.1