Inheritance diagram for CommentForm:
Public Member Functions | |
CommentForm ($paper, $commentType, $roleId, $assocId=null) | |
CommentForm ($commentId, $paperId, $galleyId, $parentId=null) | |
display () | |
display () | |
email ($recipients) | |
execute () | |
execute () | |
initData () | |
readInputData () | |
readInputData () | |
setUser (&$user) | |
Public Attributes | |
$captchaEnabled | |
$comment | |
$commentId | |
$commentType | |
$galleyId | |
$paper | |
$paperId | |
$parentId | |
$roleId | |
$user |
Definition at line 25 of file CommentForm.inc.php.
CommentForm.CommentForm | ( | $ | paper, | |
$ | commentType, | |||
$ | roleId, | |||
$ | assocId = null | |||
) |
Constructor.
$paper | object |
Definition at line 44 of file CommentForm.inc.php.
References $commentType, $paper, and $roleId.
CommentForm.CommentForm | ( | $ | commentId, | |
$ | paperId, | |||
$ | galleyId, | |||
$ | parentId = null | |||
) |
Constructor.
Definition at line 48 of file CommentForm.inc.php.
References $commentId, $galleyId, $paperId, and $parentId.
CommentForm.display | ( | ) |
Display the form.
Reimplemented in DirectorDecisionCommentForm, and PeerReviewCommentForm.
Definition at line 76 of file CommentForm.inc.php.
References $paper.
CommentForm.display | ( | ) |
Display the form.
Reimplemented in DirectorDecisionCommentForm, and PeerReviewCommentForm.
Definition at line 102 of file CommentForm.inc.php.
References $user, Request.getConference(), and Request.getSchedConf().
CommentForm.email | ( | $ | recipients | ) |
Email the comment.
$recipients | array of recipients (email address => name) |
Definition at line 130 of file CommentForm.inc.php.
References $paper, and Request.getSchedConf().
CommentForm.execute | ( | ) |
Add the comment.
Reimplemented in DirectorDecisionCommentForm, and PeerReviewCommentForm.
Definition at line 107 of file CommentForm.inc.php.
CommentForm.execute | ( | ) |
Save changes to comment.
Reimplemented in DirectorDecisionCommentForm, and PeerReviewCommentForm.
Definition at line 166 of file CommentForm.inc.php.
References $comment, $user, Request.getConference(), and Request.getSchedConf().
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 94 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.setUser | ( | &$ | user | ) |
Set the user this comment form is associated with.
$user | object |
Definition at line 69 of file CommentForm.inc.php.
References $user.