PHP Class LuceneSettingsForm, ojs

Inheritance: extends Form
Show file Open project: pkp/ojs Class Usage Examples

Public Properties

Property Type Description
$_embeddedServer EmbeddedServer
$_plugin LucenePlugin

Public Methods

Method Description
__construct ( &$plugin, &$embeddedServer ) Constructor
_getAutosuggestTypes ( ) : array Return a list of auto-suggest types.
_getDefaultMetric ( ) : null | string Return the default metric for the current request context.
_getFormFields ( $booleanOnly = false ) : array Return the field names of this form.
_getJournalsToReindex ( ) : array Return a list of journals that can be re-indexed with a default option "all journals".
execute ( )
fetch ( $request, $template = null, $display = false )
initData ( )
readInputData ( )

Method Details

__construct() public method

Constructor
public __construct ( &$plugin, &$embeddedServer )
$plugin LucenePlugin

_getAutosuggestTypes() public method

Return a list of auto-suggest types.
public _getAutosuggestTypes ( ) : array
return array

_getDefaultMetric() public method

Return the default metric for the current request context.
public _getDefaultMetric ( ) : null | string
return null | string a metric identifier or null

_getFormFields() public method

Return the field names of this form.
public _getFormFields ( $booleanOnly = false ) : array
$booleanOnly boolean Return only binary switches.
return array

_getJournalsToReindex() public method

Return a list of journals that can be re-indexed with a default option "all journals".
public _getJournalsToReindex ( ) : array
return array An associative array of journal IDs and names.

execute() public method

See also: Form::execute()
public execute ( )

fetch() public method

See also: Form::fetch()
public fetch ( $request, $template = null, $display = false )

initData() public method

See also: Form::initData()
public initData ( )

readInputData() public method

See also: Form::readInputData()
public readInputData ( )

Property Details

$_embeddedServer public property

public EmbeddedServer $_embeddedServer
return EmbeddedServer

$_plugin public property

public LucenePlugin $_plugin
return LucenePlugin