\OCP\NotificationIAction

Interface IAction

Summary

Methods
Constants
setLabel()
getLabel()
setParsedLabel()
getParsedLabel()
setPrimary()
isPrimary()
setLink()
getLink()
getRequestType()
isValid()
isValidParsed()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

setLabel()

setLabel(string  $label) : $this

Parameters

string $label

Throws

\InvalidArgumentException

if the label is invalid

Returns

$this

getLabel()

getLabel() : string

Returns

string

setParsedLabel()

setParsedLabel(string  $label) : $this

Parameters

string $label

Throws

\InvalidArgumentException

if the label is invalid

Returns

$this

getParsedLabel()

getParsedLabel() : string

Returns

string

setPrimary()

setPrimary(  $primary) : $this

Parameters

$primary

bool

Throws

\InvalidArgumentException

if $primary is invalid

Returns

$this

isPrimary()

isPrimary() : boolean

Returns

boolean

setLink()

setLink(string  $link, string  $requestType) : $this

Parameters

string $link
string $requestType

Throws

\InvalidArgumentException

if the link is invalid

Returns

$this

getLink()

getLink() : string

Returns

string

getRequestType()

getRequestType() : string

Returns

string

isValid()

isValid() : boolean

Returns

boolean

isValidParsed()

isValidParsed() : boolean

Returns

boolean