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

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
 $_checks
 
 $_data
 
 $_errors
 
 $_template
 
 $cssValidation
 
 $errorFields
 
 $errorsArray
 
 $formSectionErrors
 

Detailed Description

Form for journal managers to modify custom theme plugin settings.

Definition at line 18 of file CustomThemeSettingsForm.inc.php.

Member Function Documentation

CustomThemeSettingsForm::_canUsePluginPath ( )

Evaluate whether the plugin path is writable and available for use

Definition at line 142 of file CustomThemeSettingsForm.inc.php.

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 CustomThemeSettingsForm.inc.php.

Referenced by display().

CustomThemeSettingsForm::CustomThemeSettingsForm ( $plugin,
  $journalId 
)

Constructor

Parameters
$pluginobject
$journalIdint

Definition at line 31 of file CustomThemeSettingsForm.inc.php.

CustomThemeSettingsForm::display ( )

Display the form

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

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

CustomThemeSettingsForm::execute ( )

Save settings.

Definition at line 91 of file CustomThemeSettingsForm.inc.php.

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

CustomThemeSettingsForm::initData ( )

Initialize form data.

Definition at line 68 of file CustomThemeSettingsForm.inc.php.

CustomThemeSettingsForm::readInputData ( )

Assign form data to user-submitted data.

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

References Form\readUserVars().


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