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

Public Member Functions

 display ()
 
 execute ($issueId=0)
 
 getLocaleFieldNames ()
 
 initData ($issueId=null)
 
 IssueForm ($template)
 
 readInputData ()
 
 validate ($issue=null)
 
- 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 to create or edit an issue.

See Also
Issue

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

Member Function Documentation

IssueForm::display ( )

Display the form.

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

References Request\getJournal(), and PluginRegistry\loadCategory().

IssueForm::execute (   $issueId = 0)

Save issue settings.

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

References DAORegistry\getDAO(), Form\getData(), Form\getFormLocale(), and Request\getJournal().

IssueForm::getLocaleFieldNames ( )

Get a list of fields for which localization should be used.

Returns
array

Definition at line 40 of file IssueForm.inc.php.

References DAORegistry\getDAO().

IssueForm::initData (   $issueId = null)

Initialize form data from current issue. returns issue id that it initialized the page with

Definition at line 129 of file IssueForm.inc.php.

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

IssueForm::IssueForm (   $template)

Constructor.

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

References Form\addCheck().

IssueForm::readInputData ( )

Assign form data to user-submitted data.

Definition at line 256 of file IssueForm.inc.php.

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

IssueForm::validate (   $issue = null)

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