EditCommentForm Class Reference
[Submission_form]

Edit comment form. More...

Inheritance diagram for EditCommentForm:

Form

List of all members.

Public Member Functions

 display ($additionalHiddenParams=null)
 EditCommentForm (&$article, &$comment)
 email ($recipients)
 emailHelper ()
 execute ()
 initData ()
 readInputData ()


Detailed Description

Edit comment form.

Definition at line 20 of file EditCommentForm.inc.php.


Member Function Documentation

EditCommentForm.display ( additionalHiddenParams = null  ) 

Display the form.

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

References TemplateManager.getManager().

EditCommentForm.EditCommentForm ( &$  article,
&$  comment 
)

Constructor.

Parameters:
$article object
$comment object

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

References Form.addCheck(), and Request.getUser().

EditCommentForm.email ( recipients  ) 

Email the comment.

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

Definition at line 295 of file EditCommentForm.inc.php.

References Form.getData(), and Request.getJournal().

EditCommentForm.emailHelper (  ) 

UGLEEE function that gets the recipients for a comment.

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

Definition at line 118 of file EditCommentForm.inc.php.

References DAORegistry.getDAO(), and Request.getJournal().

EditCommentForm.execute (  ) 

Update the comment.

Reimplemented from Form.

Definition at line 101 of file EditCommentForm.inc.php.

References Core.getCurrentDate(), DAORegistry.getDAO(), and Form.getData().

EditCommentForm.initData (  ) 

Initialize form data from current comment.

Reimplemented from Form.

Definition at line 53 of file EditCommentForm.inc.php.

EditCommentForm.readInputData (  ) 

Assign form data to user-submitted data.

Reimplemented from Form.

Definition at line 88 of file EditCommentForm.inc.php.

References Form.readUserVars().


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

Generated on Mon Jul 14 10:55:41 2008 for Open Journal Systems by  doxygen 1.5.6