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

Public Member Functions

 display ()
 
 execute ($fileName=null)
 
getGalley ()
 
 getGalleyId ()
 
 getIssueId ()
 
 initData ()
 
 IssueGalleyForm ($issueId, $galleyId=null)
 
 readInputData ()
 
 setGalley ($galley)
 
 setIssueId ($issueId)
 
 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

Issue galley editing form.

See Also
IssueGalley

Definition at line 23 of file IssueGalleyForm.inc.php.

Member Function Documentation

IssueGalleyForm::display ( )

Display the form.

Definition at line 127 of file IssueGalleyForm.inc.php.

References getGalley(), getGalleyId(), getIssueId(), and Request\getJournal().

IssueGalleyForm::execute (   $fileName = null)

Save changes to the galley.

Returns
int the galley ID

Definition at line 195 of file IssueGalleyForm.inc.php.

References DAORegistry\getDAO(), Form\getData(), getGalley(), getGalleyId(), getIssueId(), Request\getJournal(), and setGalley().

& IssueGalleyForm::getGalley ( )

Get issue galley.

Returns
IssueGalley

Definition at line 99 of file IssueGalleyForm.inc.php.

Referenced by display(), execute(), getGalleyId(), and initData().

IssueGalleyForm::getGalleyId ( )

Get the galley ID.

Returns
int

Definition at line 115 of file IssueGalleyForm.inc.php.

References getGalley().

Referenced by display(), execute(), and validate().

IssueGalleyForm::getIssueId ( )

Get the issue ID.

Returns
int

Definition at line 83 of file IssueGalleyForm.inc.php.

Referenced by display(), and execute().

IssueGalleyForm::initData ( )

Initialize form data from current galley (if applicable).

Definition at line 164 of file IssueGalleyForm.inc.php.

References getGalley().

IssueGalleyForm::IssueGalleyForm (   $issueId,
  $galleyId = null 
)

Constructor.

Parameters
$issueIdint
$galleyIdint (optional)

Definition at line 35 of file IssueGalleyForm.inc.php.

References Form\addCheck(), DAORegistry\getDAO(), Request\getJournal(), setGalley(), and setIssueId().

IssueGalleyForm::readInputData ( )

Assign form data to user-submitted data.

Definition at line 181 of file IssueGalleyForm.inc.php.

References Form\readUserVars().

IssueGalleyForm::setGalley (   $galley)

Set issue galley.

Parameters
$galleyIssueGalley

Definition at line 107 of file IssueGalleyForm.inc.php.

Referenced by execute(), and IssueGalleyForm().

IssueGalleyForm::setIssueId (   $issueId)

Set the issue ID.

Parameters
$issueIdint

Definition at line 91 of file IssueGalleyForm.inc.php.

Referenced by IssueGalleyForm().

IssueGalleyForm::validate ( )

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