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

Public Member Functions

 _dependentFormFieldIsSet ($fieldValue, $form, $dependentFieldName, $expectedValue=null)
 display ()
 execute ()
 getOptionalColumnsList ()
 initData ()
 readInputData ()
 UsageStatsSettingsForm (&$plugin)
- 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 modify usage statistics plugin settings.

Definition at line 18 of file

Member Function Documentation

UsageStatsSettingsForm::_dependentFormFieldIsSet (   $fieldValue,
  $expectedValue = null 

Check for the presence of dependent fields if a field value is set The Complement call will enforce a dependent value as unset if a field value is set

mixed$fieldValuethe value of the field being checked
object$forma reference to this form
string$dependentFieldNamethe name of the dependent field
mixed$expectedValueif provided, the expected value which must be in the dependent field

Definition at line 125 of file

UsageStatsSettingsForm::display ( )
UsageStatsSettingsForm::execute ( )

Save settings.

Definition at line 78 of file

References Form\getData(), and PKPRequest\getUser().

UsageStatsSettingsForm::getOptionalColumnsList ( )

Get optional columns list.


Definition at line 105 of file

References StatisticsHelper\getColumnNames().

Referenced by display().

UsageStatsSettingsForm::initData ( )

Initialize form data.

Definition at line 41 of file

References Form\setData().

UsageStatsSettingsForm::readInputData ( )

Assign form data to user-submitted data.

Definition at line 55 of file

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

UsageStatsSettingsForm::UsageStatsSettingsForm ( $plugin)



Definition at line 27 of file

References Form\addCheck().

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