SearchIndex
Class SearchIndex
Table of Contents
Methods
- getTaskSearchIndex() : string
- prepareStringToSearch() : string
- runFullTasksIndexing() : void
- Run stepper for full task's indexing (includes indexes of tasks and their comments).
- setCommentSearchIndex() : void
- setTaskSearchIndex() : void
- transferTaskSearchIndex() : void
Methods
getTaskSearchIndex()
public
static getTaskSearchIndex(int $taskId) : string
Parameters
- $taskId : int
Tags
Return values
stringprepareStringToSearch()
public
static prepareStringToSearch(string $index[, bool $isFullTextIndexEnabled = true ]) : string
Parameters
- $index : string
- $isFullTextIndexEnabled : bool = true
Return values
stringrunFullTasksIndexing()
Run stepper for full task's indexing (includes indexes of tasks and their comments).
public
static runFullTasksIndexing() : void
setCommentSearchIndex()
public
static setCommentSearchIndex(int $taskId, int $commentId, string $commentText) : void
Parameters
- $taskId : int
- $commentId : int
- $commentText : string
setTaskSearchIndex()
public
static setTaskSearchIndex(int $taskId) : void
Parameters
- $taskId : int
transferTaskSearchIndex()
public
static transferTaskSearchIndex(int $taskId[, string $searchIndex = '' ]) : void
Transfer task's search index record to b_tasks_search_index. Method is deprecated and only used for stepper purposes.
Parameters
- $taskId : int
- $searchIndex : string = ''