SearchQuery class
Class represents a search query.
Method | Description | Available from version |
---|---|---|
getQuery(): string | Returns full serach query. | |
getQueryWords(): array | Returns search query as individual words. | |
setCacheable(bool $flag = true) | Sets or cancels query caching from JavaScript-dialog. By default, dialog deems that provider sends all data as per specified search string. For example, if provider returns data using a "John" word, then the dialog won't be making a backend query for the word "Smith". | |
isCacheable(): bool | Returns true when query is cached from the JavaScript-dialog.
|
© «Bitrix24», 2001-2024