Open Journal Systems  3.3.0
MarkupProfileSettingsForm Class Reference
Inheritance diagram for MarkupProfileSettingsForm:
Form

Public Member Functions

 __construct ($plugin, $journalId)
 
 execute (... $functionArgs)
 
 fetch ($request)
 
 initData ()
 
 readInputData ()
 
 validate ()
 
- Public Member Functions inherited from Form
 __construct ($template=null, $callHooks=true, $requiredLocale=null, $supportedLocales=null)
 
 _decomposeArray ($name, $value, $stack)
 
 addCheck ($formValidator)
 
 addError ($field, $message)
 
 addErrorField ($field)
 
 addSupportedFormLocale ($supportedLocale)
 
 display ($request=null, $template=null)
 
 fetch ($request, $template=null, $display=false)
 
 getData ($key)
 
 getDefaultFormLocale ()
 
 getErrorsArray ()
 
 getLocaleFieldNames ()
 
 getRequiredLocale ()
 
 getTemplate ()
 
 isValid ()
 
 readUserVars ($vars)
 
 setData ($key, $value=null)
 
 setDefaultFormLocale ($defaultLocale)
 
 setTemplate ($template)
 
 validate ($callHooks=true)
 

Protected Attributes

 $_journalId
 
 $_plugin
 
 $_settings
 

Additional Inherited Members

- Data Fields inherited from Form
 $_checks
 
 $_data
 
 $_errors
 
 $_template
 
 $cssValidation
 
 $defaultLocale
 
 $errorFields
 
 $errorsArray
 
 $formSectionErrors
 
 $requiredLocale
 
 $supportedLocales
 

Detailed Description

Form for Document Markup XML service credential settings from user profile.

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

Constructor & Destructor Documentation

◆ __construct()

MarkupProfileSettingsForm::__construct (   $plugin,
  $journalId 
)

Constructor

Parameters
$pluginmixed Plugin object
$journalIdint JournalId

Definition at line 43 of file MarkupProfileSettingsForm.inc.php.

Member Function Documentation

◆ execute()

MarkupProfileSettingsForm::execute (   $functionArgs)

Execute the form's action. (Note that it is assumed that the form has already been validated.)

Parameters
mixed$functionArgs,...Arguments from the caller to be passed to the hook consumer
Returns
mixed Result from the consumer to be passed to the caller. Send a true-ish result if you want the caller to do something with the return value.

Reimplemented from Form.

Definition at line 113 of file MarkupProfileSettingsForm.inc.php.

References $_plugin, and Form\getData().

◆ fetch()

MarkupProfileSettingsForm::fetch (   $request)

◆ initData()

MarkupProfileSettingsForm::initData ( )

Initialize plugin settings form

Returns
void

Reimplemented from Form.

Definition at line 61 of file MarkupProfileSettingsForm.inc.php.

References $_plugin, and Form\setData().

◆ readInputData()

MarkupProfileSettingsForm::readInputData ( )

Assign form data to user-submitted data

Returns
void

Reimplemented from Form.

Definition at line 75 of file MarkupProfileSettingsForm.inc.php.

References Form\readUserVars().

◆ validate()

MarkupProfileSettingsForm::validate ( )

Validate the form

Returns
bool Whether or not the form validated

Definition at line 89 of file MarkupProfileSettingsForm.inc.php.

References Form\addCheck().

Field Documentation

◆ $_journalId

$journalId MarkupProfileSettingsForm::$_journalId
protected

int

Definition at line 24 of file MarkupProfileSettingsForm.inc.php.

◆ $_plugin

$plugin MarkupProfileSettingsForm::$_plugin
protected

object

Definition at line 30 of file MarkupProfileSettingsForm.inc.php.

Referenced by execute(), and initData().

◆ $_settings

$settings MarkupProfileSettingsForm::$_settings
protected

array

Definition at line 36 of file MarkupProfileSettingsForm.inc.php.


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