Open Journal Systems  2.4.8
 All Classes Namespaces Functions Variables Groups Pages
InstitutionalSubscriptionForm Class Reference
Inheritance diagram for InstitutionalSubscriptionForm:
SubscriptionForm Form

Public Member Functions

 execute ()
 initData ()
 InstitutionalSubscriptionForm ($subscriptionId=null, $userId=null)
 readInputData ()
- Public Member Functions inherited from SubscriptionForm
_prepareNotificationEmail ($mailTemplateKey)
 display ()
 execute ()
 initData ()
 readInputData ()
 SubscriptionForm ($subscriptionId=null, $userId=null)
- 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 class for institutional subscription create/edits.

Definition at line 22 of file

Member Function Documentation

InstitutionalSubscriptionForm::execute ( )

Save institutional subscription.

Definition at line 134 of file

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

InstitutionalSubscriptionForm::initData ( )

Initialize form data from current subscription.

Definition at line 71 of file

InstitutionalSubscriptionForm::InstitutionalSubscriptionForm (   $subscriptionId = null,
  $userId = null 


subscriptionIdint leave as default for new subscription

Definition at line 27 of file

References Form\addCheck(), Form\addError(), Form\addErrorField(), DAORegistry\getDAO(), and Request\getJournal().

InstitutionalSubscriptionForm::readInputData ( )

Assign form data to user-submitted data.

Definition at line 90 of file

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

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