Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
AnnouncementTypeForm Class Reference

Inherits PKPAnnouncementTypeForm.

Public Member Functions

 _setAnnouncementTypeAssocId (&$announcementType)
 
 AnnouncementTypeForm ($typeId=null)
 
 display ()
 
- Public Member Functions inherited from PKPAnnouncementTypeForm
 display ()
 
 execute ()
 
 getLocaleFieldNames ()
 
 initData ()
 
 PKPAnnouncementTypeForm ($typeId=null)
 
 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)
 

Additional Inherited Members

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

Detailed Description

Form for journal managers to create/edit announcement types.

Form for manager to create/edit announcement types.

See Also
AnnouncementType

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

Member Function Documentation

AnnouncementTypeForm::_setAnnouncementTypeAssocId ( $announcementType)

Helper function to assign the AssocType and the AssocId

Parameters
Announcementthe announcement to be modified

Definition at line 42 of file AnnouncementTypeForm.inc.php.

References Request\getJournal().

AnnouncementTypeForm::AnnouncementTypeForm (   $typeId = null)

Constructor

Parameters
typeIdint leave as default for new announcement type

Definition at line 24 of file AnnouncementTypeForm.inc.php.

AnnouncementTypeForm::display ( )

Display the form.

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


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