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

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

 $emailKey
 
 $journal
 
- Public Attributes inherited from Form
 $_checks
 
 $_data
 
 $_errors
 
 $_template
 
 $cssValidation
 
 $errorFields
 
 $errorsArray
 
 $formSectionErrors
 

Detailed Description

Form for creating and modifying email templates.

See Also
EmailTemplateDAO

Definition at line 19 of file EmailTemplateForm.inc.php.

Member Function Documentation

EmailTemplateForm::display ( )

Display the form.

Definition at line 47 of file EmailTemplateForm.inc.php.

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

EmailTemplateForm::EmailTemplateForm (   $emailKey,
$journal 
)

Constructor.

Parameters
$emailKeystring

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

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

EmailTemplateForm::execute ( )

Save email template.

Definition at line 108 of file EmailTemplateForm.inc.php.

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 EmailTemplateForm.inc.php.

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

EmailTemplateForm::readInputData ( )

Assign form data to user-submitted data.

Definition at line 96 of file EmailTemplateForm.inc.php.

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

Member Data Documentation

EmailTemplateForm::$emailKey

The key of the email template being edited

Definition at line 22 of file EmailTemplateForm.inc.php.

Referenced by EmailTemplateForm().

EmailTemplateForm::$journal

The conference of the email template being edited

Definition at line 25 of file EmailTemplateForm.inc.php.

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


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