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

Public Member Functions

 BookForReviewForm ($parentPluginName, $bookId=null)
 display ()
 execute ()
 getLocaleFieldNames ()
 initData ()
 readInputData ()
 validate ()
- 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

Detailed Description

Form for journal managers to create/edit books for review.

Definition at line 20 of file

Member Function Documentation

BookForReviewForm::BookForReviewForm (   $parentPluginName,
  $bookId = null 


bookIdint leave as default for new book

Definition at line 43 of file

References Form\addCheck(), DAORegistry\getDAO(), Request\getJournal(), and PluginRegistry\getPlugin().

BookForReviewForm::display ( )

Display the form.

Definition at line 113 of file

BookForReviewForm::getLocaleFieldNames ( )

Get the field names for which data can be localized


Definition at line 187 of file

BookForReviewForm::initData ( )

Initialize form data.

Definition at line 139 of file

BookForReviewForm::readInputData ( )

Assign form data to user-submitted data.

Definition at line 202 of file

References Form\addCheck(), and Form\readUserVars().

BookForReviewForm::validate ( )

Check to ensure that the form is correctly validated.

Definition at line 247 of file

References Form\addError().

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