[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

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

(no description)

Copyright: Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
License: GNU/GPL, see LICENSE.php
Version: $Id: search.php 14401 2010-01-26 14:10:00Z louis $
File Size: 204 lines (6 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

SearchHelper:: (6 methods):
  santiseSearchWord()
  limitSearchWord()
  logSearch()
  prepareSearchContent()
  checkNoHtml()
  _smartSubstr()


Class: SearchHelper  - X-Ref


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

limitSearchWord(&$searchword)   X-Ref
No description

logSearch( $search_term )   X-Ref
No description

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

param: string The source string
param: int Number of chars to trim
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, $length = 200, $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: Wed Mar 28 15:54:07 2012 Cross-referenced by PHPXref 0.7.1