PHP Class CrossRefSettingsForm, ojs

Inheritance: extends Form
Show file Open project: pkp/ojs

Public Properties

Property Type Description
$_contextId integer
$_plugin CrossRefExportPlugin

Public Methods

Method Description
__construct ( $plugin, $contextId ) Constructor
_getContextId ( ) : integer Get the context ID.
_getPlugin ( ) : CrossRefExportPlugin Get the plugin.
execute ( )
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 CrossRefExportPlugin
$contextId integer

_getContextId() public method

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

_getPlugin() public method

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

execute() public method

public execute ( )

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 property

public int $_contextId
return integer

$_plugin public property

public CrossRefExportPlugin $_plugin
return CrossRefExportPlugin