PHP Class MedraSettingsForm, ojs

Inheritance: extends DOIExportSettingsForm
Mostra file Open project: pkp/ojs

Public Properties

Property Type Description
$_contextId integer
$_plugin MedraExportPlugin

Public Methods

Method Description
__construct ( $plugin, $contextId ) Constructor
_getContextId ( ) : integer Get the context ID.
_getCountries ( ) : array Return a list of countries eligible as publication countries.
_getPlugin ( ) : MedraExportPlugin Get the plugin.
execute ( )
fetch ( $request ) copydoc Form::fetch()
getFormFields ( ) : array Get form fields
initData ( )
isOptional ( $settingName ) : boolean Is the form field optional
readInputData ( )

Method Details

__construct() public method

Constructor
public __construct ( $plugin, $contextId )
$plugin MedraExportPlugin
$contextId integer

_getContextId() public method

Get the context ID.
public _getContextId ( ) : integer
return integer

_getCountries() public method

Return a list of countries eligible as publication countries.
public _getCountries ( ) : array
return array

_getPlugin() public method

Get the plugin.
public _getPlugin ( ) : MedraExportPlugin
return MedraExportPlugin

execute() public method

public execute ( )

fetch() public method

copydoc Form::fetch()
public fetch ( $request )

getFormFields() public method

Get form fields
public getFormFields ( ) : array
return array (field name => field type)

initData() public method

public initData ( )

isOptional() public method

Is the form field optional
public isOptional ( $settingName ) : boolean
$settingName string
return boolean

readInputData() public method

public readInputData ( )

Property Details

$_contextId public_oe property

public int $_contextId
return integer

$_plugin public_oe property

public MedraExportPlugin $_plugin
return MedraExportPlugin