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

Public Member Functions

 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)
 

Public Attributes

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

Detailed Description

Form for manager to create/edit announcement types.

See Also
PKPAnnouncementType

Definition at line 20 of file PKPAnnouncementTypeForm.inc.php.

Member Function Documentation

PKPAnnouncementTypeForm::display ( )

Display the form.

Definition at line 54 of file PKPAnnouncementTypeForm.inc.php.

PKPAnnouncementTypeForm::execute ( )

Save announcement type.

Definition at line 91 of file PKPAnnouncementTypeForm.inc.php.

PKPAnnouncementTypeForm::getLocaleFieldNames ( )

Get a list of localized field names for this form

Returns
array

Definition at line 46 of file PKPAnnouncementTypeForm.inc.php.

PKPAnnouncementTypeForm::initData ( )

Initialize form data from current announcement type.

Definition at line 64 of file PKPAnnouncementTypeForm.inc.php.

PKPAnnouncementTypeForm::PKPAnnouncementTypeForm (   $typeId = null)

Constructor

Parameters
typeIdint leave as default for new announcement type

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

PKPAnnouncementTypeForm::readInputData ( )

Assign form data to user-submitted data.

Definition at line 83 of file PKPAnnouncementTypeForm.inc.php.

Member Data Documentation

typeId PKPAnnouncementTypeForm::$typeId

int the ID of the announcement type being edited

Definition at line 25 of file PKPAnnouncementTypeForm.inc.php.


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