Nextcloud PHP API (master)

ISearchResult

Interface ISearchResult

Tags
since
13.0.0

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
since
13.0.0

asArray()

public asArray() : array<string|int, mixed>
Tags
since
13.0.0
Return values
array<string|int, mixed>

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
since
22.0.0
Return values
bool

        
On this page

Search results