Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct () | |
execute (... $functionParams) | |
fetch ($request, $template=null, $display=false) | |
getNotificationSettingCategories () | |
readInputData () | |
Public Member Functions inherited from Form | |
__construct ($template=null, $callHooks=true, $requiredLocale=null, $supportedLocales=null) | |
_decomposeArray ($name, $value, $stack) | |
addCheck ($formValidator) | |
addError ($field, $message) | |
addErrorField ($field) | |
addSupportedFormLocale ($supportedLocale) | |
display ($request=null, $template=null) | |
getData ($key) | |
getDefaultFormLocale () | |
getErrorsArray () | |
getLocaleFieldNames () | |
getRequiredLocale () | |
getTemplate () | |
initData () | |
isValid () | |
readUserVars ($vars) | |
setData ($key, $value=null) | |
setDefaultFormLocale ($defaultLocale) | |
setTemplate ($template) | |
validate ($callHooks=true) | |
Protected Member Functions | |
getNotificationSettingsMap () | |
Additional Inherited Members | |
Data Fields inherited from Form | |
$_checks | |
$_data | |
$_errors | |
$_template | |
$cssValidation | |
$defaultLocale | |
$errorFields | |
$errorsArray | |
$formSectionErrors | |
$requiredLocale | |
$supportedLocales | |
Form to edit notification settings.
Definition at line 22 of file PKPNotificationSettingsForm.inc.php.
PKPNotificationSettingsForm::__construct | ( | ) |
Constructor.
Definition at line 26 of file PKPNotificationSettingsForm.inc.php.
References Form\addCheck().
PKPNotificationSettingsForm::execute | ( | $functionParams | ) |
Execute the form's action. (Note that it is assumed that the form has already been validated.)
mixed | $functionArgs,... | Arguments from the caller to be passed to the hook consumer |
Reimplemented from Form.
Definition at line 146 of file PKPNotificationSettingsForm.inc.php.
References PKPApplication\get(), DAORegistry\getDAO(), Form\getData(), and getNotificationSettingsMap().
PKPNotificationSettingsForm::fetch | ( | $request, | |
$template = null , |
|||
$display = false |
|||
) |
Returns a string of the rendered form
$request | PKPRequest |
$template | string the template to be rendered, mandatory if no template has been specified on class instantiation. |
$display | boolean |
Reimplemented from Form.
Definition at line 128 of file PKPNotificationSettingsForm.inc.php.
References DAORegistry\getDAO(), and PKPTemplateManager\getManager().
PKPNotificationSettingsForm::getNotificationSettingCategories | ( | ) |
Get a list of notification category names (to display as headers) and the notification types under each category
Reimplemented in NotificationSettingsForm.
Definition at line 89 of file PKPNotificationSettingsForm.inc.php.
References HookRegistry\call(), and strtolower_codesafe().
|
protected |
Get all notification settings form names and their setting type values
Reimplemented in NotificationSettingsForm.
Definition at line 51 of file PKPNotificationSettingsForm.inc.php.
References HookRegistry\call(), and strtolower_codesafe().
Referenced by execute(), and readInputData().
PKPNotificationSettingsForm::readInputData | ( | ) |
Assign form data to user-submitted data.
Reimplemented from Form.
Definition at line 37 of file PKPNotificationSettingsForm.inc.php.
References getNotificationSettingsMap(), and Form\readUserVars().