Nextcloud PHP API (master)

IAddress

Mail Address Interface

This interface is a base requirement of methods and functionality used to construct a mail address object

Tags
since
30.0.0

Table of Contents

Methods

getAddress()  : string
gets the mail address
getLabel()  : string
gets the mail address label/name
setAddress()  : self
sets the mail address
setLabel()  : self
sets the mail address label/name

Methods

getAddress()

gets the mail address

public getAddress() : string
Tags
since
30.0.0
Return values
string

returns the mail address

getLabel()

gets the mail address label/name

public getLabel() : string
Tags
since
30.0.0
Return values
string

returns the mail address label/name

setAddress()

sets the mail address

public setAddress(string $value) : self
Parameters
$value : string

mail address (test@example.com)

Tags
since
30.0.0
Return values
self

return this object for command chaining

setLabel()

sets the mail address label/name

public setLabel(string $value) : self
Parameters
$value : string

mail address label/name

Tags
since
30.0.0
Return values
self

return this object for command chaining


        
On this page

Search results