Nextcloud PHP API (master)

IContactsStore

Tags
since
13.0.0

Table of Contents

Methods

findOne()  : IEntry|null
getContacts()  : array<string|int, IEntry>

Methods

findOne()

public findOne(IUser $user, int $shareType, string $shareWith) : IEntry|null
Parameters
$user : IUser
$shareType : int
$shareWith : string
Tags
brief

finds a contact by specifying the property to search on ($shareType) and the value ($shareWith)

since
13.0.0
Return values
IEntry|null

getContacts()

public getContacts(IUser $user, string|null $filter[, int|null $limit = null ][, int|null $offset = null ]) : array<string|int, IEntry>
Parameters
$user : IUser
$filter : string|null
$limit : int|null = null

added 19.0.2

$offset : int|null = null

added 19.0.2

Tags
since
13.0.0
Return values
array<string|int, IEntry>

        
On this page

Search results