Public Member Functions

NewNoteForm Class Reference

Form to display and post notes on a file. More...

Inheritance diagram for NewNoteForm:
NewFileNoteForm NewMonographNoteForm NewSignoffNoteForm

List of all members.

Public Member Functions

 execute (&$request)
 fetch (&$request)
 getAssocId ()
 getAssocType ()
 getNewNoteFormTemplate ()
 getSubmitNoteLocaleKey ()
 NewNoteForm ()
 readInputData ()

Detailed Description

Form to display and post notes on a file.

Definition at line 18 of file NewNoteForm.inc.php.


Member Function Documentation

NewNoteForm.execute ( &$  request  ) 

Register a new user.

Returns:
userId int
See also:
Form.execute()

Definition at line 94 of file NewNoteForm.inc.php.

References getAssocId(), and getAssocType().

NewNoteForm.fetch ( &$  request  ) 

Fetch the form.

See also:
Form.fetch()

Definition at line 66 of file NewNoteForm.inc.php.

References getAssocId(), getAssocType(), getNewNoteFormTemplate(), and getSubmitNoteLocaleKey().

NewNoteForm.getAssocId (  ) 

Return the assoc ID for this note.

Returns:
int

Reimplemented in NewSignoffNoteForm, NewFileNoteForm, and NewMonographNoteForm.

Definition at line 40 of file NewNoteForm.inc.php.

Referenced by execute(), and fetch().

NewNoteForm.getAssocType (  ) 

Return the assoc type for this note.

Returns:
int

Reimplemented in NewSignoffNoteForm, NewFileNoteForm, and NewMonographNoteForm.

Definition at line 32 of file NewNoteForm.inc.php.

Referenced by execute(), and fetch().

NewNoteForm.getNewNoteFormTemplate (  ) 

Get the new note form template. Subclasses can override this method to define other template.

Returns:
string

Reimplemented in NewSignoffNoteForm.

Definition at line 58 of file NewNoteForm.inc.php.

Referenced by fetch().

NewNoteForm.getSubmitNoteLocaleKey (  ) 

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

Returns:
string

Reimplemented in NewSignoffNoteForm, NewFileNoteForm, and NewMonographNoteForm.

Definition at line 49 of file NewNoteForm.inc.php.

Referenced by fetch().

NewNoteForm.NewNoteForm (  ) 
NewNoteForm.readInputData (  ) 

Assign form data to user-submitted data.

See also:
Form.readInputData()

Reimplemented in NewSignoffNoteForm.

Definition at line 82 of file NewNoteForm.inc.php.


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