Public Member Functions

CommentForm Class Reference
[Submission_form]

Form to change metadata information for an RT comment. More...

Inheritance diagram for CommentForm:
DirectorDecisionCommentForm PeerReviewCommentForm

List of all members.

Public Member Functions

 CommentForm ($commentId, $paperId, $galleyId, $parentId=null)
 CommentForm ($paper, $commentType, $roleId, $assocId=null)
 display ()
 display ()
 email ($recipients)
 execute ()
 execute ()
 initData ()
 readInputData ()
 readInputData ()
 setUser (&$user)

Detailed Description

Form to change metadata information for an RT comment.

Comment form.

Definition at line 25 of file CommentForm.inc.php.


Member Function Documentation

CommentForm.CommentForm ( commentId,
paperId,
galleyId,
parentId = null 
)
CommentForm.CommentForm ( paper,
commentType,
roleId,
assocId = null 
)

Constructor.

Parameters:
$paper object

Definition at line 44 of file CommentForm.inc.php.

CommentForm.display (  ) 

Display the form.

Reimplemented in DirectorDecisionCommentForm, and PeerReviewCommentForm.

Definition at line 76 of file CommentForm.inc.php.

References display().

CommentForm.display (  ) 

Display the form.

Reimplemented in DirectorDecisionCommentForm, and PeerReviewCommentForm.

Definition at line 102 of file CommentForm.inc.php.

References Request.getConference(), and Request.getSchedConf().

Referenced by display().

CommentForm.email ( recipients  ) 

Email the comment.

Parameters:
$recipients array of recipients (email address => name)

Definition at line 130 of file CommentForm.inc.php.

References Request.getSchedConf().

CommentForm.execute (  ) 

Save changes to comment.

Returns:
int the comment ID

Reimplemented in DirectorDecisionCommentForm, and PeerReviewCommentForm.

Definition at line 166 of file CommentForm.inc.php.

References Request.getConference(), and Request.getSchedConf().

CommentForm.execute (  ) 

Add the comment.

Reimplemented in DirectorDecisionCommentForm, and PeerReviewCommentForm.

Definition at line 107 of file CommentForm.inc.php.

CommentForm.initData (  ) 

Initialize form data from current comment.

Definition at line 77 of file CommentForm.inc.php.

CommentForm.readInputData (  ) 

Assign form data to user-submitted data.

Reimplemented in DirectorDecisionCommentForm, and PeerReviewCommentForm.

Definition at line 147 of file CommentForm.inc.php.

CommentForm.readInputData (  ) 

Assign form data to user-submitted data.

Reimplemented in DirectorDecisionCommentForm, and PeerReviewCommentForm.

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

CommentForm.setUser ( &$  user  ) 

Set the user this comment form is associated with.

Parameters:
$user object

Definition at line 69 of file CommentForm.inc.php.


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