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

Public Member Functions

 display ()
 
 email ()
 
 execute ()
 
 LayoutCommentForm ($article, $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

LayoutComment form.

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

Member Function Documentation

LayoutCommentForm::display ( )

Display the form.

Definition at line 31 of file LayoutCommentForm.inc.php.

LayoutCommentForm::email ( )

Email the comment.

Definition at line 62 of file LayoutCommentForm.inc.php.

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

LayoutCommentForm::execute ( )

Add the comment.

Definition at line 55 of file LayoutCommentForm.inc.php.

LayoutCommentForm::LayoutCommentForm (   $article,
  $roleId 
)

Constructor.

Parameters
$articleobject

Definition at line 24 of file LayoutCommentForm.inc.php.

LayoutCommentForm::readInputData ( )

Assign form data to user-submitted data.

Definition at line 48 of file LayoutCommentForm.inc.php.


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