[ Index ]

PHP Cross Reference of Joomla 2.5.4 DE

title

Body

[close]

/administrator/components/com_search/helpers/ -> search.php (summary)

(no description)

Copyright: Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 237 lines (6 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

SearchHelper:: (8 methods):
  addSubmenu()
  getActions()
  santiseSearchWord()
  limitSearchWord()
  logSearch()
  prepareSearchContent()
  checkNoHtml()
  _smartSubstr()


Class: SearchHelper  - X-Ref

Search component helper.

addSubmenu($vName)   X-Ref
Configure the Linkbar.

param: string    The name of the active view.

getActions()   X-Ref
Gets a list of the actions that can be performed.

return: JObject

santiseSearchWord(&$searchword, $searchphrase)   X-Ref
No description

limitSearchWord(&$searchword)   X-Ref
No description

logSearch($search_term)   X-Ref
No description

prepareSearchContent($text, $searchword)   X-Ref
Prepares results from search for display

param: string The source string
param: string The searchword to select around
return: string

checkNoHtml($object, $searchTerm, $fields)   X-Ref
Checks an object for search terms (after stripping fields of HTML)

returns: boolean True if searchTerm is in object, false otherwise
param: object The object to check
param: string Search words to check for
param: array List of object variables to check against

_smartSubstr($text, $searchword)   X-Ref
returns substring of characters around a searchword

param: string The source string
param: int Number of chars to return
param: string The searchword to select around
return: string



Generated: Tue Apr 3 11:40:28 2012 Cross-referenced by PHPXref 0.7.1