Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
PeerReviewCommentForm Class Reference
Inheritance diagram for PeerReviewCommentForm:
CommentForm Form Form

Public Member Functions

 display ()
 
 execute ()
 
 PeerReviewCommentForm ($article, $reviewId, $roleId)
 
 readInputData ()
 
- Public Member Functions inherited from CommentForm
 CommentForm ($article, $commentType, $roleId, $assocId=null)
 
 CommentForm ($commentId, $articleId, $galleyId, $parentId=null)
 
 display ()
 
 display ()
 
 email ($recipients, $request)
 
 execute ()
 
 execute ()
 
 initData ()
 
 readInputData ()
 
 readInputData ()
 
 setUser (&$user)
 
- Public Member Functions inherited from Form
 _decomposeArray ($name, $value, $stack)
 
 addCheck ($formValidator)
 
 addError ($field, $message)
 
 addErrorField ($field)
 
 display ($request=null, $template=null)
 
 execute ($object=null)
 
 fetch (&$request, $template=null, $display=false)
 
 Form ($template=null, $callHooks=true, $requiredLocale=null, $supportedLocales=null)
 
 getData ($key)
 
 getDefaultFormLocale ()
 
 getErrorsArray ()
 
 getFormLocale ()
 
 getLocaleFieldNames ()
 
 getRequiredLocale ()
 
 getTemplate ()
 
 initData ()
 
 isLocaleResubmit ()
 
 isValid ()
 
 readInputData ()
 
 readUserDateVars ($vars)
 
 readUserVars ($vars)
 
 setData ($key, $value)
 
 setTemplate ($template)
 
 smartyFormLanguageChooser ($params, &$smarty)
 
 validate ($callHooks=true)
 

Additional Inherited Members

- Public Attributes inherited from Form
 $_checks
 
 $_data
 
 $_errors
 
 $_template
 
 $cssValidation
 
 $errorFields
 
 $errorsArray
 
 $formSectionErrors
 

Detailed Description

Comment form.

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

Member Function Documentation

PeerReviewCommentForm::display ( )

Display the form.

Definition at line 38 of file PeerReviewCommentForm.inc.php.

References DAORegistry\getDAO().

PeerReviewCommentForm::execute ( )

Add the comment.

Definition at line 79 of file PeerReviewCommentForm.inc.php.

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

PeerReviewCommentForm::PeerReviewCommentForm (   $article,
  $reviewId,
  $roleId 
)

Constructor.

Parameters
$articleobject

Definition at line 30 of file PeerReviewCommentForm.inc.php.

PeerReviewCommentForm::readInputData ( )

Assign form data to user-submitted data.

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

References Form\readUserVars().


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