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

Public Member Functions

 execute ()
 
 IndividualSubscriptionForm ($subscriptionId=null, $userId=null)
 
- 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
 $_checks
 
 $_data
 
 $_errors
 
 $_template
 
 $cssValidation
 
 $errorFields
 
 $errorsArray
 
 $formSectionErrors
 

Detailed Description

Form class for individual subscription create/edits.

Definition at line 22 of file IndividualSubscriptionForm.inc.php.

Member Function Documentation

IndividualSubscriptionForm::execute ( )

Save individual subscription.

Definition at line 69 of file IndividualSubscriptionForm.inc.php.

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

IndividualSubscriptionForm::IndividualSubscriptionForm (   $subscriptionId = null,
  $userId = null 
)

Constructor

Parameters
subscriptionIdint leave as default for new subscription

Definition at line 28 of file IndividualSubscriptionForm.inc.php.

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


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