PHP Class rebuildSearchIndex, ojs

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

Public Methods

Method Description
__construct ( $argv ) Constructor
callbackBaseUrl ( $hookName, &$params ) Callback to patch the base URL which will be required when constructing galley/supp file download URLs.
execute ( ) Rebuild the search index for all articles in all journals.
usage ( ) Print command usage information.

Method Details

__construct() public method

Constructor
public __construct ( $argv )
$argv array

callbackBaseUrl() public method

Callback to patch the base URL which will be required when constructing galley/supp file download URLs.
See also: PKPRequest::getBaseUrl()
public callbackBaseUrl ( $hookName, &$params )

execute() public method

Rebuild the search index for all articles in all journals.
public execute ( )

usage() public method

Print command usage information.
public usage ( )