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

Public Member Functions

 _setAnnouncementTypeAssocId ($announcementType)
 
 AnnouncementTypeForm ($pressId, $announcementTypeId=null)
 
 fetch ($request)
 
- 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)
 

Public Attributes

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

Detailed Description

Form for to read/create/edit announcement types.

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

Member Function Documentation

AnnouncementTypeForm::_setAnnouncementTypeAssocId (   $announcementType)

Helper function to assign the AssocType and the AssocId

Parameters
AnnouncementTypethe announcement type to be modified

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

AnnouncementTypeForm::AnnouncementTypeForm (   $pressId,
  $announcementTypeId = null 
)

Constructor

Parameters
$pressIdint
$announcementTypeIdint leave as default for new announcement

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

AnnouncementTypeForm::fetch (   $request)
See Also
Form::fetch()
Parameters
$requestPKPRequest

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

Member Data Documentation

$pressId AnnouncementTypeForm::$pressId

int

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


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