|
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(). |