silverorange Code


Site.SiteArticleSearchEngine
/Site/SiteArticleSearchEngine.php at line 13

Class SiteArticleSearchEngine

SwatObject
└─SiteSearchEngine
└─SiteArticleSearchEngine

public class SiteArticleSearchEngine
extends SiteSearchEngine

An article search engine

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

Fields inherited from Site.SiteSearchEngine
app, fulltext_result, order_by_fields, result_count_cache
Method Summary
protected string

getFromClause()

Retrieve the SQL FROM clause to query results with.

protected string

getOrderByClause()

Gets the SQL order by clause to query results with.

protected string

getResultWrapperClass()

Retrieve the name of the wrapper class to use for results.

protected string

getSelectClause()

Retrieve the SQL SELECT clause to query results with.

protected string

getWhereClause()

Retrieve the SQL WHERE clause to query results with.

Methods inherited from Site.SiteSearchEngine
addOrderByField, getFromClause, getLimitClause, getOffsetClause, getOrderByClause, getPublicProperties, getResultCount, getResultWrapperClass, getSearchParameterHash, getSearchSummary, getSelectClause, getWhereClause, queryResultCount, queryResults, search, setFulltextResult

Method Detail

/Site/SiteArticleSearchEngine.php at line 37

getFromClause

protected string getFromClause()

Retrieve the SQL FROM clause to query results with

Returns:
the SQL clause.

/Site/SiteArticleSearchEngine.php at line 63

getOrderByClause

protected string getOrderByClause()

Gets the SQL order by clause to query results with

Returns:
the SQL order by clause.
See Also:
SiteSearchEngine::addOrderByField()

/Site/SiteArticleSearchEngine.php at line 17

getResultWrapperClass

protected string getResultWrapperClass()

Retrieve the name of the wrapper class to use for results

Returns:
the name of the result wrapper class.

/Site/SiteArticleSearchEngine.php at line 27

getSelectClause

protected string getSelectClause()

Retrieve the SQL SELECT clause to query results with

Returns:
the SQL clause.

/Site/SiteArticleSearchEngine.php at line 52

getWhereClause

protected string getWhereClause()

Retrieve the SQL WHERE clause to query results with

Returns:
the SQL clause.

silverorange Code