프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$objInstance | Object instance (Singleton) |
메소드 | 설명 | |
---|---|---|
__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 ( ) : |
||
리턴 | 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 |
리턴 | The database result object |