Open Journal Systems  2.4.8
 All Classes Namespaces Functions Variables Groups Pages
AnnouncementForm Class Reference

Inherits PKPAnnouncementForm.

Public Member Functions

 _setAnnouncementAssocId (&$announcement)
 AnnouncementForm ($journalId, $announcementId=null)
 display ()
 execute (&$request)
- Public Member Functions inherited from PKPAnnouncementForm
 display ()
 execute ()
 getContextId ()
 getLocaleFieldNames ()
 initData ()
 PKPAnnouncementForm ($contextId, $announcementId=null)
 readInputData ()
 setDateExpire (&$announcement)
- 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

Detailed Description

Form for journal managers to create/edit announcements.

Form for managers to create/edit announcements.

Definition at line 22 of file

Member Function Documentation

AnnouncementForm::_setAnnouncementAssocId ( $announcement)

Helper function to assign the AssocType and the AssocId

Announcementthe announcement to be modified

Definition at line 52 of file

AnnouncementForm::AnnouncementForm (   $journalId,
  $announcementId = null 


announcementIdint leave as default for new announcement

Definition at line 27 of file

References Form\addCheck().

AnnouncementForm::display ( )

Display the form.

Definition at line 37 of file

AnnouncementForm::execute ( $request)

Save announcement.


Definition at line 62 of file

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

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