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

Public Member Functions

 display ()
 EmailTemplateForm ($emailKey, &$journal)
 execute ()
 initData ()
 readInputData ()
- 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)

Public Attributes

- Public Attributes inherited from Form

Detailed Description

Form for creating and modifying email templates.

See Also

Definition at line 19 of file

Member Function Documentation

EmailTemplateForm::display ( )

Display the form.

Definition at line 47 of file

References $journal, DAORegistry\getDAO(), and Request\getJournal().

EmailTemplateForm::EmailTemplateForm (   $emailKey,



Definition at line 31 of file

References $emailKey, $journal, and Form\addCheck().

EmailTemplateForm::execute ( )

Save email template.

Definition at line 108 of file

References $journal, DAORegistry\getDAO(), Form\getData(), Request\getJournal(), and AppLocale\getLocale().

EmailTemplateForm::initData ( )

Initialize form data from current settings.

Definition at line 62 of file

References $journal, DAORegistry\getDAO(), Request\getJournal(), and AppLocale\getLocale().

EmailTemplateForm::readInputData ( )

Assign form data to user-submitted data.

Definition at line 96 of file

References DAORegistry\getDAO(), and Form\readUserVars().

Member Data Documentation


The key of the email template being edited

Definition at line 22 of file

Referenced by EmailTemplateForm().


The conference of the email template being edited

Definition at line 25 of file

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

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