Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
ContextSettingsForm Class Reference
Inheritance diagram for ContextSettingsForm:
Form AffiliationForm AnnouncementSettingsForm AppearanceForm ArchivingForm ContactForm ContextIndexingForm EmailTemplatesForm GuidelinesForm InformationForm MastheadForm PaymentMethodForm PoliciesForm ProductionStageForm SiteAccessOptionsForm SubmissionStageForm

Public Member Functions

 ContextSettingsForm ($settings, $template, $wizardMode)
 
 execute ($request)
 
 fetch ($request, $params=null)
 
 getSettings ()
 
 getWizardMode ()
 
 initData ($request)
 
 readInputData ($request)
 
 setSettings ($settings)
 
 setWizardMode ($wizardMode)
 
- 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
 
 $requiredLocale
 
 $supportedLocales
 

Detailed Description

Base class for forms that manage context settings data.

Definition at line 20 of file ContextSettingsForm.inc.php.

Member Function Documentation

ContextSettingsForm::ContextSettingsForm (   $settings,
  $template,
  $wizardMode 
)

Constructor.

Parameters
$templatestring The form template file.
$settingsarray An associative array with the setting names as keys and associated types as values.
$wizardModeboolean Whether or not to display in wizard mode

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

ContextSettingsForm::execute (   $request)
See Also
Form::execute()
Parameters
$requestPKPRequest

Definition at line 128 of file ContextSettingsForm.inc.php.

References Form\getLocaleFieldNames().

ContextSettingsForm::fetch (   $request,
  $params = null 
)
See Also
Form::fetch()
Parameters
$requestPKPRequest
$paramsarray optional

Definition at line 110 of file ContextSettingsForm.inc.php.

ContextSettingsForm::getSettings ( )

Get settings array.

Returns
array

Definition at line 72 of file ContextSettingsForm.inc.php.

ContextSettingsForm::getWizardMode ( )

Get if the current form is in wizard mode (hide advanced settings).

Returns
boolean

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

Referenced by ContactForm\ContactForm().

ContextSettingsForm::initData (   $request)

Initialize form data for a new form.

Parameters
$requestRequest

Definition at line 92 of file ContextSettingsForm.inc.php.

ContextSettingsForm::readInputData (   $request)
See Also
Form::readInputData()
Parameters
$requestPKPRequest

Definition at line 101 of file ContextSettingsForm.inc.php.

ContextSettingsForm::setSettings (   $settings)

Set settings array.

Parameters
$settingsarray

Definition at line 80 of file ContextSettingsForm.inc.php.

ContextSettingsForm::setWizardMode (   $wizardMode)

Set if the current form is in wizard mode (hide advanced settings).

Parameters
$wizardModeboolean

Definition at line 64 of file ContextSettingsForm.inc.php.


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