Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
UserInstitutionalSubscriptionForm Class Reference
Inheritance diagram for UserInstitutionalSubscriptionForm:
Form

Public Member Functions

 display ()
 
 execute ()
 
 initData ()
 
 readInputData ()
 
 UserInstitutionalSubscriptionForm ($request, $userId=null, $subscriptionId=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 user purchase of institutional subscription.

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

Member Function Documentation

UserInstitutionalSubscriptionForm::display ( )

Display the form.

Definition at line 99 of file UserInstitutionalSubscriptionForm.inc.php.

UserInstitutionalSubscriptionForm::execute ( )

Create institutional subscription.

Definition at line 161 of file UserInstitutionalSubscriptionForm.inc.php.

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

UserInstitutionalSubscriptionForm::initData ( )

Initialize form data from current subscription.

Definition at line 84 of file UserInstitutionalSubscriptionForm.inc.php.

UserInstitutionalSubscriptionForm::readInputData ( )

Assign form data to user-submitted data.

Definition at line 115 of file UserInstitutionalSubscriptionForm.inc.php.

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

UserInstitutionalSubscriptionForm::UserInstitutionalSubscriptionForm (   $request,
  $userId = null,
  $subscriptionId = null 
)

Constructor

Parameters
$requestPKPRequest
$userIdint
$subscriptionIdint

Definition at line 41 of file UserInstitutionalSubscriptionForm.inc.php.

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


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