Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
NewFileNoteForm Class Reference
Inheritance diagram for NewFileNoteForm:
NewNoteForm Form

Public Member Functions

 fetch ($request)
 
 getAssocId ()
 
 getAssocType ()
 
 getSubmitNoteLocaleKey ()
 
 NewFileNoteForm ($fileId)
 
- Public Member Functions inherited from NewNoteForm
 execute ($request)
 
 fetch ($request)
 
 getAssocId ()
 
 getAssocType ()
 
 getNewNoteFormTemplate ()
 
 getSubmitNoteLocaleKey ()
 
 NewNoteForm ()
 
 readInputData ()
 
- Public Member Functions inherited from Form
 _decomposeArray ($name, $value, $stack)
 
 addCheck ($formValidator)
 
 addError ($field, $message)
 
 addErrorField ($field)
 
 display ($request=null, $template=null)
 
 execute ($object=null)
 
 fetch ($request, $template=null, $display=false)
 
 Form ($template=null, $callHooks=true, $requiredLocale=null, $supportedLocales=null)
 
 getData ($key)
 
 getDefaultFormLocale ()
 
 getErrorsArray ()
 
 getFormLocale ()
 
 getLocaleFieldNames ()
 
 getRequiredLocale ()
 
 getTemplate ()
 
 initData ()
 
 isLocaleResubmit ()
 
 isValid ()
 
 readInputData ()
 
 readUserDateVars ($vars)
 
 readUserVars ($vars)
 
 setData ($key, $value)
 
 setTemplate ($template)
 
 smartyFormLanguageChooser ($params, &$smarty)
 
 validate ($callHooks=true)
 

Public Attributes

 $fileId
 
- Public Attributes inherited from Form
 $_checks
 
 $_data
 
 $_errors
 
 $_template
 
 $cssValidation
 
 $errorFields
 
 $errorsArray
 
 $formSectionErrors
 
 $requiredLocale
 
 $supportedLocales
 

Detailed Description

Form to display and post notes on a file.

Definition at line 19 of file NewFileNoteForm.inc.php.

Member Function Documentation

NewFileNoteForm::fetch (   $request)

Definition at line 63 of file NewFileNoteForm.inc.php.

NewFileNoteForm::getAssocId ( )

Return the assoc ID for this note.

Returns
int

Definition at line 56 of file NewFileNoteForm.inc.php.

NewFileNoteForm::getAssocType ( )

Return the assoc type for this note.

Returns
int

Definition at line 39 of file NewFileNoteForm.inc.php.

NewFileNoteForm::getSubmitNoteLocaleKey ( )

Return the submit note button locale key. Can be overriden by subclasses.

Returns
string

Definition at line 48 of file NewFileNoteForm.inc.php.

References $fileId.

NewFileNoteForm::NewFileNoteForm (   $fileId)

Constructor.

Definition at line 29 of file NewFileNoteForm.inc.php.

Member Data Documentation

int NewFileNoteForm::$fileId

The ID of the submission file to attach the note to

Definition at line 24 of file NewFileNoteForm.inc.php.

Referenced by getSubmitNoteLocaleKey().


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