Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

TranslationString::FindText findText = "",
localeID = 0,
findOriginal,
start = 0,
limit = 100
 

Find strings based on part of the string.

Can find in both Original string and Translation, uses LIKE string% match for the select. There is no percentage data returned from this function, otherwise the array is the same like in FindSimilar().

Parameters:
$findText The sentence or text to find, if emtpy, uses this object's Original o Translation.
$localeID Find strings only in this locale.
$findOriginal bool: true finds in Original strings, false finds in Translations.
$start int: Start at this result entry (for paging).
$limit int: Limit search results to this number.
Returns:
Array of matches of ID subarrays of TranslationStrings.

Definition at line 505 of file TranslationString.php.

References $DB, fixstr(), GetDbConn(), and GetTables().


Generated on Sat Apr 22 16:49:54 2006 for XarayaTranslationMemory by  doxygen 1.4.4