Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
SearchHandler Class Reference
Inheritance diagram for SearchHandler:
Handler PKPHandler

Public Member Functions

 _assignSearchFilters (&$request, &$templateMgr, $searchFilters)
 
 authors ($args, &$request)
 
 categories ($args, &$request)
 
 category ($args, &$request)
 
 index ($args, &$request)
 
 search ($args, &$request)
 
 SearchHandler ()
 
 setupTemplate ($request, $subclass=false, $op= 'index')
 
 titles ($args, &$request)
 
- Public Member Functions inherited from PKPHandler
 addCheck (&$handlerValidator)
 
 addPolicy (&$authorizationPolicy, $addToTop=false)
 
 addRoleAssignment ($roleIds, $operations)
 
 authorize (&$request, &$args, $roleAssignments)
 
getAuthorizedContext ()
 
getAuthorizedContextObject ($assocType)
 
getDispatcher ()
 
 getId ()
 
 getLastAuthorizationMessage ()
 
 getLoginExemptions ()
 
getRangeInfo ($rangeName, $contextData=null)
 
 getRoleAssignment ($roleId)
 
 getRoleAssignments ()
 
 hashPageContext ($contextData=array())
 
 index ()
 
 initialize (&$request, $args=null)
 
 PKPHandler ()
 
 setDispatcher (&$dispatcher)
 
 setId ($id)
 
 validate ($requiredContexts=null, $request=null)
 

Detailed Description

Handle site index requests.

Definition at line 19 of file SearchHandler.inc.php.

Member Function Documentation

SearchHandler::_assignSearchFilters ( $request,
$templateMgr,
  $searchFilters 
)

Private function to transmit current filter values to the template.

Parameters
$requestPKPRequest
$templateMgrTemplateManager
$searchFiltersarray

Definition at line 45 of file SearchHandler.inc.php.

References DAORegistry\getDAO().

Referenced by search().

SearchHandler::authors (   $args,
$request 
)
SearchHandler::categories (   $args,
$request 
)

Display categories.

Parameters
$argsarray
$requestPKPRequest

Definition at line 282 of file SearchHandler.inc.php.

References DAORegistry\getDAO(), setupTemplate(), and PKPHandler\validate().

SearchHandler::category (   $args,
$request 
)

Display category contents.

Parameters
$argsarray
$requestPKPRequest

Definition at line 309 of file SearchHandler.inc.php.

References DAORegistry\getDAO(), Config\getVar(), setupTemplate(), and PKPHandler\validate().

SearchHandler::index (   $args,
$request 
)

Show the search form

Parameters
$argsarray
$requestPKPRequest

Definition at line 33 of file SearchHandler.inc.php.

References search(), and PKPHandler\validate().

SearchHandler::search (   $args,
$request 
)
SearchHandler::SearchHandler ( )

Constructor

Definition at line 23 of file SearchHandler.inc.php.

References PKPHandler\addCheck(), and Request\getJournal().

SearchHandler::setupTemplate (   $request,
  $subclass = false,
  $op = 'index' 
)

Setup common template variables.

Parameters
$requestPKPRequest
$subclassboolean set to true if caller is below this handler in the hierarchy
$opstring Current operation (for breadcrumb construction)

Definition at line 344 of file SearchHandler.inc.php.

Referenced by authors(), categories(), category(), search(), and titles().

SearchHandler::titles (   $args,
$request 
)

Show index of published articles by title.

Parameters
$argsarray
$requestPKPRequest

Definition at line 256 of file SearchHandler.inc.php.

References ArticleSearch\formatResults(), DAORegistry\getDAO(), PKPHandler\getRangeInfo(), setupTemplate(), and PKPHandler\validate().


The documentation for this class was generated from the following file: