Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
NotificationSettingsForm Class Reference
Inheritance diagram for NotificationSettingsForm:
PKPNotificationSettingsForm Form

Public Member Functions

 _getNotificationSettingCategories ()
 
 _getNotificationSettingsMap ()
 
 execute ($request)
 
 NotificationSettingsForm ()
 
 readInputData ()
 
- Public Member Functions inherited from PKPNotificationSettingsForm
 display ($request)
 
 PKPNotificationSettingsForm ()
 
- 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
 
 $requiredLocale
 
 $supportedLocales
 

Detailed Description

Form to edit notification settings.

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

Member Function Documentation

NotificationSettingsForm::_getNotificationSettingCategories ( )

Get a list of notification category names (to display as headers) and the notification types under each category

Returns
array

Definition at line 63 of file NotificationSettingsForm.inc.php.

NotificationSettingsForm::_getNotificationSettingsMap ( )

Get all notification settings form names and their setting type values

Returns
array

Definition at line 44 of file NotificationSettingsForm.inc.php.

Referenced by execute(), and readInputData().

NotificationSettingsForm::execute (   $request)

Save site settings.

Definition at line 85 of file NotificationSettingsForm.inc.php.

References _getNotificationSettingsMap(), DAORegistry\getDAO(), and Form\getData().

NotificationSettingsForm::NotificationSettingsForm ( )

Constructor.

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

NotificationSettingsForm::readInputData ( )

Assign form data to user-submitted data.

Definition at line 30 of file NotificationSettingsForm.inc.php.

References _getNotificationSettingsMap(), and Form\readUserVars().


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