PHP Class SearchHandler, ojs

Inheritance: extends Handler
Exibir arquivo Open project: pkp/ojs Class Usage Examples

Public Methods

Method Description
__construct ( ) Constructor
_assignSearchFilters ( $request, &$templateMgr, $searchFilters ) Private function to transmit current filter values to the template.
authorize ( $request, &$args, $roleAssignments )
authors ( $args, $request ) Show index of published articles by author.
index ( $args, $request ) Show the search form
search ( $args, $request ) Show the search form
setupTemplate ( $request ) Setup common template variables.
similarDocuments ( $args, &$request ) Redirect to a search query that shows documents similar to the one identified by an article id in the request.

Method Details

__construct() public method

Constructor
public __construct ( )

_assignSearchFilters() public method

Private function to transmit current filter values to the template.
public _assignSearchFilters ( $request, &$templateMgr, $searchFilters )
$request PKPRequest
$templateMgr TemplateManager
$searchFilters array

authorize() public method

public authorize ( $request, &$args, $roleAssignments )

authors() public method

Show index of published articles by author.
public authors ( $args, $request )
$args array
$request PKPRequest

index() public method

Show the search form
public index ( $args, $request )
$args array
$request PKPRequest

setupTemplate() public method

Setup common template variables.
public setupTemplate ( $request )
$request PKPRequest

similarDocuments() public method

Redirect to a search query that shows documents similar to the one identified by an article id in the request.
public similarDocuments ( $args, &$request )
$args array
$request Request