Property | Type | Description | |
---|---|---|---|
$objInstance | Object instance (Singleton) |
Method | Description | |
---|---|---|
__clone ( ) | Prevent cloning of the object (Singleton) | |
getInstance ( ) : |
Return the object instance (Singleton) | |
indexPage ( array $arrData ) : boolean | Index a page | |
removeEntry ( string $strUrl ) | Remove an entry from the search index | |
searchFor ( string $strKeywords, boolean $blnOrSearch = false, array $arrPid = [], integer $intRows, integer $intOffset, boolean $blnFuzzy = false ) : |
Search the index and return the result object |
public static getInstance ( ) : |
||
return | The object instance |
public static removeEntry ( string $strUrl ) | ||
$strUrl | string | The URL to be removed |
public static searchFor ( string $strKeywords, boolean $blnOrSearch = false, array $arrPid = [], integer $intRows, integer $intOffset, boolean $blnFuzzy = false ) : |
||
$strKeywords | string | The keyword string |
$blnOrSearch | boolean | If true, the result can contain any keyword |
$arrPid | array | An optional array of page IDs to limit the result to |
$intRows | integer | An optional maximum number of result rows |
$intOffset | integer | An optional result offset |
$blnFuzzy | boolean | If true, the search will be fuzzy |
return | The database result object |