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

Public Member Functions

 display ()
 execute ()
 getLocaleFieldNames ()
 initData ()
 readInputData ()
 SubscriptionTypeForm ($typeId=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 for journal managers to create/edit subscription types.

Definition at line 18 of file

Member Function Documentation

SubscriptionTypeForm::display ( )

Display the form.

Definition at line 93 of file

SubscriptionTypeForm::execute ( )

Save subscription type.

Definition at line 147 of file

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

SubscriptionTypeForm::getLocaleFieldNames ( )

Get a list of localized field names for this form


Definition at line 85 of file

References DAORegistry\getDAO().

SubscriptionTypeForm::initData ( )

Initialize form data from current subscription type.

Definition at line 106 of file

References DAORegistry\getDAO().

SubscriptionTypeForm::readInputData ( )

Assign form data to user-submitted data.

Definition at line 134 of file

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

SubscriptionTypeForm::SubscriptionTypeForm (   $typeId = null)


typeIdint leave as default for new subscription type

Definition at line 32 of file

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

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