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

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
 $_checks
 
 $_data
 
 $_errors
 
 $_template
 
 $cssValidation
 
 $errorFields
 
 $errorsArray
 
 $formSectionErrors
 

Detailed Description

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

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

Member Function Documentation

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

Constructor

Parameters
bookIdint leave as default for new book

Definition at line 43 of file BookForReviewForm.inc.php.

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

BookForReviewForm::display ( )

Display the form.

Definition at line 113 of file BookForReviewForm.inc.php.

BookForReviewForm::getLocaleFieldNames ( )

Get the field names for which data can be localized

Returns
array

Definition at line 187 of file BookForReviewForm.inc.php.

BookForReviewForm::initData ( )

Initialize form data.

Definition at line 139 of file BookForReviewForm.inc.php.

BookForReviewForm::readInputData ( )

Assign form data to user-submitted data.

Definition at line 202 of file BookForReviewForm.inc.php.

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

BookForReviewForm::validate ( )

Check to ensure that the form is correctly validated.

Definition at line 247 of file BookForReviewForm.inc.php.

References Form\addError().


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