PHP Classes


Recommend this page to a friend!
  Classes of Richard Carson   Ssearch   README   Download  
Role: Documentation
Content type: text/plain
Description: Documentation
Class: Ssearch
Search and rank text results in an array
Author: By
Last change: Rename
Date: 9 years ago
Size: 420 bytes


Class file image Download
libPhonetiq is copyright of Richard Carson, 2014 and is released under V3 of the GPL Before starting a search, the begin($query) function must be called with a search query as it's argument. Afterwords, call next($row) for each row in which you wish to search. $row must be an array of strings. When you call next() on a row, it will return either a score, or false if that score is too low to be included in results.