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 ($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

Detailed Description

Form to change metadata information for an RT comment.

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


Member Function Documentation

CommentForm.CommentForm ( paper,
commentType,
roleId,
assocId = null 
)

Constructor.

Parameters:
$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.

Parameters:
$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.

References $comment, and $paper.

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 $comment, $user, Request.getConference(), and Request.getSchedConf().

CommentForm.initData (  ) 

Initialize form data from current comment.

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

References $comment, and $user.

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.

Parameters:
$user object

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

References $user.


The documentation for this class was generated from the following files:
Generated on 25 Jul 2013 for Open Conference Systems by  doxygen 1.4.7