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

Public Member Functions

 _canUsePluginPath ()
 _is_writable ($filename)
 CustomThemeSettingsForm (&$plugin, $journalId)
 display ()
 execute ()
 initData ()
 readInputData ()
- 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 custom theme plugin settings.

Definition at line 18 of file

Member Function Documentation

CustomThemeSettingsForm::_canUsePluginPath ( )

Evaluate whether the plugin path is writable and available for use

Definition at line 142 of file

Referenced by display(), and execute().

CustomThemeSettingsForm::_is_writable (   $filename)

Evaluate whether a path is writable Check if the filename provided (or the parent directory, if the filename does not exist) can be written

Definition at line 150 of file

Referenced by display().

CustomThemeSettingsForm::CustomThemeSettingsForm ( $plugin,



Definition at line 31 of file

CustomThemeSettingsForm::display ( )

Display the form

Definition at line 41 of file

References _canUsePluginPath(), _is_writable(), and PKPRequest\getBaseUrl().

CustomThemeSettingsForm::execute ( )

Save settings.

Definition at line 91 of file

References _canUsePluginPath(), and Form\getData().

CustomThemeSettingsForm::initData ( )

Initialize form data.

Definition at line 68 of file

CustomThemeSettingsForm::readInputData ( )

Assign form data to user-submitted data.

Definition at line 84 of file

References Form\readUserVars().

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