Nextcloud PHP API (stable19)

IEntry extends JsonSerializable

Tags
since
12.0

Table of Contents

addAction()  : mixed
getAvatar()  : string|null
getEMailAddresses()  : string[]
getFullName()  : string
getProperty()  : mixed
Get an arbitrary property from the contact

Methods

addAction()

public addAction(IAction $action) : mixed
Parameters
$action : IAction

an action to show in the contacts menu

Tags
since
12.0
Return values
mixed

getAvatar()

public getAvatar() : string|null
Tags
since
12.0
Return values
string|null

image URI

getEMailAddresses()

public getEMailAddresses() : string[]
Tags
since
12.0
Return values
string[]

getFullName()

public getFullName() : string
Tags
since
12.0
Return values
string

getProperty()

Get an arbitrary property from the contact

public getProperty(string $key) : mixed
Parameters
$key : string
Tags
since
12.0
Return values
mixed

the value of the property or null

Search results