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

Public Member Functions

 display ()
 execute ()
 getLocaleFieldNames ()
 initData ()
 readInputData ()
 ReferralForm (&$plugin, &$article, $referralId=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

Detailed Description

Form for authors to create/edit referrals.

See Also

Definition at line 19 of file

Member Function Documentation

ReferralForm::display ( )

Display the form.

Definition at line 55 of file

ReferralForm::execute ( )

Save referral.

Definition at line 95 of file

References Core\getCurrentDate(), DAORegistry\getDAO(), and Form\getData().

ReferralForm::getLocaleFieldNames ( )

Get a list of localized field names for this form


Definition at line 47 of file

References DAORegistry\getDAO().

ReferralForm::initData ( )

Initialize form data from current referral.

Definition at line 67 of file

References DAORegistry\getDAO().

ReferralForm::readInputData ( )

Assign form data to user-submitted data.

Definition at line 88 of file

References Form\readUserVars().

ReferralForm::ReferralForm ( $plugin,
  $referralId = null 


referralIdint leave as default for new referral

Definition at line 30 of file

References Form\addCheck().

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