Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct ($userId) | |
execute (... $functionArgs) | |
fetch ($request, $template=null, $display=false) | |
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) | |
Data Fields | |
$userId | |
Data Fields inherited from Form | |
$_checks | |
$_data | |
$_errors | |
$_template | |
$cssValidation | |
$defaultLocale | |
$errorFields | |
$errorsArray | |
$formSectionErrors | |
$requiredLocale | |
$supportedLocales | |
Form for sending an email to a user.
Definition at line 18 of file UserEmailForm.inc.php.
UserEmailForm::__construct | ( | $userId | ) |
Constructor.
$userId | int User ID to contact. |
Definition at line 30 of file UserEmailForm.inc.php.
References $userId, and Form\addCheck().
UserEmailForm::execute | ( | $functionArgs | ) |
Send the email 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 73 of file UserEmailForm.inc.php.
References PKPApplication\get(), DAORegistry\getDAO(), and Form\getData().
UserEmailForm::fetch | ( | $request, | |
$template = null , |
|||
$display = false |
|||
) |
Reimplemented from Form.
Definition at line 55 of file UserEmailForm.inc.php.
References DAORegistry\getDAO(), and PKPTemplateManager\getManager().
UserEmailForm::readInputData | ( | ) |
Assign form data to user-submitted data.
Reimplemented from Form.
Definition at line 45 of file UserEmailForm.inc.php.
References Form\readUserVars().
UserEmailForm::$userId |
Definition at line 24 of file UserEmailForm.inc.php.
Referenced by __construct().