ISearchResult
in
Interface ISearchResult
Tags
Table of Contents
Methods
- addResultSet() : mixed
- asArray() : array<string|int, mixed>
- hasExactIdMatch() : bool
- hasResult() : bool
- markExactIdMatch() : mixed
- removeCollaboratorResult() : bool
- Removes all result where $collaborationId exactly matches shareWith of any of wide and exact result matches of the given type.
- unsetResult() : mixed
Methods
addResultSet()
public
addResultSet(SearchResultType $type, array<string|int, mixed> $matches[, array<string|int, mixed>|null $exactMatches = null ]) : mixed
Parameters
- $type : SearchResultType
- $matches : array<string|int, mixed>
- $exactMatches : array<string|int, mixed>|null = null
Tags
asArray()
public
asArray() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>hasExactIdMatch()
public
hasExactIdMatch(SearchResultType $type) : bool
Parameters
- $type : SearchResultType
Tags
Return values
boolhasResult()
public
hasResult(SearchResultType $type, string $collaboratorId) : bool
Parameters
- $type : SearchResultType
- $collaboratorId : string
Tags
Return values
boolmarkExactIdMatch()
public
markExactIdMatch(SearchResultType $type) : mixed
Parameters
- $type : SearchResultType
Tags
removeCollaboratorResult()
Removes all result where $collaborationId exactly matches shareWith of any of wide and exact result matches of the given type.
public
removeCollaboratorResult(SearchResultType $type, string $collaboratorId) : bool
Parameters
- $type : SearchResultType
- $collaboratorId : string
Tags
Return values
boolunsetResult()
public
unsetResult(SearchResultType $type) : mixed
Parameters
- $type : SearchResultType