silverorange Code


Site.SiteNateGoFulltextSearchResult
/Site/SiteNateGoFulltextSearchResult.php at line 12

Class SiteNateGoFulltextSearchResult

SwatObject
└─SiteNateGoFulltextSearchResult
All Implemented Interfaces:
SiteFulltextSearchResult

public class SiteNateGoFulltextSearchResult
extends SwatObject

A fulltext search result that uses NateGoSearch

Copyright:
2007 silverorange
License:
http://www.gnu.org/copyleft/lesser.html LGPL License 2.1

Field Summary
protected MDB2_Driver_Common

$db

The database.

protected NateGoSearchResult

$nate_go_result

The nate-go result object.

Constructor Summary

SiteNateGoFulltextSearchResult(MDB2_Driver_Common db, NateGoSearchResult result)

Creates a new nate-go fulltext search result.

Method Summary
void

getJoinClause(mixed id_field_name, mixed type)

void

getMisspellings()

void

getOrderByClause(mixed default_clause)

array

getSearchedWords()

Gets words that were entered and were searched for.

void

saveHistory()

Saves this search result for search statistics and tracking.

Field Detail

/Site/SiteNateGoFulltextSearchResult.php at line 22

db

protected MDB2_Driver_Common $db

The database


/Site/SiteNateGoFulltextSearchResult.php at line 29

nate_go_result

protected NateGoSearchResult $nate_go_result

The nate-go result object


Constructor Detail

/Site/SiteNateGoFulltextSearchResult.php at line 40

SiteNateGoFulltextSearchResult

public SiteNateGoFulltextSearchResult(MDB2_Driver_Common db, NateGoSearchResult result)

Creates a new nate-go fulltext search result

Parameters:
db - the database.
result - a NateGoSearchResult object.

Method Detail

/Site/SiteNateGoFulltextSearchResult.php at line 50

getJoinClause

public void getJoinClause(mixed id_field_name, mixed type)

/Site/SiteNateGoFulltextSearchResult.php at line 81

getMisspellings

public void getMisspellings()

/Site/SiteNateGoFulltextSearchResult.php at line 68

getOrderByClause

public void getOrderByClause(mixed default_clause)

/Site/SiteNateGoFulltextSearchResult.php at line 94

getSearchedWords

public array getSearchedWords()

Gets words that were entered and were searched for

Returns:
words that were entered and were searched for.

/Site/SiteNateGoFulltextSearchResult.php at line 105

saveHistory

public void saveHistory()

Saves this search result for search statistics and tracking


silverorange Code