wCMF  3.6
All Classes Namespaces Files Functions Variables Groups Pages
SearchController Class Reference
+ Inheritance diagram for SearchController:

Public Member Functions

 initialize (&$request, &$response)
 
 hasView ()
 
 executeKernel ()
 
 getObjects ($type, $filter, $sortArray, &$pagingInfo)
 
 modifyModel (&$nodes)
 
- Public Member Functions inherited from AsyncPagingController
 hasView ()
 
 executeKernel ()
 
 getObjects ($type, $filter, $sortArray, &$pagingInfo)
 
 getOIDs ($type, $filter, $sortArray, &$pagingInfo)
 
 getSortingProperties ()
 
 modifyModel (&$nodes)
 
 sortByRealSubject ($a, $b)
 
- Public Member Functions inherited from Controller
 Controller (&$delegate)
 
 initialize (&$request, &$response)
 
 validate ()
 
 hasView ()
 
 execute ()
 
 executeKernel ()
 
 getErrorMsg ()
 
 setErrorMsg ($msg)
 
 appendErrorMsg ($msg)
 
getRequest ()
 
getResponse ()
 
getView ()
 
getDelegate ()
 
 getViewTemplate ($controller, $context, $action)
 
 getCacheId ()
 
 assignViewDefaults (&$view)
 
 isLocalizedRequest ()
 

Public Attributes

 $FILTER_VARNAME = 'SearchController.filter'
 
 $HITS_VARNAME = 'SearchController.hits'
 
- Public Attributes inherited from AsyncPagingController
 $_sortProperties = null
 
- Public Attributes inherited from Controller
 $_request = null
 
 $_response = null
 
 $_errorMsg = ''
 
 $_view = null
 
 $_delegate = null
 

Detailed Description

SearchController is a controller that executes a search for oids and displays them in a paged list. Internally it uses Zend Lucene indexed search.

wCMF - wemove Content Management Framework Copyright (C) 2005-2014 wemove digital solutions GmbH

Licensed under the terms of any of the following licenses at your choice:

See the license.txt file distributed with this work for additional information.

Id:
class.SearchController.php 1462 2014-02-04 23:52:27Z iherwig

Input actions:

  • list Actually do the search

Output actions:

Parameters
[in,out]searchtermThe term to search for (The actual searchterm in simple search, empty in advanced search) see AsyncPagingController for additional parameters
Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 43 of file class.SearchController.php.

Member Function Documentation

SearchController::initialize ( $request,
$response 
)
See Also
Controller::initialize()

Definition at line 52 of file class.SearchController.php.

References SessionData\getInstance().

+ Here is the call graph for this function:

SearchController::hasView ( )
See Also
Controller::hasView()

Definition at line 65 of file class.SearchController.php.

SearchController::executeKernel ( )
See Also
Controller::executeKernel()

Definition at line 77 of file class.SearchController.php.

SearchController::getObjects (   $type,
  $filter,
  $sortArray,
$pagingInfo 
)
SearchController::modifyModel ( $nodes)

Modify the model passed to the view.

Parameters
nodesA reference to the array of node references passed to the view

Definition at line 144 of file class.SearchController.php.

References DATATYPE_ATTRIBUTE, SessionData\getInstance(), NodeUtil\removeNonDisplayValues(), and NodeUtil\renderValues().

+ Here is the call graph for this function:

Member Data Documentation

SearchController::$FILTER_VARNAME = 'SearchController.filter'

Definition at line 46 of file class.SearchController.php.

SearchController::$HITS_VARNAME = 'SearchController.hits'

Definition at line 47 of file class.SearchController.php.


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