Nextcloud PHP API (stable18)

IAction

Interface IAction

Tags
since
9.0.0

Table of Contents

TYPE_DELETE  = 'DELETE'
TYPE_GET  = 'GET'
TYPE_POST  = 'POST'
TYPE_PUT  = 'PUT'
TYPE_WEB  = 'WEB'
getLabel()  : string
getLink()  : string
getParsedLabel()  : string
getRequestType()  : string
isPrimary()  : bool
isValid()  : bool
isValidParsed()  : bool
setLabel()  : $this
setLink()  : $this
setParsedLabel()  : $this
setPrimary()  : $this

Constants

TYPE_DELETE

public mixed TYPE_DELETE = 'DELETE'
Tags
since
17.0.0

TYPE_GET

public mixed TYPE_GET = 'GET'
Tags
since
17.0.0

TYPE_POST

public mixed TYPE_POST = 'POST'
Tags
since
17.0.0

TYPE_PUT

public mixed TYPE_PUT = 'PUT'
Tags
since
17.0.0

TYPE_WEB

public mixed TYPE_WEB = 'WEB'
Tags
since
17.0.0

Methods

getLabel()

public getLabel() : string
Tags
since
9.0.0
Return values
string
public getLink() : string
Tags
since
9.0.0
Return values
string

getParsedLabel()

public getParsedLabel() : string
Tags
since
9.0.0
Return values
string

getRequestType()

public getRequestType() : string
Tags
since
9.0.0
Return values
string

isPrimary()

public isPrimary() : bool
Tags
since
9.0.0
Return values
bool

isValid()

public isValid() : bool
Tags
since
9.0.0
Return values
bool

isValidParsed()

public isValidParsed() : bool
Tags
since
9.0.0
Return values
bool

setLabel()

public setLabel(string $label) : $this
Parameters
$label : string
Tags
throws
InvalidArgumentException

if the label is invalid

since
9.0.0
Return values
$this
public setLink(string $link, string $requestType) : $this
Parameters
$link : string
$requestType : string
Tags
throws
InvalidArgumentException

if the link is invalid

since
9.0.0
Return values
$this

setParsedLabel()

public setParsedLabel(string $label) : $this
Parameters
$label : string
Tags
throws
InvalidArgumentException

if the label is invalid

since
9.0.0
Return values
$this

setPrimary()

public setPrimary(bool $primary) : $this
Parameters
$primary : bool
Tags
throws
InvalidArgumentException

if $primary is invalid

since
9.0.0
Return values
$this

Search results